Snake Digital Screen

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,532
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 4, 2009

No description available.

Category:

News & Politics

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (cjozsa)

  • I read somewhere in the wire wiki that the minimum value for interval() is 20, all values below 20 get changed to 20. Still, at 50 steps per second your game should run pretty fast.

    Couldn't you just use wirelink to interface with a RAM chip and use that as though it was an array? 64K should be more than enough for a snake game.

  • Yes, i could have used RAM. I chose not to - I like doing things minimally.

    Expression 1 has a min interval of 20

    Expression 2 has a min interval of 10

  • duuud!! You did all this with exp 2? Not CPU?

    AWSUM!!

  • indeed, which is why it has a maximum length.

    however, since making it - tables/arrays have been added to E2, so i could now make it go forever.

  • That is indeed quite impressive. I once made a crappy version of pong using the wire CPU and a Screen. How did you make the expression run quickly enough to make the screen refresh so smoothly? And how do you store each piece of the snake? Is there a RAM chip?

  • I stored them in a lot of variables, then shuffled the values of where it had been up the variable stack. Essentially i built my own small array with variables.

    ie. X1 X2 X3 .... X30 and the same for Y positions.

    interval(10) makes the program run 100 cycles a second, which is more than enough.

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • Sorry, but you're voice is annoying.

  • Please can you upload the code?

  • excellent dude

  • Your knowledge of Gpu and the likes scares me. can you write down the links to download all the tools for this (as well as the giant screens, still cant find them) 5/5

  • omf Garry :O

  • It's 10

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more