Finally, learning tables was hard.
Thank you Shaun, PCB, Kerm, and most of Cemetech.
I'll be posting most if not all of my programs that I intend to be playing with for Lua, coded with the help of http://www.love2d.org.
Note: If the file ends in .love, then you'll need the love framework to be able to run the program, otherwise, I will compile it into an .exe.
Snow falling from the sky, playing with tables.
https://www.dropbox.com/s/92k33l3uj1sfvsp/SnowV2.love
Now I'm using tables to represent bullets, and it works pretty well.
"A" and "D" to move left and right. "S" to shoot the bullets. (It actually makes a neat effect.)
https://www.dropbox.com/s/3ttqyolp86w4m23/Bullets.love
More table fun! I didn't know what color to make the tiny boxes, so a bit of a seizure warning. "C" to create boxes, use your mouse to delete them.
https://www.dropbox.com/s/6u81h8ybodf8ihp/TT.love
More to come!
Thank you Shaun, PCB, Kerm, and most of Cemetech.
I'll be posting most if not all of my programs that I intend to be playing with for Lua, coded with the help of http://www.love2d.org.
Note: If the file ends in .love, then you'll need the love framework to be able to run the program, otherwise, I will compile it into an .exe.
Snow falling from the sky, playing with tables.
https://www.dropbox.com/s/92k33l3uj1sfvsp/SnowV2.love
Now I'm using tables to represent bullets, and it works pretty well.
"A" and "D" to move left and right. "S" to shoot the bullets. (It actually makes a neat effect.)
https://www.dropbox.com/s/3ttqyolp86w4m23/Bullets.love
More table fun! I didn't know what color to make the tiny boxes, so a bit of a seizure warning. "C" to create boxes, use your mouse to delete them.
https://www.dropbox.com/s/6u81h8ybodf8ihp/TT.love
More to come!