This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-01 18:53:58

FPSer
New Scratcher
Registered: 2011-07-01
Posts: 3

Help with game please.

I'm working on an FPS, and one of the things I'm trying to do is have an ADS (Aim Down Sights) system. Unfortunatley, the way I have it scripted it is impossible to return to hip fire from ADS, unless you hit z before x, in which case it is impossible to return to ADS. Can someone help me out here I have no idea what to do. It's my only project shared please look.

Offline

 

#2 2011-07-01 20:10:50

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Help with game please.

Hey FPSer, looks like an interesting problem - I hope you find an answer!  I'm going to move this topic over to All About Scratch since that is where people looking for scripting help should post.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2011-07-01 20:46:13

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: Help with game please.

Hold on let me think about the scripts for your problem. (solution in the All About Scratch one).


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#4 2011-07-01 20:50:31

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: Help with game please.

Thescratch3 wrote:

Hold on let me think about the scripts for your problem. (solution in the All About Scratch one).

Woops this the All About Scratch one  tongue .

Okay, so here it is:
1. check if you have a forever when you go down.
If not, then try this:

When flag clicked
repeat until key z (and, or) key x pressed?
if key z (and, or) key x pressed?
go to x (starting position) y (starting position) or glide to starting positions
else
go to ADS or back to hip.

Hope this helped. Good luck on your new game.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

Board footer