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

#1 2008-09-14 22:28:53

empty
Scratcher
Registered: 2008-09-14
Posts: 1

Saving Bug

i am making a platformer game where two player fight each other and can pick up weapons like a sword,etc. in the form of powerups. the coding is correct but some of them dont work even though some may have the same coding. when i save my project only some of the powerups work and others dont. then of o save again the others work and the ones from before dont!!

Last edited by empty (2008-09-14 22:30:38)

Offline

 

#2 2008-09-15 08:54:21

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Saving Bug

I haven't seen your project (did you share it already?) but from your description it sounds like you might not be setting a default initial value for your variables and states such as initial location. Initializing should happen when the green flag is clicked.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

Board footer