OpenGame.exe - Pre-Alpha

Show Choices, Show Gold, and Show Text w/ "Dim" background are all missing contents. Likely a related issue. Window color and the tiling fix look amazing.

EDIT: Fade in and fade out are so simple- and yet so not fading in or out all the way. When they're only 1-3 lines of code each, clearly the answer is staring me in the face. But I don't see it.

EDIT 2:
If anyone wants a little test bed to see how support is coming along for the various engines, here's one I am using to test it.
http://www.mediafire.com/download/a0za4 ... e_Test.zip

Note that it does require the related RTP for a version to work.


EDIT 3:
I'm a fan of making things that "just work" - even at the cost of bending a few rules. I managed to get batch files to execute in a cross-platform manner, so you can now simply open the project and build on Linux, Mac, or Windows, and you should end up with a ready, working output. Needs more testing and prettying up, obviously, but I'm still amazed it actually works.
Got initial Audio implemented. At the moment it only supports .ogg files. It does support pitch and volume, but fade in and fade out are not quite ready yet.
Implementation is a bit messy at the moment, but as I get more comfortable with it it will get cleaned up.

I tried to match volume and pitch to vanilla RPG Maker, but testing was far from extensive (consisted of "ehh that's pretty close"). MIDI support will be up next, at which point I'll start getting this mess cleaned up. Then it's just the subtle details.

Notably, OGG playback has 3d support (you can specify an x/y/z position, and the engine will vaguely compensate).
OGG playback will default to centered on the screen if an x/y/z position is not provided.
Other formats will not have this capability.
I'm still not able to get it working on OS X at all, when I open it in Xamarin studio the NoWindows configurations are not available and after repairing that I cannot run from Xamarin studio, I hit go and nothing happens despite the build being successful.

Running from terminal works better, but it is unable to find the RGSS.dll no matter where the DLL is.

If I can get the debugger to work then I can probably work on solving these issues
The nowindows targets were removed in favor of a cross platform batch file.
Apparently Xamarin supports the windows side of the batch file on Mac OSX, as the Unix side would deploy the .config file which fixes your issue.

I'll tinker some more, if I can't figure something out I'll restore the NoWindows configurations.

EDIT: Actually, the nowindows configs didn't have the batch files, if you only tested those. Did you try just the regular Debug/Release build targets? I keep having issues getting my test environment to work, so I still don't have a solid way to test other platforms just yet.

EDIT 2: Onto the big task. Refactoring the tilemap to be more performant (and support other makers).
avarisc wrote:
Actually, the nowindows configs didn't have the batch files, if you only tested those. Did you try just the regular Debug/Release build targets? I keep having issues getting my test environment to work, so I still don't have a solid way to test other platforms just yet.

The regular is what it kept defaulting it to. It kept reporting that it didn't understand a command or something. I'll see if I can get the error message for you in the morning
And here I was figuring RGSS2/3 tilemaps were the hard ones. Then I realize that XP's "priority" tiles change z in realtime. Meh.

Just finished a heavy refactoring that fixes some of the performance snags. Also got Table ported to C#, so that I can control the tilemap directly as the engine provides it instead of copying data back and forth between Ruby and C#.

Starting on the new tilemap now, will likely take me awhile (a day or two, maybe three) but it should support all three engines when finished, at which point I'll pack up a new (and far improved) preview release. Note that tilemap rendering has been disabled in the interim (maps still work in all three engines, they are simply not visible at the moment).


EDIT: Sorry about the lack of updates for the last few days here. Real life stuff getting in the way. I about have it sorted, and progress will resume shortly.

EDIT 2: The solution was literally haunted. Because the Linux version of Xamarin Studio or MonoDevelop didn't recognize the included files, it was somehow using a precompiled version; I still have no idea where it was finding that version. The "can't find RGSS.dll" error had my head spinning - because RGSS.dll hadn't existed for several builds now, nor are there any references to it anywhere in the repo. Apparently VS precompiles resources, and Xamarin/Mono use that if it exists rather than recompiling them. So I made a new branch on the repo, called 'xplatform', and temporarily broke Windows support but got Linux working (tested on Mint, which is Ubuntu-based). There were several other minor errors which were easily fixed. Restoring Windows support should be fairly easy, I just don't have access to a Windows OS at the moment. I expect to have that fixed within a couple days, then I'll merge the xplatform branch back into master and we should have some cross platform functionality. I'll have access to OSX for this weekend, and make sure I can get it compiling there too.

Sorry about the still-missing tilemap in the latest commit. The previous tilemap had some bugs with rendering priority, and was designed in a very rigid way, not versatile enough to adapt for the other map formats. I'm still wrapping my head around XP's map format. Once I get xplatform merged I'll get the new tilemap rolling. It will load faster (as that was the cause of the 5 second delay on starting a new game) as well as support all three makers.

Side note: I love the XP map editor. It's my personal favorite. But peeking under the hood, I hate the XP map format. The priority handling versus layer depth is just akward and feels hackish.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=78700