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

#1 2010-07-04 06:49:49

tadman
New Scratcher
Registered: 2010-06-21
Posts: 1

how can i make a sprite come back to life

i'm making a zombie game but if i make like 100 zombie sprites it eds up lagging. can i make just a few that when they die, come back to life in a few seconds?
would be very gratefull for any help:)

Offline

 

#2 2010-07-04 07:13:47

Greentabby55
Scratcher
Registered: 2010-05-04
Posts: 50

Re: how can i make a sprite come back to life

When they die, hide them and send them to the beginning of the game. Then show them.

Last edited by Greentabby55 (2010-07-04 07:14:12)

Offline

 

#3 2010-07-04 11:16:21

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: how can i make a sprite come back to life

You could make them have a "Dead" costume and stamp that on the screen right before they hide and respawn.


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

Board footer