Another early tanks game
Posted: Wed May 20, 2009 9:44 pm
Hi all
I'm trying to make a clone of the wii game 'tanks' where it's from one to four player and the goal is to destruct the enemy tanks.... so...... i've get some of the programs in the forum and i've done something....... not the game
First
The map is made with mappy and exported with the script tolua.lua .... for the script to work, only edit the file mappy.ini and edit one of the custom lines to appear like this:
lua16=tolua.lua
then, copy the script tolua.lua to the luascr directory and reopen the mappy program
I've make the map that is in the love file.
Second
I've get some examples from here nimball, zgeigcopters and anothers and get ideas from them, the result is this frankenstein
for the moment we only can to move the tank (arrow keys) and shot with space bar....... but shot five shots every time..... i've no idea WHY aaaaaaaarg
someone can help this programmer?
sorry for my english and thank you all, without the examples here, this is not posible to make this little example
Update1: I've forget that the code to 'make' the Walls (up down right left) is'nt 'automatic' jejejee
Update2: I've see when the five shots bump 5 or 6 times.... they cross the walls and there is not more 'boing' 'boing'
I'm trying to make a clone of the wii game 'tanks' where it's from one to four player and the goal is to destruct the enemy tanks.... so...... i've get some of the programs in the forum and i've done something....... not the game
First
The map is made with mappy and exported with the script tolua.lua .... for the script to work, only edit the file mappy.ini and edit one of the custom lines to appear like this:
lua16=tolua.lua
then, copy the script tolua.lua to the luascr directory and reopen the mappy program
I've make the map that is in the love file.
Second
I've get some examples from here nimball, zgeigcopters and anothers and get ideas from them, the result is this frankenstein
for the moment we only can to move the tank (arrow keys) and shot with space bar....... but shot five shots every time..... i've no idea WHY aaaaaaaarg
someone can help this programmer?
sorry for my english and thank you all, without the examples here, this is not posible to make this little example
Update1: I've forget that the code to 'make' the Walls (up down right left) is'nt 'automatic' jejejee
Update2: I've see when the five shots bump 5 or 6 times.... they cross the walls and there is not more 'boing' 'boing'