|
#1
|
|||
|
|||
|
After a few day of intensive programming, in between intensive studying for my finals, i present to you... MISSILE COMMAND. In my version of this classic game the three turrets at the bottom of the screen each take a turn shooting. If the turret has been hit, then it is rendered nonfunctional. if all six of your cities are destroyed , or if all three of your turrets are destroyed, the game is over. You shoot your missiles by tapping the screen, although you can not shoot below a certain point on the screen. I made it this way so that you can not blow up your own cities or turrets.
Find a bug? Tell me about it, and I will look into it. Feedback is appreciated, and for coders, if you would like to tell me better ways to do things, i would love to hear from you. note: while playing the game i realized it may be too easy, so i made it a little harder. Last edited by visionary m; 12-16-2010 at 06:02 PM. Reason: fix the lingering circles farther in the game. |
|
|
|||
|
|
|
#2
|
||||
|
||||
|
Hey! I've had a thought of maybe.. some time... in the unforseeable future.. make this game =P Though.. with my track record of not working on Neko Apprentice I guess it's out of the question anyway.
Will try this out some day when I get the time, and also check out the code to see if I can find anything to learn or teach =P
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#3
|
||||
|
||||
|
Hey! i was in the middle of making this game !, ill test out yours, well looks like i need to find a new game to make
.
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#4
|
||||
|
||||
|
Hehe, seems a lot of us had this idea, you got it done first. Doesn't prevent anyone from having a crack at it though to give their personal touch to the game ^^
Nice to see some fresh Dev blood here, as most have fallen off the grid, and I myself don't have much time to spare.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#5
|
||||
|
||||
|
Right now i am busy learning how to read a binary file from the zen along with some very intersting features in lua i have never known about,
http://www.amazon.com/Programming-Lu...2117520&sr=8-1 is a very good lua book. Any way this is a very nice missle command you have here, i like how you handle the explosion, the pixals going out and in
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#6
|
|||
|
|||
|
i have been interested in that book for a while, i looked at a few bookstores, but i couldn't find it. i think that you should keep going on missile command jbob, i want to see how you do it, anyway it will probably be better than mine in the end. are you planning on making separate levels, with limited ammo, or what.
|
|
#7
|
||||
|
||||
|
I am quite surprised on how good yours it
i might have to take your explosion code lolso ya i am basically trying to replicate this:http://www.classicgamesarcade.com/ga...e-command.html might add the music(wavecrave, lol that has been dead for ever) basicallily i am trying a new style of programming on this project so i am going a little slower, here is what i got , just testing functianlity right now. As for the book it is a MUST i learned so much usfull stuff about Coroutines. Man they are SO usefull especially the Coroutines.yeild()
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#8
|
||||
|
||||
|
Hmmm *Googles Coroutines.yeild()* .. that looks like multitasking??
![]() But does it work on the X-Fi2? I was kinda suspecting not, since we were a bit limited here.. or at least I thought.
__________________
this is a link to my personal homepage which I haven't |
|
#9
|
||||
|
||||
|
http://en.wikipedia.org/wiki/User:Th...oroutine_table
i dont see why not, heres a quick example of a coroutinne(basicly a complex way of function) this is just a simple example Code:
counter = coroutine.create(function ()
for i=1,10 do
print("counter",i)
coroutine.yield()
end
end)
Usage:
coroutine.resume(counter)
when you have a yeild it turns the courtine to suspended( i think) thous you can call upon it again when i is above 10 the courtine will not run because it is dead and the results will be: when you call it i = i+1 and ends
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#10
|
||||
|
||||
|
This thread is specifically about Visionary m's missile command app, please create a new thread to discuss the new Lua findings.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#11
|
||||
|
||||
|
After a bit of testing the game on my player i noticed it pauses sometimes when you shoot, not sure what is causing this right now.
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#12
|
||||
|
||||
|
awsome game! you should add that fade in effect to it like in the 1misslecommand.zip
__________________
I wUz he3R
|
|
#13
|
||||
|
||||
|
Quote:
1. after some more testing inbetween studding for finals draw.line can not handle the converted format, i will see if i can not make a conversion that will allow something similiar.Also this app will even pause on the sim? you might want to try to memoize(trading the memories ram for speed) (very possible/ huge saving scheme). when you call functions that require much processing power when called like: loadstring(stringname) it drasticlly slows down, or even to a point stops the app temporaily, i am not sure if this will help in your case or not but here is how it is done: Code:
local results={}
function mem_loadstring (s) -- or whatever the power consuming function is or you could do: function memoize(called function)
local res = results[s]
if res == nil then --if no saved results
res = assert(loadstring(s)) --then create the results
results[s] = res -- save the finding to a table
end
return res -- return the recuired results
end
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball Last edited by jbob182; 12-13-2010 at 03:43 PM. |
|
#14
|
|||
|
|||
|
that sounds good, but would that really be helpful, since there is so much randomness in my program. with the lines all being determined by either random x values, or a touch from the user?
|
|
#15
|
||||
|
||||
|
the one thing i thought that this could be used for ir explosions, create all the possible outcomes for colors, save it and just have the explosion set at 0,0 and just add whatever has been touched to the location or however, ill look through your code for and spots to speed up.
-------------------------------- I noticed you have 2 while loops, why? you can just put gameloop() in a while true do also here is a quick solution to the adk crash: Code:
if highscore == nil then
highscore=0
end
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball Last edited by jbob182; 12-15-2010 at 07:44 PM. |
|
#16
|
|||
|
|||
|
yeah, you are right about the gameloop, i kind of just experimented a little to get something to work, I don't think i will change that now, but in the future i will do that. i guess that would work with the explosions wouldn't it. i really don't know if i want to mess with that right now though. thanks for the fix for the crash, i don't know why i didn't think of that.
|
![]() |
| Tags |
| arcade, classic, retro |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 04:10 PM.











.
i might have to take your explosion code lol
I wUz he3R
Linear Mode
