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 / GetImage Tweek.. help me help you make it faster!

Author
Message
haliop
User Banned
Posted: 30th Apr 2013 09:03 Edited at: 12th May 2013 09:16
haliop
User Banned
Posted: 30th Apr 2013 09:07
the results should be a simple red box drawing screen... where you see what you drew on screen.

xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 30th Apr 2013 09:49
I haven't reviewed your code, but in any case I think you'll find the GetImage() command is far too slow in AppGameKit to be called every frame, even if getting small areas each time. Even on my very fast PC and an uncapped frame rate, getting a 2x2 image each frame using GetImage reduces the FPS by half and getting a 50x50 cuts it down to a fraction. On a mobile device I imagine it would be unplayable. You can't really use memblocks for this either as they are pretty slow and still require you to create an image from the memblock to return it to the screen (you can't write directly to the buffer/memory as you can in DBP).
haliop
User Banned
Posted: 30th Apr 2013 10:05 Edited at: 12th May 2013 09:16
haliop
User Banned
Posted: 30th Apr 2013 12:09 Edited at: 12th May 2013 09:17

Login to post a reply

Server time is: 2024-11-24 11:54:54
Your offset time is: 2024-11-24 11:54:54