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 / Sprite from Image - question

Author
Message
mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 2nd Jan 2014 06:44
uuuhhh... In DBPro I would create a sprite by assigning an image to it. Then I could delete the image and the sprite would still have its image. In other words, I could copy an image to a sprite. Now in AppGameKit it appears that the image must always remain in memory as if the sprite is constantly calling it.

www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 2nd Jan 2014 11:25
I'm just taking a guess here, but I think DB sprites copied the image in memory. Multiple sprites using the same image would be duplicating the data. With AppGameKit, it would make sense to then assume that each sprite references an image number and that's why the image must remain.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 2nd Jan 2014 16:00
if you use different images for the sprites you can use
LoadSprite(...) , you have only one id.

AGK 108 B19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670

Login to post a reply

Server time is: 2024-05-02 16:57:16
Your offset time is: 2024-05-02 16:57:16