respawn

Talk about making games.

respawn

Postby CdaMarinersFan » Wed Dec 14, 2005 5:24 am

Hmmm... I'm having a hard time getting a ship to respawn from a timer it (the ship) creates on event destroy actor. Anyone got suggestions? I want the ship to respawn after a five-second timer is up, and it is counted only once.
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score

Postby plinydogg » Wed Dec 14, 2005 2:47 pm

I have had similar issues before...the problem may be the fact that you are creating a timer on an actor that is then destroyed. That is, when you destroy the actor, it might destroy the timer along with it.
plinydogg
 
Posts: 104
Joined: Thu Aug 25, 2005 8:34 pm
Score: 0 Give a positive score

Postby StarFishDesign » Wed Dec 14, 2005 3:33 pm

Together with the destruction of the Actor create a new Actor (which is invisible, a Smiley-Only actor). And on this actor create a new Timer... if this timer reaches the 5 secs mark... re-create your ship-actor.

Should work...
Regards
--
www.starfishdesign.at | Webdesign & Gamestudio
ironfury | the menace | Space Shoot'em up for WindowsMobile
User avatar
StarFishDesign
 
Posts: 39
Joined: Sun Dec 04, 2005 7:27 pm
Location: Austria
Score: 0 Give a positive score

Postby CdaMarinersFan » Fri Dec 16, 2005 12:01 am

shall try that... thx...pretty good idea...ah, man. I already needed an actor saying "Respawning Player *", I could just use that rofl
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score

Postby CdaMarinersFan » Fri Dec 16, 2005 5:04 am

Want to know another glitch? try "access violation 0x0045DF46 (tried to read at 0x0000018E), program terminated."! Makslane, you really need to help me with this, else no one may be able to play my game...
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score

Postby makslane » Fri Dec 16, 2005 12:10 pm

Send me the game, and tell me how can I repeat the error.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby CdaMarinersFan » Fri Dec 16, 2005 11:43 pm

I'll send the game by email, then try to destroy any ship (besides Player 3, it doesn't shut down on it, dunno why...) use arrow keys to move Player 3 and down is to shoot...
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score

Postby makslane » Sun Dec 18, 2005 1:57 pm

I didn't receive. Make sure put the subject of this thread in the email
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby CdaMarinersFan » Mon Dec 19, 2005 2:22 pm

didn't send it yet :) went to Seattle before trying to, but I'll try to send it on PM, since Hotmail & Yahoo think it may contain a "virus", in which it doesn't.
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score

Postby makslane » Mon Dec 19, 2005 4:51 pm

To avoid this crash now, in the actor p4respawn -> Timer -> Create Actor don't set the parent to 'Parent Actor'.

This crash will be fixed in next version.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby CdaMarinersFan » Mon Dec 19, 2005 11:50 pm

whew, how'd you come up w/ that?

must take some micro :D rofl
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest