The Daily Click ::. Forums ::. Klik Coding Help ::. Annoying glitch in platform games?
 

Post Reply  Post Oekaki 
 

Posted By Message

DerKaiser



Registered
  24/05/2012 20:40:43
Points
  3
24th May, 2012 at 24/05/2012 20:53:44 -

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
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
25th May, 2012 at 25/05/2012 07:01:44 -

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
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
25th May, 2012 at 25/05/2012 15:51:28 -

I think that bug happens when you 'restart frame' Try jumping to 'frame no. X' to fix it.

 
.

vetmora120



Registered
  07/01/2010
Points
  273
26th May, 2012 at 26/05/2012 09:29:29 -

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

 
n/a

vetmora120



Registered
  07/01/2010
Points
  273
26th May, 2012 at 26/05/2012 09:30:16 -

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

 
n/a
   

Post Reply



 



Advertisement

Worth A Click