Stick Page Forums Archive

Making Another Sniper Game

Started by: AsSeenOnTV | Replies: 55 | Views: 2,536

zer0gravity
2

Posts: 490
Joined: Oct 2009
Rep: 10

View Profile
Jan 18, 2010 2:43 AM #537956
Well since everyones doing it...

I made a change to it =)

SWF:

http://www.truploader.com/view/881268
AsSeenOnTV
2

Posts: 989
Joined: Dec 2008
Rep: 10

View Profile
Jan 18, 2010 3:01 AM #537975
Somebody PLEASE explain to me why the elevator buttons don't work. (View - buttons)
http://www.truploader.com/view/920812

I would also like to get SPACE to work as the attack button instead of click. I have problems with that too.
zer0gravity
2

Posts: 490
Joined: Oct 2009
Rep: 10

View Profile
Jan 18, 2010 3:13 AM #537983
I figured out your problem.

you had this code on a movie clip.

on (release) {
gotoAndPlay(3);
}


when Its only permited for a button.

If you select the moviecliped elevator buttons then make them into buttons this code can be applied

Heres the download link to it:

click here
Fries
2

Posts: 1,158
Joined: Jul 2008
Rep: 10

View Profile
Jan 18, 2010 3:37 AM #537995
pretty fun it looks 50-50 so far
Scarecrow
2

Posts: 9,168
Joined: Oct 2005
Rep: 10

View Profile
Jan 18, 2010 3:43 AM #537998
Quote from zer0gravity
I figured out your problem.

you had this code on a movie clip.

on (release) {
gotoAndPlay(3);
}


when Its only permited for a button.

If you select the moviecliped elevator buttons then make them into buttons this code can be applied

Heres the download link to it:

click here



nonononono

don't use buttons, just use the movieclip button script



this.onRelease=function(){
gotoAndPlay(3);
}
zer0gravity
2

Posts: 490
Joined: Oct 2009
Rep: 10

View Profile
Jan 18, 2010 3:51 AM #538004
ooooo....


I didn't know that =)
Arch-Angel
2

Posts: 9,496
Joined: Jan 2007
Rep: 10

View Profile
Jan 18, 2010 4:08 AM #538017
I tried to tell you D=
zer0gravity
2

Posts: 490
Joined: Oct 2009
Rep: 10

View Profile
Jan 18, 2010 4:17 AM #538023
here is your file sir:

swf:Click Here

fla:Click Here

fixed it completely by:

Turning the elevator buttons into flash buttons

and

replacing the attack movieclip script with this one:

stop();
someListener = new Object();
someListener.onKeyDown = function (){
if (Key.isDown(Key.SPACE)){
play();
Key.removeListener(someListener);
}
}
Key.addListener(someListener);
AsSeenOnTV
2

Posts: 989
Joined: Dec 2008
Rep: 10

View Profile
Jan 18, 2010 7:19 AM #538070
This is what I have so far.
http://www.truploader.com/view/788232
-Didn't make outside scenes yet
-Floor 1 says 3, I'm retarded
-NO PROBLEMS

I appreciate the attention. This game would be nothing without you guys.
FoShizzle
2

Posts: 2,524
Joined: Jun 2007
Rep: 10

View Profile
Jan 18, 2010 7:39 AM #538073
That's pretty cool so far.
zer0gravity
2

Posts: 490
Joined: Oct 2009
Rep: 10

View Profile
Jan 18, 2010 8:46 AM #538089
sick ^_^ .
Scarecrow
2

Posts: 9,168
Joined: Oct 2005
Rep: 10

View Profile
Jan 18, 2010 9:46 AM #538100
Quote from AsSeenOnTV
This is what I have so far.
http://www.truploader.com/view/788232
-Didn't make outside scenes yet
-Floor 1 says 3, I'm retarded
-NO PROBLEMS

I appreciate the attention. This game would be nothing without you guys.


problem: when picking up the knife, i have two left arms if i stab
AsSeenOnTV
2

Posts: 989
Joined: Dec 2008
Rep: 10

View Profile
Jan 18, 2010 9:52 AM #538101
Quote from Scarecrow
problem: when picking up the knife, i have two left arms if i stab

I'm really not sure if it's worth fixing. This game's gunna be short anyway.
Scarecrow
2

Posts: 9,168
Joined: Oct 2005
Rep: 10

View Profile
Jan 18, 2010 10:13 AM #538106
sure it is

everything is worth fixing

all you need to do is make a variable disable the stabbing until the pick-up animation is finished
AsSeenOnTV
2

Posts: 989
Joined: Dec 2008
Rep: 10

View Profile
Jan 20, 2010 4:25 AM #538844
Update!
http://www.truploader.com/view/072994
-Things outside of elevator
-Death
-Sounds, music
-I'd like to find out how to get the HUB to go away when you're dead
-Option of stabbing the zombie on the first floor has not been made yet
Website Version: 1.0.4
© 2025 Max Games. All rights reserved.