space invaders
- Started
- Last post
- 18 Responses
- g3kk0k1d
im creating space invaders arcade out of a old jtop and a 6TFT screen
does the following code look right for the speed of the Invaders
if (nVaders < 21) {
speed = 10;
}if (nVaders < 11) {
speed = 8;
}if (nVaders < 6) {
speed = 6;
}if (nVaders < 4) {
speed = 3;
}if (nVaders < 2 ) {
speed = 2;
}sorry for the stupid long post
- Kuz0
eh?
- silencer0
can we see it on screen?
- silencer0
the game I mean.
- Kuz0
maybe u shud clarify what the variables are so we can see if it looks right or not. like:
inVader._x = inVader._x + speed
or something. in a loop. dunno. my AS is basic and sucky.
- MR_T0
I think he's referring to the fact that as you get less and less invaders on the screen, they speed up.
Which is what your code sugegsts is the case
- Kuz0
oh i see.
But they appear to be slowing down as you get less and less inVaders.
- MR_T0
would helkp if i oculd read this morning.
Yes, they do seem to be slowing down.
- silencer0
Its all clear now.
- MR_T0
the real question is, why are we bothering?
- popeluke0
WTF. Show of your f***** programming skills on www.Iamageekandwanttoshow.of
peace
- silencer0
angry!
- MR_T0
I doubt that 4 'if' statements would be copnsidered worthy of the 'I am a geek' site you are referring too
- Kuz0
I doubt that 4 'if' statements would be copnsidered worthy of the 'I am a geek' site you are referring too
MR_T
(aug 9 04, 01:56)
--------------------------------...
haha
- silencer0
lol
- popeluke0
if geek =/ normal
if u =/ normal
u (balls) < normal (balls)
u = geekif if if, dude your clearly on the wrong page. (as u can see i am bored at work)
peace
- silencer0
Dude I tested your code, and it doesn't work properly :|
- fluo0
Do you guys know about the artist, space-invader ?
The scale of his work is fantastic.
you've pobably seen his mosaics around town/
He invaded Paris, Geneva, Tokyo, NYC, Rotterdam, Manchester, Bern, Montpellier, Los Angeles, Perth, Lyon, Avignon and Grenoble.
- silencer0
love it, hadn't seen those maps before, cheers for the link fluo