Spaxe Lua
#1
Posted 20 January 2006 - 08:33 PM
I'm new of using Lua but I already made a little prog in Lua, it's called Spaxe because it's a space-impact like
the download is alvaible on the file sharing
Please tell me what do you think about it and how can I upgrade it well ^^
#2
Posted 20 January 2006 - 09:27 PM
Je suis content de voir un nouveau programmeur en Lua, on est tellement peu nombreux. Par contre je sugg?re de mettre un nombre limite de "missiles" qui se trouvent sur l'?cran, et aussi un d?lai entre chaque tir pour que ?a ne fasse pas trop "laser"
#3
Posted 20 January 2006 - 10:06 PM
#4
Posted 21 January 2006 - 08:19 AM
yes but he is French, I've seen his source codeDo you speak english kilburn? mdrrrr
#5
Posted 21 January 2006 - 12:23 PM
Killburn, I have limited the number of missiles at 15 (the 16th one is for kill a bug in the table rading)
I'll see for the delay between missiles.
Au fait si tu as une id?e pour lire toute une table, en enlever un ?l?ment et ne pas faire bugger la boucle (en indexant un champ inexistant du fait que la boucle va ? i alors que la tables est d?sormais de i-1) fais le moi savoir...
#6
Posted 21 January 2006 - 12:48 PM
It is excellent, but if you put a menu at start of it and add more options such as defining the number of enemies, it will be better.Please tell me what do you think about it and how can I upgrade it well ^^
#7
Posted 21 January 2006 - 03:20 PM
There won't be any bug if you try to index an empty field, you will just get a 'nil' value There are also several functions to iterate on table elements btw (see "pairs()", "ipairs()", "next()", ...)Au fait si tu as une id?e pour lire toute une table, en enlever un ?l?ment et ne pas faire bugger la boucle (en indexant un champ inexistant du fait que la boucle va ? i alors que la tables est d?sormais de i-1) fais le moi savoir...
#8
Posted 21 January 2006 - 04:17 PM
What do you think about using object on it ? can it be faster this way ?
#9
Posted 21 January 2006 - 05:10 PM
In real, the table 'ennemis' have tables as fields, then, if you want to acces like this table[i]1' /> you'll gat an error because this field is'nt a table anymore, that's why I decided to create one more missiles which will never be tested.There won't be any bug if you try to index an empty field, you will just get a 'nil' value There are also several functions to iterate on table elements btw (see "pairs()", "ipairs()", "next()", ...)
#10
Posted 21 January 2006 - 07:59 PM
#11
Posted 21 January 2006 - 11:21 PM
It's not really difficult to do but the prog will lag :s
An idea ?
#12
Posted 26 January 2006 - 08:37 PM
use the pen on the menu
#13
Posted 27 January 2006 - 12:04 AM
#14
Posted 03 February 2006 - 01:27 PM
Cooooool!There is another version, the b1.1 alvaible on file sharing, whith a Menu
use the pen on the menu
#15
Posted 04 February 2006 - 04:31 PM
Does someone have an idea anyway ?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users