Skip to Content

Newsfeeds

Don't Miss: A postmortem look at how Blizzard built Diablo II

Social/Online Games - Gamasutra - 7 November 2014 - 11:44am

Diablo II executive producer Erich Schaefer details what went right -- and wrong -- during development of what became one of Blizzard's most impactful games. ...

Categories: Game Theory & Design

Learn how thatgamecompany recruits top talent at GDC 2015

Social/Online Games - Gamasutra - 7 November 2014 - 9:54am

Thatgamecompany's Sunni Pavlovic has a truckload of experience finding and retaining top game dev talent, and she's coming to GDC 2015 to explain how she does it -- and how you can do it too. ...

Categories: Game Theory & Design

GDC's Experimental Gameplay Workshop needs your crazy prototypes

Social/Online Games - Gamasutra - 7 November 2014 - 9:25am

The perennially popular Experimental Gameplay Workshop returns to GDC in 2015, and the event's organizers have issued a call for submissions of new "experimental" video games and prototypes. ...

Categories: Game Theory & Design

Deeson: Using PhpStorm's Live Templates for t functions

Planet Drupal - 7 November 2014 - 9:00am

At Deeson's PhpStorm is our IDE of choice. Working with PhpStorm's Live Templates can save you some valueable time. In this post I'll show you how to use Live Templates to surround strings in simple t functions in template files.

Live templates

PhpStorm’s Live Templates are chunks of code which can be quickly inserted into a file. Surround Live Templates allow you to select a piece of text and surround it with template.

Drupal's t function

It's Drupal best practice to wrap all strings in a t function - this allow the sting to be translated. In a template file this looks like:

<span><?php print t('This is good Practice'); ?></span>

On most sites there will be hundreds of these strings, so anything that can shave off time will be worthwhile.

Take a look

Here’s an example of Surround Live Templates in action. It’s quick and easy to surround a string with a simple t function.

PhpStorm Live Templates and T function

Shortcuts

To show the Surround Live Template list on Macs use Cmd+Alt+J and if you are on a Windows machine use Ctrl+Alt+J.

Setting up Live Templates

To set up a Surround Live Template, go to Preferences > Live Templates and click the plus symbol in the top right of the window.

A Surround Live Template needs to have ‘$SELECTION$’ in it, which is replaced with the selected text. The template also need to be available in the correct contexts.

Here's one I prepared earlier...

Have a go

To set up this T string Surround Live Template, the template text needs to be:

<?php print t('$SELECTION$'); ?>

It needs to be applicable in the ‘HTML’ context.

That’s it! You should now be able to use the template. Let us know if you've got any PhpStorm tips too.

Categories: Drupal

Disney Infinity leads full-year turnaround at Disney Interactive

Social/Online Games - Gamasutra - 7 November 2014 - 8:15am

The success of video game/figurine hybrid franchise Disney Infinity led Disney Interactive to full-year profits, Disney announced this week. ...

Categories: Game Theory & Design

PlayStation 3, Metal Gear remain key drivers in Konami financials

Social/Online Games - Gamasutra - 7 November 2014 - 7:39am

Metal Gear Solid publisher Konami announced this week sales of 98.7 billion yen ($861 million) for the six months ended September 30, virtually flat year-on-year. ...

Categories: Game Theory & Design

Drupal.org frontpage posts for the Drupal planet: Drupal 7.33 released

Planet Drupal - 7 November 2014 - 7:37am

Drupal 7.33, a maintenance release with numerous bug fixes (no security fixes) is now available for download. See the Drupal 7.33 release notes for a full listing.

Download Drupal 7.33

Upgrading your existing Drupal 7 sites is recommended. There are no major new features in this release. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 7 includes the built-in Update Manager module, which informs you about important updates to your modules and themes.

There are no security fixes in this release of Drupal core.

Bug reports

Drupal 7.x is being maintained, so given enough bug fixes (not just bug reports), more maintenance releases will be made available, according to our monthly release cycle.

Changelog

Drupal 7.33 contains bug fixes and small API/feature improvements only. The full list of changes between the 7.32 and 7.33 releases can be found by reading the 7.33 release notes. A complete list of all bug fixes in the stable 7.x branch can be found in the git commit log.

Update notes

See the 7.33 release notes for details on important changes in this release.

Known issues

None.

Front page news: Planet DrupalDrupal version: Drupal 7.x
Categories: Drupal

Code Karate: Drupal 7 Exclude Node Title Module

Planet Drupal - 7 November 2014 - 4:37am
Episode Number: 177

Have you ever had to try to hide a title on a page in Drupal? Maybe you created a page to be your front page and don't want the Node title to show up. The Exclude Node Title module makes this situation or any other situation in which you need to hide a node title, as simple as a few clicks of the mouse.

Tags: DrupalDrupal 7Drupal Planet
Categories: Drupal

Message notify logger

New Drupal Modules - 7 November 2014 - 3:54am

This provides some verbose logging for the Message Notify module.

It will log message sending to the DB.

You need the following two forks in the message stack to make this logging work:

Categories: Drupal

A new study suggests shy players use online games to make friends

Social/Online Games - Gamasutra - 7 November 2014 - 3:49am

"Emotionally sensitive users are using the online gaming environment differently from their counterparts. ... they were able to make more friends through online video games." ...

Categories: Game Theory & Design

Append File Info

New Drupal Modules - 7 November 2014 - 3:25am

Adds file info (file type icon, extension, size) to local managed file links.

This module offers a filter called "Append File Info Filter" which adds file info to any Media links (ie. media/3), File Entity links (ie. file/3) and Drupal core File links (ie. sites/default/files/example.pdf).

It also offers a theme override which adds this information to themed file links.

Categories: Drupal

The Evolution of the Video Game Market -- Rentals - by Ulyana Chernyak

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
Continuing our look at how the video game market has changed, we turn to renting games and how it rose, fall and then changed for modern audiences.
Categories: Game Theory & Design

Game Connection Europe 2014: speak softly, and carry a big stick. - by Jedrzej Czarnota

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
Here is the account of what transpired at Game Connection Europe 2014 in Paris. The article contains observations and reflections on the games industry, as well as the direction of its development, from the perspective of small and medium enterprises.
Categories: Game Theory & Design

Using Scrum to design player emotions - by Filip Wiltgren

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
Scrum is a great tool for game design. And if you’re willing to bend the rules of Scrum a bit it becomes a fantastic tool to set, analyze and refine player experiences. It also leads to a player-centric design strategy.
Categories: Game Theory & Design

The Musical Box #17: Silent horror - by Marcelo Martins

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
The Musical Box features 30 articles focusing on game music production and implementation. Edition #17: Dead Space 2
Categories: Game Theory & Design

Setting Realistic Deadlines, Family, and Soup - by Thomas Henshell

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
You aren't truly indie unless you are trying to hit a deadline while making soup! (Recipe included.)
Categories: Game Theory & Design

Freeware Critical Games - by James Cox

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
Questioning current conventions and forms is good for expanding a medium; critical videogames are an interactive way of doing this. This post briefly outlines one take on critical games and offers 12 short form freeware examples.
Categories: Game Theory & Design

Thinking HTML5 with castle walls and moats - by Ben Chong

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
A fresh approach to thinking with HTML5 based games
Categories: Game Theory & Design

How Sound Should Sound: Deux Ex: Human Revolution: Matching visual and sonic aesthetics - by Eden Morrison

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
A discussion of the matching visual and sonic aesthetics of Deus Ex: Human Revolution
Categories: Game Theory & Design

The Musical Box #18: Music for Shopping - by Marcelo Martins

Gamasutra.com Blogs - 6 November 2014 - 10:25pm
The Musical Box features 30 articles focusing on game music production and implementation. Edition #18: The Legend of Zelda: Skyward Sword
Categories: Game Theory & Design
Syndicate content


Google+
about seo