The Daily Click ::. Forums ::. Klik Coding Help ::. Objects mysteriously vanishing!
 

Post Reply  Post Oekaki 
 

Posted By Message

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
13th October, 2008 at 04:44:04 -

Someone help me here, in my game Base Defender there is a highly peculiar bug present. It doesn't happen often at all, but when it does, it really screws you over!
Between "rounds" bases can sometimes instantly disappear! I am sure it is not a coded bug, but rather a more subtle, devious one. Like bad objects and stuff, that kind of thing, cause strange graphical glitches can accompany it, like the "info screen" stops working. What could cause this kind of result? I have checked my code very thoroughly, the problem isn't located there.

This is the game if someone wants to se what I am referring to:
http://www.create-games.com/download.asp?id=7407

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

erghhhhx



Registered
  15/11/2007
Points
  311

Mushroom
13th October, 2008 at 06:48:00 -

Maybe stupid suggestion..

Raise maximum objects..?

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
13th October, 2008 at 07:09:02 -

That's the first thing I thought aswell. What's your max object limit on the game frame?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
13th October, 2008 at 19:06:07 -

Thanks for the help, but that's not the issue, it's set to 3000, and the maximum amount of objects at any given time is between 700-900. But that is only in the last rounds with guns blazing. And this bug occurs inbetween rounds, when there is only about 80-130 actives.

Any other suggestions?

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

3kliksphilip

Addict

Registered
  20/11/2007
Points
  14900

VIP MemberGOTM - MAY 2009 - 2ND PLACE!The SpinsterGOTM -NOVEMBER 2009 - 2nd place!2021 Time Trial by Fire competition winnerChristmas Game Creator!
13th October, 2008 at 20:38:42 -

If you'd like me to I'd look at the coding and see if I can spot anything.

I promise I won't steal it or anything.

 
Don't aim for perfection- you'll miss the deadline

'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'

-Mr Tom, 2010

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
14th October, 2008 at 00:49:34 -

That'd be nice! Though I can assure you the code is quite sloppy and inefficient in some places due to the fact that the basic engine was done in a week for the Tourey. I'll pm you when I have it uploaded! If anyone else wants to give it a go just tell me!

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
14th October, 2008 at 01:39:04 -

You can't fix that bug - that'd make it way too hard to win! I like the way all my guns become indestructible around level 15.

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
14th October, 2008 at 03:54:29 -

EE, the same thing happened to me for some levels and raising the max objects at runtime didn't do anything. You know what the problem was? The vanishing objects were getting destroyed when my player started the frame too far away from them. Try making sure all the objects don't get destroyed when too far from the frame and see if that fixes it. It worked for me!

EDIT: Sorry, I mean make sure the box that says "destroy if too far from frame" is unchecked.

Image Edited by the Author.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
14th October, 2008 at 04:26:00 -

I have thought about that Del Duio, I think I have tried that, but I'll check once more to be sure! Thanks!

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
15th October, 2008 at 07:00:32 -

Already unchecked.

I'm stumped really. What on earth could cause this?
Something is instantaneously destroying things. How?

Obscure ideas?
Anyone?

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image
   

Post Reply



 



Advertisement

Worth A Click