What did we do wrong?
Three things, we embedded text in the code, we embedded text in images, and we created interfaces that can't adapt to languages that require more space. These all seem like simple problems to anticipate, but it's easy to neglect them when you're coding in a hurry, or developing something for "fun".How are we fixing it?
The artist-made text merged with the background looks great, but good luck translating it. |
If the English just fits, you know you have no chance in German. |
What will we do in the future?
On future projects, starting with Thwack!!, we'll be applying the lessons we've learned from Entanglement should the need arise to translate one of our games.For Thwack!!, we already have a spreadsheet set up to handle any text that will appear in the game. Our artist has (politely) recommended we handle all of the text code-side (rather than embedding it images) which should make the display code simpler and negate that problem entirely. And we're planning ahead on how to make scalable interfaces that can handle longer text.
A nice aspect about CSS3 that brings together the beauty of the interface with the necessities of localization is that we are now able to do programmatically to text what could, in earlier specs, only be done via images:
- We can add shadows and glow to text using the text-shadow property. Making a nice shadow only requires a single line of CSS: "text-shadow: 2px 2px 3px #333333;".
- We can use a growing variety of fonts that are not tied to those already installed on a majority of user's computers, without creating the text via images like we did with Herculanum (the font used in the images like "High Scores" above). For Entanglement, licensing Herculanum proved prohibitively expensive, but there are a growing number of services and fonts that are making this much easier. Many, like Google Web Fonts, only require including an extra CSS file link in our HTML. Providing fonts via our own server, as we did with most of the text in Entanglement, is likewise relatively easy using @font-face directly:
@font-face { /* A font by Jos Buivenga (exljbris) - www.exljbris.com */ font-family: 'Fontin-SmallCaps'; font-style: normal; font-weight: normal; src: local('Fontin-SmallCaps'), url('Fontin-SmallCaps.ttf') format('truetype'); }
- We can also rotate text vertically by using the CSS transform property like so:
.vertical-text { -moz-transform:rotate(-90deg); -webkit-transform: rotate(-90deg); -o-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); }
Here's to hoping when Thwack!! asks for some localization, we'll be better prepared.
Guys, I am sure you must be told this a million times already! PLEASE add an UNDO button/feature on entanglement! PLEASE!! a simple slip of finger kid of error kills the game for a user Also, color code the next path after rotating a piece.. color coded paths would make it so much better! what did you learn from Google maps?
ReplyDeleteWhy not use a scrollbar for the longer, translated text?
ReplyDeleteYeah, we've received the UNDO button request a few times. We may look into these ideas as we continue to develop the game; thanks!
ReplyDelete@E - Very valid suggestion. It would definitely work for the instructions dialog shown here, although in other instances scroll bars are not usuable: for example text on clickable buttons that runs off the sides of a button originally sized for English.
For some reason, it keeps loading wrong. A few times I played, the tile showed up in the space it would occupy and you could rotate it and see where the potential lines would match up. However, most of the time the tile actually shows up as a hovering tile over the screen--blocking the view of the connecting lines. I've tried refreshing and updating all to no avail. What gives?
ReplyDeleteHi Sarita, we haven't come across that issue before. If possible, could you send a screenshot to feedback@gopherwoodstudios.com and also tell us what browser and operating system you're using? Thanks!
ReplyDelete