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.

Dark GDK / 2 Issues with map editor variable resetting and file io issues

Author
Message
Vesper
14
Years of Service
User Offline
Joined: 22nd Nov 2009
Location:
Posted: 24th Nov 2009 08:03
So since ive havent got a reply to my post about my game ive started work on a map editor. But im having two issues. 1.)I have a enumerated variable holding the current brush being used. Issue is that, when i click on a tile to edit, it is somehow reset to a blank brush, i only have one place in the code that says curren=nothing and i commented that out and it still does it. Second whenever i go to save my map, it creates the file properly but there is nothing in it despite what i write or how i write it (dbWriteWord, dbWriteFloat or whatever) it doesnt matter if i write by variable, or direct input it refuses to write. I know im doing something wrong but heres my source:


Show me your combat algorithms(programmers read this NOT in a programming state of mind)

Login to post a reply

Server time is: 2024-10-05 23:52:39
Your offset time is: 2024-10-05 23:52:39