The Daily Click ::. Forums ::. Klik Coding Help ::. help, character destroyed when too far off the frame
 

Post Reply  Post Oekaki 
 

Posted By Message

Psychosanity



Registered
  03/06/2008
Points
  8
3rd June, 2008 at 14:26:27 -

im haveing a problem where my character keeps dissapering when i move too far of the screen. i have 'destroy object when too far off the frame' and 'inactivate object when too far off the frame' disabled. so any ideas why it's doing this?

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
3rd June, 2008 at 14:33:20 -

What kind of game is it?

If it's a platformer, with gravity (i.e the player falls until it hits an obstacle) then if there's no continuing obstacle when you leave the frame, the character will continue to drop.

 
My signature is never too big!!!

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
3rd June, 2008 at 18:04:50 -

It may be a position bug, you might have it setting a large (or negative) X or Y value accidentally. Search through your code for that or an extra "destroy" event.

 

  		
  		

Psychosanity



Registered
  03/06/2008
Points
  8
4th June, 2008 at 13:21:37 -

yeah it's a platformer, i'll check on those things thanx!

 
n/a

Psychosanity



Registered
  03/06/2008
Points
  8
4th June, 2008 at 13:31:07 -

nope sry, he's not falling through the floor and i can't find any position errors or extra destroy events

 
n/a

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
4th June, 2008 at 14:10:11 -

You also have the ever-important "handle background collisions outside of window" checked for the frame, correct?

 
Go Moon!

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
4th June, 2008 at 16:15:28 -

This may be one of those share-your-code-so-others-can-look situations... I hate those, because I'm paranoid that someone will steal my stuff... Maybe you could even just send an already-compiled version, it may be something we can detect at runtime.

 

  		
  		

Psychosanity



Registered
  03/06/2008
Points
  8
4th June, 2008 at 23:12:34 -

i have the global collision thing activated. but i found out he is actually falling through the floor when off screen. i've tried everything i can think of but he's still falling through the floor. old man will you look at my code?

 
n/a

Retrever

Sin Binned (Broke The Rules)

Registered
  02/05/2008
Points
  -50
5th June, 2008 at 00:34:11 -

Uncheck the "destroy if too far from screen" checkbox and inactivate if too far from the screen thingy.

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
5th June, 2008 at 05:41:41 -

I think maybe he fell off the frame or something. Go upload your code somewhere so we can see what it does

Oh, BTW, try to use proper spelling and grammar. That might work for SMS, but it's seriously going hurt you on the Internet (here)


Originally Posted by stillnoct
Uncheck the "destroy if too far from screen" checkbox and inactivate if too far from the screen thingy.


Lol, he did that.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Psychosanity



Registered
  03/06/2008
Points
  8
5th June, 2008 at 12:34:30 -

Alright here is my game... www.snapdrive.net/qs/f0171ea1c26b

The problem is waddle dee keeps falling off the screen when kirby goes too far left or right.
Thankyou for any help and remember please dont steal this code

 
n/a

Psychosanity



Registered
  03/06/2008
Points
  8
5th June, 2008 at 12:53:07 -

oops nevermind. i fixed it! i accidently sent the fixed version. so you're free to check out the engine im makeing and give me some pointers. thanks!!!

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
5th June, 2008 at 16:27:37 -

Very VERY nice engine. Props!

 

  		
  		

Fish20



Registered
  03/12/2007
Points
  263

VIP MemberPS3 OwnerI like Aliens!I'm a Storm TrooperIt's-a me, Mario!I am an April FoolPicture Me This Round 48 Winner!
5th June, 2008 at 23:01:56 -

Wow! I am WAAAAAAAAAAAAAAAAAAAY! too lazy to make these huge engines. Thats why I use
extensions. But if i used an extension, it wouldnt be as good as this platform movement. Great job!

 
All your base are in another castle, take this.

Psychosanity



Registered
  03/06/2008
Points
  8
7th June, 2008 at 21:23:29 -

thank you guys! i was hoping it was neatly organized

 
n/a
   

Post Reply



 



Advertisement

Worth A Click