Gunpoint is a stealth puzzle game that lets you rewire its levels to trick people. This video will explain it.
Windows only for now, hopefully Mac and Linux later.
By Tom Francis. Uses Adaptive Images by Matt Wilcox.
No! Don't tell them my scheme!
There's now a mailing list for people who'd like to be told when it's out, and what we do in future. Join it why not!
I tweet news, shots of things I'm working on, and despair at the complexity of coding.
Here's the formal permission bit.
A framework for a puzzler that rewards cleverness and convoluted sadism in equal measure. JC Denton would be proud.
I’ve gone back to working on the infiltration-themed platformer I’m making, Gunpoint. I’d planned to take two days out of the winter break to binge on it, but after a few interruptions I’ve decided four half-days might be more doable, and less exhausting.
The plan is to rapidly impliment the last few features it needs before the main mechanic can make sense, without slowing down to fine tune their operation or tweak the look. So far I’ve got security doors and light switches working, and I’ve almost got the AI interacting with them correctly: only guards can pass through security doors, and they’ll turn on lights if they find them off. Next it’s the main mechanic, then a few last fundamentals that may end up being important.
It’s fun to be making fast progress again. It was a huge mistake to bother putting elevators in before the rest of the basics were working, and the ridiculous time that took added to the ridiculous time AI took is the main reason I ground to a halt on the whole thing.
I now have a game that is ugly, broken and crude in every way except the lifts, which are the most magnificently smooth, reliable and satisfying vertical transportation in the history of interactive entertainment. And I’m about one month behind where I would have been if I’d stuck to stairs. It started to feel hard.
It isn’t, really, but a few things do trip me up repeatedly. I want to make a note of them here on the offchance it gets any of it through my skull, so the rest of this post will make no sense to anyone who doesn’t use Game Maker (the tool I’m making the game with).
You have no idea what code has already been done and what hasn’t when any given Create event is executed. So when one tiny change to something suddenly breaks everything in your entire game, including a bunch of stuff it had absolutely nothing to do with, it’s because the Creation order has changed arbitrarily.
Only ever use Create to set initial variables, then use Alarm events to trigger actual code. That way you can set those alarms to go off in the order you specify.
The best way I’ve found to do triggers like this is to have it set an Activate property on the target object. The target object checks this Activate property every step, and the moment it’s ‘true’, it sets it to false, does its work, then tells the trigger object not to bother it again until it needs to.
Pretty goddamn fascinating, I think you’ll agree. The truth is that most of the problems you encounter creating a game aren’t as frustrating as playing the average shooter. You don’t expect to succeed. You’re wrestling a ridiculous tangle of logical statements into something that functions as a comprehensible world, which is an insane and extraordinary thing to do – even when the results are drab, glitchy and artless. In other words, I’m enjoying it again.
By the end of this sprint I plan to at least be able to show you a video of it in action, and possibly send out a new prototype version to testers. If you’d like to try it when the next version’s ready for testing, and haven’t already mailed me about it, mention Gunpoint in a mail to firstname.lastname@example.org.
Tom Francis: I'm kidding, of course, System Shock 2's grav shafts are still the best.
RC-1290'Dreadnought': You were using game maker right? I didn't realize that its so similar to (other) Object Oriented Programming languages. Create sounds like a constructor and the fourth point is about encapsulation and modularity.
I don't understand the first point you are making though. But maybe that's because of a difference between Game Maker and Actionscript. (?)
VelvetFistIronGlove: Glad to see you back to making progress on this again!
PurePareidolia: Ugh, that create event thing has messed me up so much. And don't even get me started on if you want different instances of the same object to start in different states and have no possible way to preview that in-editor.
Meaning if, say I want to just use one object for a ramp and then rotate it for different angled ramps then whatever my room looks like in the editor has absolutely no correspondence to in-game.
Tom Francis: Yeah, I just make separate objects for everything, and give them a common parent to handle all the events.
nine: It's fascinating to see you rediscover programming from first principles.
Tom Francis: Heh. Probably kind of dumb, too, I would think. There are plenty of resources I could have read up on to get up to speed quicker. The trouble is that I love learning, but hate studying - I like to screw things up 9 times myself before I ask an adult for help.
RC-1290'Dreadnought': No, that's not dumb, because you remember it better when you learned it yourself. Though I find it useful to check how others solved it afterwards.
I agree with nine. I've read blogs from other developers figuring out how to make things work, but you also manage to make it fun to read.
Coded One: Haha, the basics of Object Oriented Programming! Reminds me of Computer Science 101 :P
TooNu: It sounds all too complicated, i am glad that I enjoy playing games over making them. Though I am sure I would enjoy making them to.
So first you make Gunpoint, it becomes a large Indy success and then you try to make something else. You succeed and perhaps make some money from it, sooner or later you turn into Notch or Mark wot used to work for PC Gamer that now makes Total War.
And then you forget us small people here at James :(
Tom Francis: Heh. Actually if I ever did go into solo development, this place would probably get more active - I'd still want to be writing about games, but I'd be doing less of it for work.
RC-1290'Dreadnought': Sounds like a good plan, actually.
Chieron: I actually just got the latest prototype email, and I have been quite enjoying it. The guards have tripped me up a bit by shooting me when I fall just short of them in the dark. Lol.
Please post any Gunpoint bug reports in the Gunpoint Bugs forum - I can solve them quicker if they're all in the same place, and you can see if it's already been reported.
URLs get turned into links automatically. You can use <i>HTML</i> but not [b]forum[/b] code. If your comment doesn't show up, e-mail me - the spam filter's just detained it for questioning.