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

#1 2012-12-22 21:36:15

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

Stuck Once Again...

i want my character to not move AFTER he has died. that means the player not being able to move with WASD or the arrow keys, but the game freeze.

when gf clicked
forever if <touching color [RED]>
play sound [f2f_hitg]
switch to costume [Death1 v]
wait (0.05) secs
switch to costume [Death2 v]
wait (0.05) secs
switch to costume [Death3 v]
wait (0.05) secs
switch to costume [Death4 v]
wait (0.05) secs
broadcast [Game Over v]
stop script


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

#2 2012-12-22 21:50:05

Secretmapper
New Scratcher
Registered: 2012-12-10
Posts: 27

Re: Stuck Once Again...

Just add a stop on the movement block

Offline

 

#3 2012-12-22 22:02:49

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Stuck Once Again...

Won't Blooming Workkkkkkkkkkk!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I Will Kill Myself!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

#4 2012-12-22 22:10:03

Secretmapper
New Scratcher
Registered: 2012-12-10
Posts: 27

Re: Stuck Once Again...

It's incredibly hard to help you without seeing all the code. Is it possible for you to upload it, then I will try to look into it and possibly give you a solution to the problem?

Offline

 

#5 2012-12-22 22:16:51

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Stuck Once Again...


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

#6 2012-12-22 22:30:38

Secretmapper
New Scratcher
Registered: 2012-12-10
Posts: 27

Re: Stuck Once Again...

Fix:
  1.Create a Variable named Alive
  2.On stage, when gf clicked set Alive to 'true'
  3.Change every 'forever block' in movements to forever if, adding an operator checking: 'forever if <alive=true>'
  4.???
  5.Profit!

That fixes it...

Offline

 

#7 2012-12-22 22:40:44

Secretmapper
New Scratcher
Registered: 2012-12-10
Posts: 27

Re: Stuck Once Again...

oh and be sure to add a set Alive to false when red is touched

Offline

 

#8 2012-12-23 02:13:16

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Stuck Once Again...

Duplicate topic. (link to original topic)


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#9 2012-12-23 05:32:37

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

Re: Stuck Once Again...

jontmy00 wrote:

Duplicate topic. (link to original topic)

Closing - Please don't make duplicate topics.  Just keep adding new posts to the old topic.


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

Offline

 

Board footer