Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Snake Game

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Location
    Switzerland
    Posts
    11

    Snake Game

    After hearing many interesting things about this great new platform Slimdevices is building, I could not hold back any longer.

    Here my first little piece of software, the Snake game.

    I somehow get the impression that the Jive platform is going to be another game console ;-)

    Kind regards
    Lukas

  2. #2
    Slim Devices Developer fcm4711's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    886
    Hey Luki

    Now I know why you wanted to go home early yesterday. I guess you had a long night then too. Anyway runs great.

    See you
    Felix
    Programming is the art of cleverly arranging bits and bytes. - (c) Felix Mueller

  3. #3
    Junior Member
    Join Date
    Jul 2007
    Location
    Switzerland
    Posts
    11
    Hi Felix

    It took some time to get used to Lua, and the programming style has plenty of room for improvement ... but it runs.

    Luki

  4. #4
    Senior Software Engineer - Logitech/Slim Devices
    Join Date
    Apr 2005
    Location
    Ipswich, UK
    Posts
    1,394
    Hey Lukas,

    Another cool game for Jive Could you make it work with the scroll events too? That would be great.

    Thanks,
    Richard

  5. #5
    Junior Member
    Join Date
    Jul 2007
    Location
    Switzerland
    Posts
    11
    Quote Originally Posted by rtitmuss View Post
    Hey Lukas,

    Another cool game for Jive Could you make it work with the scroll events too? That would be great.

    Thanks,
    Richard
    Hi Richard

    I am going to steal it from the Space Invader ... (I asked the guy next desk for permission :-) )

    How can I test it on the emulator? (short cuts or hotkeys)

    Regards,
    Lukas

  6. #6
    Senior Software Engineer - Logitech/Slim Devices
    Join Date
    Apr 2005
    Location
    Ipswich, UK
    Posts
    1,394
    The cursor keys: up/down=scroll, right=go, left=back.

    Thanks!

  7. #7
    Junior Member
    Join Date
    Jul 2007
    Location
    Switzerland
    Posts
    11

    Improved version of Snake game

    I tried to include all wishes and did some optimizations.

    - Snake length starts from initial value after loosing a live
    - Scroll support: scroll up/down now turns left or right
    - Lower volume on sound effect
    - Additional sound effect
    - Automatic resizing to screen --> works on large emulators screens now

    Any comments are welcome.

    Could someone with "real" hardware try and provide feedback about user experience and performance?

    Thanks, Lukas

  8. #8
    Senior Software Engineer - Logitech/Slim Devices
    Join Date
    Apr 2005
    Location
    Ipswich, UK
    Posts
    1,394
    The game seems to work well on the target platform, but suffers from the same control lag as I've seen on space invaders. I think the input events must be queuing, and are not being processed quickly enough. I have not had time to investigate this yet.

    Richard

  9. #9
    Senior Member
    Join Date
    Apr 2005
    Posts
    351
    I want to install this game on the Jive remote. Where should I put the files?

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Posts
    351
    Quote Originally Posted by sbjaerum View Post
    I want to install this game on the Jive remote. Where should I put the files?
    I figured out that I should put the Snake directory in /usr/share/jive/applets/
    I did this and turned Jive off then on. I then get a 'Games' line in the root menu of Jive, but when entering Games, it is empty. No messages in the console. Is the version posted here too old?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •