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

#1 2008-06-11 15:36:33

MrWhiskers
Scratcher
Registered: 2007-05-25
Posts: 11

Got a Bug in new game?

My game is called Stickman. Im still working on it. The problem is that after the villian is destroyed i make him hide.  After that i walk to where he dissapeared. And he is still killing me even when he is hidden. I cant figure out whats wrong. Help me.  sad   sad   sad   sad   sad

http://scratch.mit.edu/projects/MrWhiskers/185964

Offline

 

#2 2008-06-11 15:47:37

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Got a Bug in new game?

I dunno why (Maybe I do. I dunno myself) but try using variables. Set alive to one, and when he hides, set alive to zero. Your stickman can only attack if alive=1


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#3 2008-06-11 17:06:26

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: Got a Bug in new game?

It is because you have not hidden the worm, you have ghosted it.

When it is ghosted, it is still there, you just can't see it.  When hidden, it is not there at all.  Put a "hide" block at the end of its death fade-out and it should be fine.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

Board footer