Log In  

Cart #30020 | 2016-10-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


0.3

  • Add of a high score and a virtual keyboard to type your name. Thanks to @afburgess

Cart #24639 | 2016-07-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

0.2 Change log:
Option menu to change

  • The speed of the snake, from 5 to 100 in % of the maximum speed.
  • The dash in % of movements which increase speed.
  • The grow in % of movements which increase size.
  • The control (2 directions, 4 directions or only one direction for the ones who like challenge) ^^

The apples are less likely to appears close to the walls

The snake is now green, which is more realistic. ;)

The snake start shorter and doesn't grow as much as before when an apple is eaten.

Fast restart.

Enjoy! :)

Cart #23998 | 2016-06-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

0.1 Just a basic snake for my first game to begin softly.

The interesting challenge were to not save the entire snake coordinate but only the head and tail location + the path taken by the head (table of direction+pixel lenght).

Once we have this, use a blue brush which paint the snake head moving and a black one to erase the snake at the tail location.

To inclrease the snake size i've just set a timer for the tail to move, it is called at the game start and when an apple is eaten.

Now I'm planning to add a hall of fame and will try to save it in the cartridge rom if possible.

Edit: Use <- and -> to change direction.

P#24005 2016-06-30 16:31 ( Edited 2016-10-06 21:24)

TIL Snake is very hard with relative steering controls. :)

Request: Pause menu option to switch to absolute u/d/l/r controls?

I like it though. Feels very Pong-era. Mixes Nokia nostalgia with 70's nostalgia. :)

P#24016 2016-06-30 17:58 ( Edited 2016-06-30 21:58)

Like Felice said, it has a nice feel. :)
However the controls are not quite obvious enough, 'cause at first I thought the game was broken.
I'd suggest mentioning how the controls work in your post, for dummies like me. :p

P#24049 2016-06-30 23:13 ( Edited 2016-07-01 03:13)

Hi :)

Ok I will add an option menu to change the controls, it will finish to looks like a real game. ^^

P#24061 2016-07-01 04:41 ( Edited 2016-07-01 08:41)

I like the controls, and the game is fast, which is refreshing for a snake game. I ended up always turning left, which is fun in its own way, even as I would soon lock myself in a tragic spiralling demise :-) tried at 60fps, it's hair-pulling but still very fun.

so, suggestions:

  • also have a one-button option (only left or right)
  • start with a shorter snake and also make it grow a little slower
  • make it run @60fps, start slower and speed the snake up every 5 dots or so
  • spawn dots a little farther from the walls when at high speeds
  • always keep a fast way to replay, there's a lot of death going on
  • 2 players ? that would have to be much slower but p0 turning left & p1 turning right, could be fun ? eating a dot could allow you to munch on the other snake ?
  • have a score ? took me a while to notice ^^

that's a real game, btw. my wife heard me swearing, she knew i wasn't working ^^

P#24077 2016-07-01 08:43 ( Edited 2016-07-01 12:43)

So many interesting suggestion !

Ok I'm sure I could add all of this in the game.
So for the next steps :

1 Fast replay
2 Add an option menu to
change the controls (one arrow, two arrows, 4 arrows)
change the initial speed
change the acceleration
change the size of the snake
3 60fps
4 Two player mode first iteration
1 minute timer
If a snake die it respawn at random location
The winner is the biggest snake
5 Two player mode second iteration
Sometime an apple appears, if eaten the snake could chomp the other
6 Score + Hall of fame

P#24093 2016-07-01 10:52 ( Edited 2016-07-01 14:53)

godspeed to you ^^

P#24102 2016-07-01 11:40 ( Edited 2016-07-01 15:40)

Hey there - nice snake game!

I have made a keyboard for inputting high scores etc into games, and I want to make a demo for how to use it. Would it be ok with you if I use your game as an example of how to implement it? Obviously would give lots of credit! :)

Many thanks,

Alex

P#29285 2016-09-24 12:43 ( Edited 2016-09-24 16:43)

Hi Mimick. Looks pretty good. There was a version of this similar for the Apple computer years ago. It was remade for cellphones recently.

http://a3.mzstatic.com/us/r30/Purple7/v4/c4/d3/e8/c4d3e830-0a24-6940-8f91-3cbeed351794/screen568x568.jpeg

One thing you might want to have is a line that starts large outside the playing field and gets smaller and smaller the longer it takes for the player to get the "Apple."

If he takes too long, 2 more apples appear, the 'timer' resets, and now he has to get all 3 before it counts as valid.

When enough apples are eaten, a door appears at the top, and the snake can go on to the next level.

P#29286 2016-09-24 12:48 ( Edited 2016-09-24 16:48)
1

Hello @afburgess :)

It would be a pleasure to let you use this cartridge to input high score, thanks to have chosen it !
Here is below a version in 128128 if it could help (the original is in 6464).

Hello @dw817, yes it would be a nice idea to do something like this, actually it shouldn't be so difficult to implement it.
I'll let @afburgess implement his evolution and will add this idea once it's done.

Cart #29487 | 2016-09-27 | Code ▽ | Embed ▽ | No License
1

P#29425 2016-09-26 07:56 ( Edited 2016-09-27 08:43)

@mimick- Thank you! Will give it a go this week!

P#29891 2016-10-03 15:29 ( Edited 2016-10-03 19:29)

Hey @mimick,
I've had a go at putting a high score on your game, check it out below:


It was super easy - I haven't had to touch any of your code at all really! All I added was score +=1 for when you get an apple, and then called the picoboard if score > highscore.

Thank you for letting me try this - it made me realise that I need to add quite a few bits and bobs to picoboard, such as a way of saving the string into the persistent cart data, along with needing to make picoboards unique variables more 'unique'! I'm going to go and modify my code to make it easier for everyone to implement a high score into their games, and then make some instructions.

Many thanks again!

P#30021 2016-10-04 17:08 ( Edited 2016-10-04 21:08)

Nice !

I put it in the main post, thank you :)

P#30111 2016-10-06 07:35 ( Edited 2016-10-06 11:35)

This game would be a lot more interesting if it could read/write an Online high score so you have something to compete against and not just your personal best. I wonder if this will be possible for future PICO.

Since you're saving data, you could save all the preferences in configuration so they do not have to be addressed each run.

P#30124 2016-10-06 13:39 ( Edited 2016-10-06 17:42)

No problem!

Saving the settings would be nice too! I also remembered that the snake on the nokia phones used to score differently, depending on which speed level you selected, which might be nice to implement!

P#30142 2016-10-06 17:24 ( Edited 2016-10-06 21:24)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 14:16:08 | 0.056s | Q:45