Last sunday I sat down and coded a prototype of a casual game in Mobile Processing. I got the idea for it the evening before: You’re a bee who needs to collect as much honey as possible in his hive while at the same time keeping a flower-bed blooming by pollinating… Play it and let me know what your high score is in the comments!
Thinking and making
I’ve been looking for an excuse to get some experience with Processing (particularly the variant suitable for developing mobile stuff) for a while. I also felt I needed to get back into the making part of the field I’ve been thinking about so much lately: Game Design. I agree with Saffer, Webb and others — making is an important part of the design practice, it cannot be replaced by lots of thinking. The things learnt from engaging with the actual stuff things are made of (which in the case of digital games is code) aren’t gained in any other way and very valuable.
Get the game
I’ve uploaded the first version of the game here. You can play it in the emulator in your browser or if your phone runs Java midlets, download the file and play it like you’re supposed to: While out and about. The source code is provided as well, if you feel like looking at it.1
How to play
You’re the yellow oval. The orange triangle in the top left corner is your hive. Green squares are grass, brown squares are seeds, red squares are flowers and pink squares are pollinated flowers. The field is updated in columns from left to right (indicated by the yellow marker in the bottom). A seed will turn into a flower (in rare cases a pollinated flower). A flower will die, a pollinated flower will die and spread seeds to grass around it. Move your bee with the directional keys, use the centre key to grab nectar from a flower. You can cary a maximum of 100 nectar. Drop your nectar off at the hive (again using the centre key) to up your score. When you first grab nectar from a pollinated flower and subsequently from a normal flower, the latter is pollinated. Try to keep the flower-bed in bloom while at the same time racking up a high-score!
You’ll get 10 nectar from a flower (in bloom or not). Pollinating a flower costs 5 nectar. If you try to take nectar more than once from the same flower, you’ll loose 10 nectar.2
Stuff not in here that I might put into a next version (whenever I get around to it):
- Animation — I need to get my feet wet with some scripted animation. Thing is I’ve always sucked at this. For now it’s all tile-based stuff.
- Better feedback — For instance show the points you earn near the bee and the hive. I think that’ll make the game a lot easier to understand and therefore more fun.
- Menus, pause, game over — It’s a prototype, so you get dumped into the action right away. (The game starts on the first key you press.) And there’s no actual game over message, the field just turns green and you’re left to wonder what to do.
- Balance — I’m not sure if the game like it stands is balanced right, I will need to play it a lot to figure that out. Also there’s probably a dominant strategy that’ll let you rack up points easily.
The aim was to create a relatively casual game experience that will almost allow you to zone out while playing. I think it is far too twitchy now, so perhaps I really should sit down and do a second version sometime soon.
I enjoy working with Mobile Processing. I like the way it allows you to program in a very naive way but if you like structure things in a more sophisticated fashion. It really does allow you to sketch in code, which is exactly what I need. The emphasis on just code also prevents me from fiddling around with animations, graphics and so on (like I would in Flash for instance.) Perhaps the only thing that would be nice is an editor that is a bit more full-featured.3 Perhaps I should grab an external editor next time?
If you played the game and liked it (or thought it was too hard, boring or whatever) I’d love to get your feedback in the comments. Anyone else out there prototyping games in Processing? Or using it to teach game design? I’d be very interested to hear about it.
15 thoughts on “Pollinator — a casual game prototype made with Mobile Processing”
Wow! Just sent it to my cellphone and played it. Only the game was over in about 2 NANOseconds ;-) Hehe, might want to adjust the speed a little, but other than that it looks sweet
Intriguing principle! I scored 100 hive nectars the first try. By some crazy clicking around (indeed a real fast pace) without really doing any strategy at all. I think will do some time killing with it the coming time and hope to score some more ;-)
Hey thanks guys, glad you like it. @Lieke: I think I need to figure out a way to cap the framerate. @Iskander: 100 should indeed be doable without much effort. I’ve scored in the high end of 300 but will try again. I’ve started work on a second version by the way. Stay tuned!
nice sketch! don’t have a highscore worth mentioning, but a couple of ideas came to mind while playing around with it:
anyway, curious to see your next version.
Wij ( H&M) ff jetje halen bij je paps en mams,… kunnen we toch “the bee game” primeur niet aan ons neus voorbij laten gaan.. Leuk idee dit! Ik heb met een paar klikjes door hoe het werkt… Top! Ciao Harco.
In english for everyone to read… We like the game !
Hi Harco & Maggie leuk dat jullie de game ook even getest hebben. Verbaast me niks dat je hem snel door hebt Harco! ;-)
@Bernard: Thanks for the feedback, they really help determine what needs changing. I think I have a few hours this weekend so stay tuned, there might be a next version soon.
Hmmm. scored 20 points. I suck a this game ;) Nice piece though!
Thanks Floris. Why don’t you try again a few times? 20 points is really low. ;-P
I’m 100&% certain you can predict what I’m going to ask for :-)
That’s not a bad start David. What as it you were going to ask for? A cheat mode? ;-)
Comments are closed.