Image collision: See several threads down for my box collision snippet.
Random Scenery: Use/Create a random number generator to choose between a tree/rock and place it on the slope (off screen) at a random position.
Hey i tryinmg to port my own game i made in shockwave a couple of years ago....
http://www.maclabbet.com/badmongo/game
I have managed to get the player to move.
and a lot of stuffs but i have problems with image collision.
can some one please help me with image collision.
and randomizing the trees and stones.?
here is the game .
http://www.maclabbet.com:16080/badmo...ler/sdhlua.zip
Image collision: See several threads down for my box collision snippet.
Random Scenery: Use/Create a random number generator to choose between a tree/rock and place it on the slope (off screen) at a random position.
i looked at your box collision snippet.. but to hard to implent in my game... but i managed to fix it anyway.
a bit simpler but its working...
anyway now i have an other question. can you call an php script on an webserver....
like this. http://domain.com/luahighscore.php?name=xxxxxx&score =xxxxx
and can i then read the highscore from a TXT file stored on a webserver?
i don't think you can do a php script. but take a look at netlib 2.0. it might help. why would you want it on a server? you can make a file that stores it.
If you want to keep the high score, then there are functions in Luaplayer that can read and write to files on the memory card.
ok i eill try to make some kind of highscore. .. but i think it will be cool. to have an higscore for everyone online.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks