|
#1
|
|||
|
|||
|
Hey,
As my first app for the Zen and first app written in Lua I made Snake. At the moment there is some more code in it than needed, but I made some preparations for thinks I want to add. Version 0.9.3 NEW: Pause using the power button 3 play modes Multiple collectables CHANGED: Bounds for touch FIXED: Turning issue TO DO: Create levels, independent user-set settings (Un)known issues: - Version 0.9 Coming: New menu with settings for different block size and snake speeds. Support for levels. More collectables. Known Issues: No sharp corners possible. After a turn there is always a straight part. Solved The controls are at the moment done by touching the screen. Touching the top half or bottom half will change the direction to up or down and touching the left or right half will change the direction to left and right. Almost like that. But the boundary is now dynamic, between the middle of the screen and the snake it's its head. Please let me know what you think. Remarks version 0.9.3: I still need to restyle the menu; ideas; suggestions and code is welcome. Delete the 4 lines of code at line 371 to remove the hardcoded background now in place as a test for levels. Uncomment some of the lines above that code to get more walls. In the menuMain() function you can change the speed of the snake if it too fast for you. Have fun. Update: Recently I (re)started playing games on my Zen. Ending up with playing snake for hours (in total...) But that's in the train, where I cannot edit the code. But maybe I will pick that up again soon. Last edited by Zaffo; 03-27-2011 at 10:46 AM. Reason: Update added |
|
|
|||
|
|
|
#2
|
||||
|
||||
|
Very nice app, works perfectly, and i love the fact that the top 10 highscores are displayed rather than just 1 or 3
__________________
Current Languages: -English |
|
#3
|
|||
|
|||
|
The code for saving and loading more than 1 highscore stays the same. When you add some more zeros to the highscores.lua file, more highscores are saved. But at the moment that only works if your score is in the top 10.
|
|
#4
|
|||
|
|||
|
yeah i could use it
|
|
#5
|
|||
|
|||
|
The contents of your .zip file are kind of a mess. But besides that, this is awesome!
|
|
#6
|
|||
|
|||
|
Quote:
You can delete all files ending with ~, you only need a main lua file and png image and the snakemenu.txt file.
|
|
#7
|
|||
|
|||
|
The latest version - 0.9.3 - should be without backup files.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 01:55 PM.












You can delete all files ending with ~, you only need a main lua file and png image and the snakemenu.txt file.
Linear Mode
