

In this part of the series you've learned the interface and the basic setup of the game.
#Screen snake free full#
Screen Snake Plus is bringing some changes to the classic game: you get to play in full screen mode.
#Screen snake free for mac#
Free Download Screen Snake Plus for Mac 3.0.

Snake 2 is a PC version of the classic Snake. TitleView = display.newGroup(titleBg, playBtn, creditsBtn) This free remake of the classic Snake game breaks no new ground but can help kill a few spare. PlayBtn = display.newImage('playBtn.png', ntentCenterX - 27, ntentCenterY + 10)ĬreditsBtn = display.newImage('creditsBtn.png', ntentCenterX - 48, ntentCenterY + 65) TitleBg = display.newImage('titleBg.png', ntentCenterX - 100.5, 40.5) Now we place the TitleView in the stage and call a function that will add the tap listeners to the buttons. Next we'll create the function that will initialize all the game logic: Windows A Snake's Life PC Snake Free Collect as much food as you can as your snake becomes bigger. Local current = 0 -a number assigned to each partĭeclare all functions as local at the start. Free to try Pit your snake against a host of enemies and obstacles.

Local mConst = 17 -# of pixels to move every timer count Local dir -current direction of the snake This are the variables we'll use, read the comments in the code to know more about them. The next line handles the textfield that will display the scores. Eat and grow Play with left/right hand or use both hands. This graphic will be added each time the snake eats an apple. Most people looking for Screen snake free on pc downloaded: Snake Download 4.3 on 6 votes Snake is a classic game played by many on cell phones, PDAs, and calculators. The classic online Snake game allows to practice index, middle and fore-fingers. The status bar is the bar on top of the device screen that shows the time, signal, and other indicators. If you know ActionScript or Java, you should find the structure familiar.ĭtStatusBar(display.HiddenStatusBar) We'll structure our code as if it were a Class. Remember to save the file as a in your project folder. Open your prefered Lua editor (any Text Editor will work, but you won't have syntax highlighting) and prepare to write your awesome app. This file shows the original screen size and the method used to scale that content in case the app is run in a different screen resolution. We'll use Sound Effects to enhance the feeling of the game, the sounds used in this app were generated by AS3SFXR.Īn external file will be used to make the application go fullscreen across devices, the a file.
