JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 Yeah, got it now. Thanks for that - i've attached the icon to the first post.
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 Made some of your changes (Jackit) but left out the tray icon. Far easier just to hit escape. Updated the rules too.
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 Well, I was thinkin about making levels. Like, a target number you have to reach, with levels that have some fixed walls inside the playing area.
notta Posted March 31, 2008 Posted March 31, 2008 Changing the color of the termite button would help a lot. It's hard to see the termite when you're snake gets long.
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 (edited) Changing the color of the termite button would help a lot. It's hard to see the termite when you're snake gets long. Yeah, I thought the same thing. Can anyone tell me how to change colour of GUI buttons (without using graphics for buttons)? Edited March 31, 2008 by JonnyThunder
Fabry Posted March 31, 2008 Posted March 31, 2008 I inserted this code: GuiCtrlSetData($termite_segment_handle, $snake_termite_pattern) GUICtrlSetBkColor($termite_segment_handle, 0xff0000) When the termite is added, it is colored of red to be more visible. A lan chat (Multilanguage)LanMuleFile transferTank gameTank 2 an online game[center]L'esperienza è il nome che tutti danno ai propri errori.Experience is the name everyone gives to their mistakes.Oscar Wilde[/center]
DexterMorgan Posted March 31, 2008 Posted March 31, 2008 Ha New Personal High Score!! 149!! lol very fun game code
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 Wicked. Thats the command I was lookin for to colour the whole snake. Nice one fella.
Swift Posted March 31, 2008 Posted March 31, 2008 Aww, everyone's beat my high score... I really think you should have levels, like 20 for level 1 then 20 for every level after that, if you get 300, you beat the game!
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 (edited) Thanks Fabry. have colourised the whole snake now. Was lookin for that damn function for AGES!!Version 1.4.2 is now available! - ButtonSnake... NOW IN COLOUR!! ... LOL Aww, everyone's beat my high score... I really think you should have levels, like 20 for level 1 then 20 for every level after that, if you get 300, you beat the game! Am lookin into a level function for it. Say, 100 points to clear a level - but with fixed walls to avoid. May be hard with the termites tho! Edited March 31, 2008 by JonnyThunder
Swift Posted March 31, 2008 Posted March 31, 2008 I'd have a option to remove the termites option, because sometimes, the termite appears, and 2 seconds later, it says I died...?
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 You can remove them. $Use_Termites=false Though, usually if that happens - it's cos you didn't notice it in time. Try the colour version instead - much easier to spot. The termites are setup to always be generated within the half of the worm closest to the head. I've never seen it mess up tho. Anyone else?
Swift Posted March 31, 2008 Posted March 31, 2008 Yay, I like the new version, you should have a option at start to change the color though..
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 All the colours are definable variables.... $snake_head_colour $snake_body_colour $termite_colour I did have colouring for the apple too, but it didn't look right so I ditched it. Working on levels now!
Swift Posted March 31, 2008 Posted March 31, 2008 All the colours are definable variables.... $snake_head_colour $snake_body_colour $termite_colourI did have colouring for the apple too, but it didn't look right so I ditched it.Working on levels now!Awesome! I havn't really looked at the script , only played the game!
Swift Posted March 31, 2008 Posted March 31, 2008 I bet you wont belive me, but, my total score with the new version is: 387!!!!!
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 (edited) I've just added a level editor to the original post. Anyone who wants to design some levels, please feel free. All you gotta do is run the script, click on the boxes that you want to be walls (they will turn black). When you're done, copy the text in the input box at the bottom and paste it into a post in this thread. Remember though!! The snake actually has to move around in this, so anything enclosed wont make much sense. Nor will anywhere that you can't turn the snake around! Examples: Straight_Line_Level|13,5|13,6|13,7|13,8|13,9|13,10|13,11|13,12|13,13|13,14|13,15|13,16|13,17|13,18|1 3,19|13,20|13,21 Crosshair_Level|5,13|6,13|7,13|8,13|9,13|10,13|13,5|13,6|13,7|13,8|13,9|13,10|13,16|13,17|13,18|13,1 9|13,20|13,21|16,13|17,13|18,13|19,13|20,13|21,13 Edited March 31, 2008 by JonnyThunder
JonnyThunder Posted March 31, 2008 Author Posted March 31, 2008 Thats what im working on now. The new version will basically have a list of inbuilt levels which you'll run through. You will be able to change them if you like - im just looking for some samples now. I could do it myself, but im busy writing the code!
JonnyThunder Posted April 1, 2008 Author Posted April 1, 2008 Lol... love it. Next release i'll put those sounds in and release as a package.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now