Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Heads up! Oct 30th update just might throw you for a loop!

Author
Message
JLM
9
Years of Service
User Offline
Joined: 21st Jul 2015
Location:
Posted: 31st Oct 2015 07:26
So I was running my app, working on my app, it was working fine.

One minute, I ran it.
Ran great.
Next minute, I ran it.
Crashed when querying some dynamic sprites (SpriteIDs starting at 10000)
No changes to the code, just all of a sudden crashing.
Restart AppGameKit, no difference.
Restart Roll back code, no difference.
Debug... "Sprite 100003 not found"
Dafuq?! The limit is like just over 10k, not 100k!!!
Broadcast... not compatible with old version of player.
Check if player update is available... JUST UPDATED LIKE AN HOUR AGO

So what I gather (Havent read changelog yet, headed there after this), the new sprite starting point is 100k, not 10k. This threw off a TON of calculations for my app. I'm lucky it only took about 30 minutes to figure out what was going on, and now my app is back up and running. Sadly, I "undid" about 60 lines of code during troubleshooting... back to work, I guess.

Off to read the update notes
-Writing programs for years, new to AGK2
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 31st Oct 2015 07:35
Use arrays and variables to organize your sprites instead I think that is much more flexible.
JLM
9
Years of Service
User Offline
Joined: 21st Jul 2015
Location:
Posted: 31st Oct 2015 08:03
Yea I really need to get a handle on arrays.
-Writing programs for years, new to AGK2
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 31st Oct 2015 16:08
Quote: "So what I gather (Havent read changelog yet, headed there after this), the new sprite starting point is 100k, not 10k"


Yes this is the case, it is in the change log. It's the only non-3D change that will affect older projects.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Login to post a reply

Server time is: 2024-09-29 07:25:41
Your offset time is: 2024-09-29 07:25:41