No Time To Play

Gamedev

Brief guide to the 2D canvas in HTML5

by on May.18, 2017, under Gamedev

I started making web games using the 2D canvas API in 2009, early enough that people still went “I can’t believe it’s not Flash”. A year or two later, everybody and their dog was making canvas-based games, so mine weren’t special for long, but oh well. On the plus side, my skills are still entirely relevant eight years down the road — a lucky break in this world where we all have to run as fast as we can just to stay in place.

The canvas API isn’t exactly huge or obscure, and the Mozilla Developer Network covers it well. It can still be daunting to learn from scratch, especially if you don’t yet know what you’re going to need in actual game development.

As it turns out, I only ever use about two dozen fields and methods of the canvas element’s 2D context; you may be able to make do with even fewer. Of course, that’s just for the graphics — setting up a game loop and accepting input is another story.

(continue reading…)

1 Comment :, , more...

Weekly Links #170

by on May.14, 2017, under Gamedev, News

Hello, everyone. I have good news and bad news. The good news is, I’ve been working on a game based on my recently revived 2.5D engine. The bad news is, I’m running out of steam and might switch tracks for a while. So for now, have some screenshots:

Yeah, yeah, I went right back to first-person after explaining how it doesn’t really work, but the visible pathways should help. As for the limited draw distance, I already had to redo the backgrounds once as it is, and anything further away looks bad in the first place. The theme just requires first person here, it can’t be helped. As for the map generator, you might recognize the one from RogueBot, somewhat refined. It feels kind of cramped in a game with tile-by-tile motion, but enemies and limited moves should fix that. Whenever I get to it, that is.

On the plus side, hey, I got to practice my Inkscape some more, and people seem to like the look. Also, refactoring code can be very fun, not to mention good practice. So yay.

In the way of news, we have an interview with Sid Meyer, then a history of hit points, that turns out to be quite complex and unexpected. And while Konstantinos Dimopoulos kicks offa series on medieval urbanism that’s equally useful to fantasy writers and game developers, Bruno Dias shares some thoughts about replacing the interactive fiction parser, that complement my own from a while ago. Clearly these ideas — which have been floating around for a while — are coalescing into something solid. It was about time, too.

Last but not least, via Vintage Is the New Old comes the news that next month there will be a Sinclair Basic game jam, which is especially tempting to someone like me. I even know what game I’d like to try and make. But whether I’ll actually take part is another story entirely.

Until next week, stay motivated.

Leave a Comment :, , , , more...

When sprite scaling meets free roaming

by on Apr.27, 2017, under Gamedev

As of spring 2017, it’s been nearly five years since my first shot at a first-person engine with eight directions based on sprite scaling, inspired by a certain 8-bit classic. At the time I wasn’t aware of any newer game made in the same style; in the mean time, the aforementioned classic was ported to modern platforms and even got a spiritual successor. It took me until the winter of 2015 to try again myself. Still not with a strategy game, mind you — in fact I tried for a roguelike, probably with Necklace of the Eye fresh in mind. Never got around to explaining why it fizzled out, either; a mistake I’ll rectify below.

Point is, after 16 more months it was time for yet another take on the concept. And as it turns out, third time’s the charm.

(continue reading…)

1 Comment :, , more...

Weekly Links #167

by on Apr.23, 2017, under Gamedev, News

Hello, everyone. This week’s big news is of course that the original Starcraft is now free, occasioned by the launch of a remastered edition (via Sébastien Delahaye‏). It’s just the last in a line of classic game revivals this spring, and while rediscovering the classics is good, I wonder what it says about the present of videogames.

Speaking of revivals, I spent a week or so bringing back — for the second time — my turn-based sprite scaling engine, and at long last it seems to be working out. Details to follow soon; for now, here’s a screenshot.

Next, two articles for game designers: a brief one on how to choose content for a roguelike, and the other (via Jay Barnson) on a better way to design dungeons. Short version: just as wordlbuilding in general should serve the purpose of the story you’re trying to tell, a dungeon should be all about its inhabitants. Past or present, I would add.

I’ll end with two write-ups about higher-level issues: one about that point when camp in a game goes from useful shortcut to offensive stereotype — and what that says about our understanding of history — the other (via Taleslinger) about the lack of cultural self-awareness in Duke Nukem 3D, with a diversion into the surreal, imaginative level design enabled by a pseudo-3D engine, and the way it contrasts with the hyper-realism of newer games.

And that’s about it for today, because people have been resting after Easter. See you!

Leave a Comment :, more...

Weekly Links #165

by on Apr.09, 2017, under Gamedev, News

Can’t believe it’s been a month since my article on the use of outliners in games. Between playing Master of Orion and working on a game design inspired by it, my initial idea took a backseat for a while, before coalescing into a specific product. I’m happy to announce Ramus 2, a new system for playing CYOA games written with general-purpose productivity software as opposed to dedicated tools — which, incidentally, allows for authoring on mobile devices without an always-on Internet connection. Much more work is needed, of course, from documentation to utilities for packaging stand-alone games, but the groundwork is laid, and the concept works surprisingly well.

Otherwise, I finally got around to getting a good look at Eamon, a text-based RPG engine from 1982, that was last updated in 2012 (an incredible 30-year run!) if not in the original form. Should probably get around to writing an article about it, because there are lessons to learn.

(Speaking of updates to old games, the original 8-bit Prince of Persia just got a modern level editor. How cool is that?)

In other news, this week Rock, Paper, Shotgun has an article on playing roguelikes when you can’t see, and another on the modders making games more gender-diverse. It’s great that inclusivity is becoming a hot topic in game development. More conventionally, Ars Technica has a history of open-world gaming, and PC Gamer a list of game design sins (both via K.D.). The latter two are actually old, but good enough to include.

We’re not done quite yet. For fans of adventure games, whether graphic or textual, there’s a long and entertaining interview with Tim Schafer, while Emily Short is answering to a letter about the state of Inform 7.

To cap an already long newsletter, I give you these musings on music in games. Something that tends to give me trouble, even more so than sound effects. Turns out, it is a genuinely delicate issue.

Oh well, see you next time.

Leave a Comment :, , , more...

Weekly Links #164

by on Apr.02, 2017, under Gamedev, News

Hello, everyone. It’s one of those weeks with lots of links, so I’m going to try and keep comments short in compensation. Not that I usually succeed.

For one thing, No Time To Play now has a proper presence on GitHub and on Imzy. There’s no set goal for either yet, but hey, it says “we exist”. Good thing can happen from casting a wider net.

On to gaming news. Tides of Numenera barely hit the market, and word surfaced that its spiritual parent Planescape: Torment is also getting an enhanced edition — officially, that is. (Which is bound to be better than fan-driven restoration efforts (in fact it likely incorporates some fan patches), and it’s a signal that game companies are starting to see the value in videogame preservation.) And another classic getting the same treatment is Starcraft. Still in the way of nostalgic comebacks, here’s an in-depth look at Thimbleweed Park.

But it’s not just players who get nostalgic for the old days. Game designers might enjoy reading the design document for Asteroids — a single hand-written page, as it turns out — while for interactive fiction authors there a long interview with the creator of 8-bit authoring system The Quill (both via K.D.).

Why is it important? Because we can learn from the past. We can also learn from tabletop games, as I did, and more designers are learning to as of late. Learning what? The importance of trains in games, for instance (via Michael Cook) — or rather, the importance of suggesting a wider world outside the software-imposed boundaries. A principle just as important in games as in fiction.

But now if you’ll excuse me, I’m trying to help a friend get started roleplaying on a MUCK. See you next week.

Leave a Comment :, , more...

Weekly Links #163

by on Mar.26, 2017, under Gamedev, News

Hello, everyone! After a gaming break, and working on a game design inspired by it (which will be revealed in due time), a sudden revelation means that my research into outliners becomes immediately relevant, with much less work required on my part. So I hope to have a surprise for you soon.

Until then, let’s see what happened this week. For one, Jason Scott just launched a campaign to archive all Apple II software, especially originals that couldn’t be touched before due to copy protection. In related news, Techdirt mentions yet another case of games preserved thanks to piracy and emulation. You know my opinion of this, so I won’t insist.

In other news, we have a couple of articles discussing game design issues. Like this one about the importance of choice, even in historical games. Which reminded me of the time when I played a historical gamebook, and choosing what seemed like the fair, stay-the-course choice led to an untimely death, because it wasn’t what the historical character had done in that situation. And I can understand if you’re trying to test a student’s knowledge of real-world history, or simply if you don’t want to deal with the complications of imagining plausible counterfactuals, but it was such a disappointment at the time. So I was glad to read about a better approach.

Similarly, Jimmy Maher’s latest article discusses the problem with procedural generation that many games have. But I’ll say once again that PCG itself isn’t the problem. We can make generated worlds more diverse, detailed and believable. It takes work, but it can be done. What we can’t do automatically is make them matter. Because, you see, people don’t tell stories — or listen to stories — for the sake of it, but in order to share meaningful experiences that soothe, teach, amuse… whatever. And meaning can only come from personal experience.

As I pointed out before, it happens all too often that a fictional setting will be lovingly handcrafted, all coherent and plausible, yet utterly bland. Conversely, playing a roguelike can become very personal very quickly. So I’ll state it once again: the method of creation isn’t to blame. Forgetting the “why” is the usual culprit.

Last but not least, here’s an interview about the development process of Dungeon Crawl Stone Soup. And the key to it all is this passage:

The number one most important qualification that the developers discuss when deciding if they should add someone to the official dev team isn’t their design, art, or coding prowess. It’s their social skills.

It goes for all software development, really, or for that matter any human endeavor. But for too long now, we lived with the illusion that technical excellence somehow trumps being a decent person. Well, look around you. Enjoying the results?

Until next time, remember to care about people.

Leave a Comment :, , more...

Weekly Links #159: tooling edition

by on Feb.26, 2017, under Gamedev, News

Oh, wow. The gaming world must have been really active this week, because I picked up a ton of links without even trying. Gonna keep commentary short, OK?

Let’s start with a number of retrospectives: a brief one of Street Fighter II (the arcade version; to me it was always a Super Famicom title), a longer one of the recently rediscovered Habitat, the world’s very first graphical MMO, that a team is now trying to revive; and an interview with John Romero about a long-lived tile editor.

Still on the topic of tools (it’s a recurring theme this week), Emily Short posts some general advice on making your own, which applies to a lot more than interactive fiction. Especially relevant considering the vast number of tools these days made for easy, visual creation of HTML5 games. Fans of retrogaming might be more interested in how to set up Arcade Game Designer on the ZX Spectrum, while for RPG developers there’s Uncharted Atlas, an unusually realistic generator of fantasy maps.

In more general game design news, we have an article about blending procedural generation with handcrafted content, and another about basing a game in real-world history. And for an announcement I can’t possibly pass on, Seltani is now on itch.io.

I’ll end with a bit of a rant. My friend and regular reader fluffy has returned to game development after a long absence, with a jam entry called Colorful Critter. And unfortunately I was completely unable to play the game on Linux. See, fluffy went with Love2D for this project, which is a very tempting choice (I considered it). Trouble is, Love2D games are nowhere near as portable and easy to distribute as its creators would have you believe. Let’s take it step by step:

  • Most Linux distributions carry an ancient version if at all.
  • Official binaries are only available for Ubuntu.
  • The Windows build doesn’t work under Wine.
  • Building from source is way too much trouble just to play a few games.

It should be noted that most of these issues are due to the use of SDL2, a notoriously finicky library with multiple components and dependencies that make it hard to build and ship with a game, an issue made worse by its creators’ insistence that people stick with dynamic linking. (Pro tip: no programmer is going to pluck a DLL straight out of another app and use it as such; they’ll look for the official website.) And yet it’s somehow become a de facto standard for 2D and even 3D game development. Go figure.

But I’m already way over my quota for the week. See you next time.

3 Comments :, , more...

Weekly Links #155

by on Jan.29, 2017, under Gamedev, News

Hello, everyone! Looks like another brief newsletter, not least due to my social media feeds being swamped by political turmoil these days. But we all do what we can. Let’s start with a couple of classic game retrospectives, namely Deus Ex and Alpha Centauri. In somewhat related news, a fan demake of Civilization 2 for the Commodore 64.

By way of game design articles, here’s the third article in the series about color in games I mentioned two weeks ago. (Turns out I missed the second one.) Which reminds me that the overuse of orange-blue palettes in games has been soundly criticized in recent years. The trick? It’s not the limited palette — those are a powerful tool in the arsenal of an artist — but how you make use of that palette. And nowadays game art is necessarily rushed, what with games of exploding complexity expected to be made in the same amount of time as their modest predecessors from last century. A recipe for trouble if there ever was one.

I’ll end with some musings on game pricing from someone who plays in a whole different league from me, so I can’t comment. Hopefully you’ll find it useful.

Until next time, don’t lose your humanity. Cheers.

Leave a Comment :, , more...

Weekly Links #151: new beginnings edition

by on Jan.01, 2017, under Gamedev, News

Happy New Year 2017! Things picked up noticeably the week after Christmas, so we can begin anew with aplomb. For one, a very good friend bought me a Pico-8 license, and of course I couldn’t resist playing with it. It’s an incredibly polished experience for such a restricted platform, one that immediately inspired me to start remaking one of my early games. I’m not sure quite what makes it feel so good, but it’s one of those systems that feel designed, not just thrown together, and that’s rare today.

Given that, it’s especially appropriate that Rock, Paper, Shotgun just published a series of articles about working with the Pico-8. I do have one quibble: ideas, my friend, are a dime a dozen. If you have to go around hunting for ideas, maybe you don’t have anything to say right now. Go out and live some more.

On a similar note, Kotaku is running the story of a game journalist turned developer. And it sounds not so much like someone who learned just how hard it is to actually make those games they used to criticize, as someone who grew up and learned to assume good faith. A win, either way. Can’t even blame them: I used to have my troll-ish moments as a delayed teenager. Haven’t we all? So it’s all good.

To end with a couple of actual releases, here’s Roguelike One, a quick, simple game that could be played with a NES controller (in the sense that it only uses arrow keys and two action buttons). No prize for guessing what it’s a fan game of. 😛 And in the retro department, Prime Mover is a Construct 2 title carefully made to resemble a ZX Spectrum game, down to the way controls are responding. Which, of course, is a lot more work than making it for the Speccy like my own two attempts. Nice!

On that note, I wish you the best until next time. Thanks for reading.

 

Leave a Comment : more...

Posts by date

May 2017
M T W T F S S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031  

Posts by month