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.

DarkBASIC Professional Discussion / Does changing to a new resolution deletes memblocks?

Author
Message
16 BIT
14
Years of Service
User Offline
Joined: 23rd Jan 2012
Location:
Posted: 9th Feb 2012 23:10
Hi, in my game the user can change the screen resolution. I am plannşng to store the media data in memblocks to re-create them after setting new resolutions...

I write a code and it seems that after setting a new resolution the memblocks stand still. I just couldn't trust and asked...

Does changing to a new resolution deletes memblocks?

There are 10 kinds of people, one of them knows binary and the other does not
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 10th Feb 2012 02:16
changing resolution does not effect memblocks: it effects images, bitmaps, objects.

here is a sample code:

16 BIT
14
Years of Service
User Offline
Joined: 23rd Jan 2012
Location:
Posted: 11th Feb 2012 17:14
Thanks

There are 10 kinds of people, one of them knows binary and the other does not

Login to post a reply

Server time is: 2026-07-09 17:43:09
Your offset time is: 2026-07-09 17:43:09