It’s been almost a month since I wrote about the 2Bee game contest, time sure has flown! I hope you guys are making progress on your games, even if they won’t be submitted to the competition. To motivate you, and show off a little :-), I thought I’d share a slightly out of date demo of the game engine I’ve written for flash. Check it out!
Arrows keys and A + S…
So it’s pretty neat huh? Nothing too complex in some senses. I use the grid data structure for collision detection and everything is an AABB. Notably, I’ve taken a lot of ideas from Slick the ever excellent Java game engine.
What I’m most proud of are three things. The first, which I’m sure you noticed, is the slick camera work which is triggered when you enter and then “defeat” the boss in the top room. Second, there’s a whole lot of scripting going on to lock/unlock doors, spawn bad guys, etc. This is something I haven’t previously done in a game before and it’s pretty exciting. And lastly, you can’t tell from playing but I have managed to turn Flash CS4 into a wonderful level editor / scripting engine! What this means is I’m able to use the flash environment itself to lay out the levels and script events — no need to write a custom tool.
Anyway, enough bragging! I’m not ready to share the code behind this with you today, but I’m sure that sometime soon I will. In the meantime I hope you’re making progress on your games and look forward to seeing them in action!
Hello, my name is Alex Schearer. I grew up in New York and currently live in Seattle.
6 Comments
pretty neat! Took me a moment to figure out what I needed to hit A to “charge” up my jumping (but obviously documentation / effects for that can come later).
I had a few times where the game would seem to pause momentarily on me, but that could just be my machine. The “boss” camera effect is a nice touch — I love smoothly resizing camera views.
It’s always interesting to see works in progress, so thanks for sharing!
Thanks, twood! The controls in the demo are not what will end up in the final game. In fact I’ve removed running entirely! And, thanks for noticing the camera, that was a lot of work but totally worth it!
you are really incredible Alex :D great great great example how with a little of experience, you can do a lot :D continue work on this flash project.. and hire some graphic for artwork..
something like:
http://orin.deviantart.com/art/Mephiles-the-Dark-66244079 http://dmitrys.deviantart.com/art/char-concept-23563061 http://khuzul.deviantart.com/art/In-The-Mood-For-Love-20093288
something, as you note on your another post is visual “unseen” already
i’ll try your code, if you would to share :D
Hey Gornova, thanks for the kind words! I checked out those deviants you linked, wow! They are pretty talented it seems. Fortunately, though, I’m lucky enough to have a super talented artist working with me this time, so get excited about what’s in the works!
:D can you explain how you implement gravity in you system? thanks :D
Ah, love the physics of jumping! Care, to share?