|
Posted By
|
Message
|
 DerKaiser
Registered 5/24/2012 8:40:43 PM
Points 3
|
24th May, 2012 at 5/24/2012 8:53:44 PM -
Hey all, I'm working on a platform game in the original Games Factory, but I've hit a snag.
Whenever my character dies, the level is supposed to restart. However, when it restarts, it gets really glitchy, and the objects will be haphazardly placed all over the screen, often trapping the character within a background object. It's almost like the spot where you died "comes with" the character back to the start of the level and lays on top of the proper background.
Any idea what the problem is?
Thanks.
Klik-ing since 2002.
______
Tried to run, tried to hide,
Break on through, to the other side!
|
 Chris Burrows
Registered 9/14/2002
Points 2396
|
25th May, 2012 at 5/25/2012 7:01:44 AM -
I remember the original Games Factory had issues when using Paste Into Background. You using that?
By the way, MMF2 and even TGF2 are infinitely better and less glitchy than TGF. Should look into it...
n/a
|
 AndyUK Mascot Maniac
Registered 8/1/2002
Points 14165
  
|
25th May, 2012 at 5/25/2012 3:51:28 PM -
I think that bug happens when you 'restart frame' Try jumping to 'frame no. X' to fix it.
.
|
 vetmora120
Registered 1/7/2010
Points 281
|
26th May, 2012 at 5/26/2012 9:29:29 AM -
If that doesn't work you could try a technique I used to use back in the old days.
I'd create a blank frame, for this exercise just call it 'death'. Now we're going to add an event in this frame: at start of level jump yo previous frame.
Then whenever your character dies, jump to this frame.
The thing with this though is you need to copy this frame after every level. Unless you use a system that stores the number of the frame when you die and have the death frame jump to whatever frame that was using the variable
The universe of Vetmora.
|
 vetmora120
Registered 1/7/2010
Points 281
|
26th May, 2012 at 5/26/2012 9:30:16 AM -
If that doesn't work you could try a technique I used to use back in the old days.
I'd create a blank frame, for this exercise just call it 'death'. Now we're going to add an event in this frame: at start of level jump yo previous frame.
Then whenever your character dies, jump to this frame.
The thing with this though is you need to copy this frame after every level. Unless you use a system that stores the number of the frame when you die and have the death frame jump to whatever frame that was using the variable
The universe of Vetmora.
|
|
|
|