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 / Sprites trashing text objects

Author
Message
Jambo B
15
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 16th Feb 2014 13:58 Edited at: 16th Feb 2014 14:00
(Using Build 108)

Hello.

I’m having a problem with AGK’s sprites interfering with text, and I wondered if you guys would let me know if I’m going completely mad (probably), or whether there’s a bug in AGK.

The simple code below:

1. loads an image font (attached)
2. creates a sprite
3. creates a text object
4. creates another sprite
5. creates another text object.

This is where it goes wrong! The first text object disappears! If line 4 (in my pseudo-code above) is commented out, then the first text object does NOT disappear. The act of creating the second sprite seems to bodge up the text object.



Pretty strange. The same thing happens if you set sprite/text IDs manually, rather than letting AppGameKit do it.

Anyone have any idea about this?

Thanks,

JamesB

Attachments

Login to view attachments
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 16th Feb 2014 18:34
can not agree your issue, are you sure you start V108 19?

AGK 108 (B)19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670
Jambo B
15
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 16th Feb 2014 19:19
Well, I've updated to the latest version and the issue has gone!

Just goes to show... always check the version number!

Thanks for your reply, Markus.

JamesB
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 16th Feb 2014 19:41
Sounds good

AGK 108 (B)19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670

Login to post a reply

Server time is: 2024-11-25 02:10:15
Your offset time is: 2024-11-25 02:10:15