Attack of the Mutant Greys (Vista Compatible)

Miscellaneous Forums/Blitz Showcase/Attack of the Mutant Greys (Vista Compatible)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

also profiles/high scores in the shared user folder (Where can I find that and is that path always the same? Or should I call a function to get it?)

Typically, the Shared User folder is always the same path ("/Users/Shared"), however I now make use of Brucey's Volumes mod to retrieve all special folders. Once you've got his mod working, you can get the shared folder by the following.

Global pathCommonData=GetCustomDir(DT_SHAREDUSERDATA)+"/"

Yeah I am planning on getting the AppBundleURL and storing my data in there

I don't know of a call for this, but it can be gotton quite simply with the following code.

Global dataFolder=StripDir(AppFile)+".app/Contents/Resources/"

The only thing to watch when you copy your data into the application bundle are the file permissions. You'll need to go in and change them to "read only" or "read and write" for all other users, as by default, only you will be able to then run your game. Just change it from the top-most folder and apply to all sub-folders. I'll be doing a quick tutorial for this soon.

re: icon: yep 256x256 icon is already on my to do list :-) I've still got your multi-size icon to figure out how I can import and include it as a resource so that the Window and taskbar and alt+tabber all have a decent icon.

I currently have that same icon as a separate .ICO file in my game's Data folder and your own code (in the code archives) already adds it just fine. Resource Hacker also adds the icon to the application just fine, but I know that's not how you want to achieve it.

Hope that info was of some use and keep up the great work.