kevglass
|
 |
«
Posted
2011-11-23 11:20:04 » |
|
Just had an idea and prototyped something up, it looks like this:  What if Snake was a platformer? Cheers, Kev
|
|
|
|
Damocles
|
 |
«
Reply #1 - Posted
2011-11-23 11:22:22 » |
|
Yes, this can be cool. Since the path for the player to take has to be taken into account, not just the targetlocations.
You could use gravity on the snakes tail.
And maybe some sections on the tail, wich can be passed, when a pickup is added at the time it "grew"
|
|
|
|
kevglass
|
 |
«
Reply #2 - Posted
2011-11-23 11:25:29 » |
|
Yep, the whole snake is affected by gravity. So you can only climb as far, or reach as far as the length of the snake - which grows when you pick up pellets (just like normal snake).
You can trap yourself of course, which is a bit of a pain.
Cheers,
Kev
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Damocles
|
 |
«
Reply #3 - Posted
2011-11-23 11:27:34 » |
|
Thats where a "passage" section could give the player a well-timed alternative.
|
|
|
|
Mickelukas
|
 |
«
Reply #4 - Posted
2011-11-23 11:29:00 » |
|
Looks like fun and easy to understand how the physics works, I say go for it with lots of complex puzzles  Mike
|
|
|
|
Morre
|
 |
«
Reply #5 - Posted
2011-11-23 11:30:30 » |
|
This is crazy! Only a few days ago I was chatting to Don, trying to convince him to make a 4k game. He said he had no ideas. I randomly told him to "make Snakes on a Plane 4k". But now that you've gone and done that, I guess I shall have to think of something else for him to do... Also, my idea was based on a small drawing I made in class once, that featured a bunch of snakes on a mathematical plane... silly, I know. EDIT: When can we try it? 
|
|
|
|
kevglass
|
 |
«
Reply #6 - Posted
2011-11-23 11:36:30 » |
|
Want to build a quick level editor and add some features. Maybe after lunch?  Cheers, Kev
|
|
|
|
Morre
|
 |
«
Reply #7 - Posted
2011-11-23 11:45:30 » |
|
Yay! I'll give it a spin when it's up and I can find some time. 
|
|
|
|
thaaks
|
 |
«
Reply #8 - Posted
2011-11-23 13:25:20 » |
|
Great idea! Don't forget Android and IPhone versions later on  Maybe add some mechanism to receive user created levels that can be added to the game later (after human filtering happened to avoid "disturbing" level design)...
|
|
|
|
kevglass
|
 |
«
Reply #9 - Posted
2011-11-23 14:58:24 » |
|
Here's the first ditch attempt: http://www.cokeandcode.com/fourkay/snakeonaplane/Only one simple level but the level editor is included at the bottom with some test framework. Let me know if you make anything interesting. I'm going to start adding some features: a) Sticking patches b) Bad guys c) Spikes d) Switches e) etc etc f) ideas welcome  Cheers, Kev
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Mickelukas
|
 |
«
Reply #10 - Posted
2011-11-23 15:06:53 » |
|
It worked great, didn't find any weird things and the physics reacted in a logical way. I'm so curious about your levels! :-D
Mike
|
|
|
|
me
Senior Member    Projects: 4
Java games rock!
|
 |
«
Reply #11 - Posted
2011-11-23 15:35:46 » |
|
Great start!
Found an issue. I created a level where the snake could fall down to the bottom of the screen:
Exception in thread "Thread-10" java.lang.ArrayIndexOutOfBoundsException: 621 at A.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Pushing the limits further gave a freeze after eating about 50 or so pellets.
Very interesting levels could be made using only the current physics!!
Best regards from
M.E.
|
M.E. --------
|
|
|
kevglass
|
 |
«
Reply #12 - Posted
2011-11-23 15:40:57 » |
|
Yeah, 50 pellets is sorta unlikely and I don't check any bounds yet. Still, seems to have legs this one  (or not if you see what I mean) Cheers, Kev
|
|
|
|
ReBirth
|
 |
«
Reply #13 - Posted
2011-11-23 23:54:41 » |
|
LoL the snake can stand up 
|
|
|
|
kevglass
|
 |
«
Reply #14 - Posted
2011-11-24 01:17:54 » |
|
Quick update, some bug fixes and 6 levels (5 provided by the fine people on Twitter  ). http://www.cokeandcode.com/fourkay/snakeonaplane/Just about reached the limit now, time to take debug symbols out, obfuscate, compress etc and of course compact all the levels into one file. Forgotten how fantastic fun java4k is  Cheers, Kev
|
|
|
|
sproingie
|
 |
«
Reply #15 - Posted
2011-11-24 05:40:11 » |
|
I don't know anything about the rest of the game, but the name is a winner  For extra credit, make the quit button read "I am TIRED of this muthaf***ing snake on this muthaf***ing plane!"
|
|
|
|
|
Mads
|
 |
«
Reply #16 - Posted
2011-11-24 06:40:52 » |
|
Do you have the source code? I'm interrested in how this works  Peeking isn't worth much in the 4k 
|
|
|
|
pitbuller
|
 |
«
Reply #17 - Posted
2011-11-24 10:07:40 » |
|
Game idea is brilliant yet simple.
Edit: addidg food pellet that has to be collect but do not grow the size would give more room for puzzle desing. now aftert x number of pellets snake can almout fly.
|
|
|
|
|
kevglass
|
 |
«
Reply #18 - Posted
2011-11-24 10:11:46 » |
|
Thanks for the feedback, good idea on the pellet. I'll add that.
I'll make the source available shortly.
Cheers,
Kev
|
|
|
|
Apo
|
 |
«
Reply #19 - Posted
2011-11-24 13:39:51 » |
|
Great game.
But how to solve the 4th level? All other level are great.
I can fall down on the left and right side of the level. There should be a border!
|
|
|
|
|
kevglass
|
 |
«
Reply #20 - Posted
2011-11-24 13:41:34 » |
|
Yeah, still working on it  The 4th level is a bit of a trick, remember you can pick up pellets with any part of your body, not just the head  Cheers, Kev
|
|
|
|
Apo
|
 |
«
Reply #21 - Posted
2011-11-24 13:45:27 » |
|
Ahh ok. Nice trick.
I like the editor. Should I send my levels to you?
|
|
|
|
|
Mickelukas
|
 |
«
Reply #22 - Posted
2011-11-24 13:48:04 » |
|
Level 5 was easier than all but 1, I liked 4 as it wasn't completely obvious how to solve it, more levels like that!  Mike
|
|
|
|
kevglass
|
 |
«
Reply #23 - Posted
2011-11-24 13:58:29 » |
|
Every level apart from level 1 has come from people on twitter using the level editor. I'm just jamming them in at the moment - until I have the full feature set level design won't really be great.
Cheers,
Kev
|
|
|
|
kevglass
|
 |
«
Reply #24 - Posted
2011-11-24 17:31:30 » |
|
@Apo - please send any levels you have. I'll be adding a few new features later today tho so might be worth looking at them for level inspiration.
Cheers,
Kev
|
|
|
|
|
|
kevglass
|
 |
«
Reply #26 - Posted
2011-11-25 10:23:39 » |
|
Thanks for the extra levels folks!  Cheers, Kev
|
|
|
|
ra4king
|
 |
«
Reply #27 - Posted
2011-11-25 11:00:09 » |
|
I found a bug! When holding down the arrow keys but not actually moving, it still counts as a move. Great game though, I LOVE the brilliant idea 
|
|
|
|
|
|
Mickelukas
|
 |
«
Reply #29 - Posted
2011-11-25 14:17:22 » |
|
Nice that you fixed the steps bug  It'd be nice to put the new maps in the beginning so you don't have to play through all maps each time you add something  The red pill is nice and the gravity switch will probably allow for much more complicated levels  Mike
|
|
|
|
|