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 / Use HEX number in IDE

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 6th Jul 2014 21:06
Hi,

Is it possible to use hex numbers directly in the IDE?

You can represent binary with %, but I've tried the usual representations like, $, &, &h etc. and they don't work.

I'm doing a lot of masking at the moment and having to have windows calculator up all the time is annoying!

Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 6th Jul 2014 21:19
The next update of the version 2 compiler will accept 0xFF style hex numbers.
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 7th Jul 2014 00:07
Great!

I tried to find my post about memblocks but failed.

The CreateMemBlockFromFile() function would have drastically improved functionality if there was an Offset parameter (offset in the file) and a Length parameter.

I have already made a media protection system for v2, but it requires the whole asset file to be read into memory first before processing. With this extension to CreateMemBlockFromFile(), I can make it more efficient and everyone(!) will be able to protect their game assets if they use my loader system.

Login to post a reply

Server time is: 2024-11-25 06:23:54
Your offset time is: 2024-11-25 06:23:54