Snake on a Plane

Yeah, still working on it :slight_smile:

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 :slight_smile:

Cheers,

Kev

Ahh ok. Nice trick.

I like the editor. Should I send my levels to you?

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! :slight_smile:

Mike

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

@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

New version up at:

http://www.cokeandcode.com/fourkay/snakeonaplane/

Includes two new example levels and a new level editor. Added:

  • Teleports
  • Velcro ceilings
  • White pellets that donā€™t grow you but you must collect

Cheers,

Kev

Thanks for the extra levels folks! :slight_smile:

Cheers,

Kev

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 :slight_smile:

Just updated to include a new test level for 2 new features:

  • Red pills - shrink the snake
  • Gravity switch - um, switches gravity.

Editor updated aswell:

http://www.cokeandcode.com/fourkay/snakeonaplane

Cheers,

Kev

Nice that you fixed the steps bug :slight_smile: 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 :slight_smile:

The red pill is nice and the gravity switch will probably allow for much more complicated levels :slight_smile:

Mike

Press N to skip to the (N)ext level.

Cheers,

Kev

Just played through all the levels. It was actually pretty addicting. I Like the idea of the game. Enjoyed it a lot. Good job!

Updated.

  • New levels (10 total now, quite a few new ones)
  • Bug fixes
  • Compressed under 4k

http://www.cokeandcode.com/fourkay/snakeonaplane/

Feedback appreciated! :slight_smile:

Cheers,

Kev

Didnā€™t find any bugs or illogical things, nicely done! :slight_smile:

Mike

Amazing how you can find great games in simple mechanics, and almost existing ideas, yet all new. 8)

Liked it a lot. A bit similar to Putty Puzzle, but more flow to it. I did however manage to find a bug

Exception in thread "Thread-12" java.lang.ArrayIndexOutOfBoundsException: -18 at A.run(Unknown Source) at java.lang.Thread.run(Thread.java:680)

Happens at lvl 8 move to the center top room, invert the gravity and move down the ā€œstairā€ and then fall up in the gap at the top. Out of the level? Possibly a ā€œlevel bugā€ rather than a code bug :wink:

Thanks for letting me know, Iā€™ll get on to crushing it :slight_smile:

Re: Putty Puzzle, yeah I thought it was going to be the same game for a bit, but the play it quite different - itā€™s obviously where I got the styling from though :slight_smile:

Cheers,

Kev

Fixed up the bug. Thanks for letting me know!

Cheers,

Kev

How you put the level in? int[][] array? itā€™s quite big for 4k isnā€™t it?

Itā€™s actually a byte[] not a int[][], but itā€™s all just stored in the data file in the zip.

Cheers,

Kev

The source code is now available on the website:

http://www.cokeandcode.com/fourkay/snakeonaplane

Cheers,

Kev