I moved to a new URL! Check it out!

Doodle Post

Image

Character Sheet Updates

Character Sheet Updates
Not really sure if any portion of my followers play Pathfinder, but I'm still working on my character sheet manager anyhow! It's actually been a lot of fun to work on since web development is way easier than game development, and I get instant feedback on it from my pathfinder group every time we play.

Here's how it looks now.

Image


Added fancy icons from the Bootstrap glyphicons and did some formatting work on some of the headers to make them readable.

Image


Also added a dropdown menu with a "hamburger" button to open it. The icons make it look even cooler than it actually is.

Behind the scenes I made the sheet auto ping the server every 15 seconds so that the player session will remain active and not get garbage collected by the server.

Gameboy Doodle

Gameboy Doodle
I've been messing around with Otter FNA and at some point I'm going to need a test project to throw together. I thought it would be fun to make something in the Gameboy style. Maybe something that looks like this!

Image


Oh right... I should be finishing Super Sky Sisters...

Doodle Post

Image

FNA and SDL Events

FNA and SDL Events
I've been poking away at the new version of Otter which will be using FNA instead of SFML. At first I thought it would be super easy and cool to use the XNA "state" systems for input. Stuff like KeyboardState, MouseState, etc. The problem with this though is that at lower framerates this way of detecting input can totally miss inputs.

I couldn't find any examples on how to plug into FNA's SDL event loop, but I eventually stumbled into something that worked. All I knew was that I had to use SDL_AddEventWatch. So here's a quick example on how to use SDL events with FNA:
SDL_AddEventWatch((data, ev) => {
var sdlEvent = (SDL_Event)System.Runtime.InteropServices.Marshal.PtrToStructure(ev, typeof(SDL_Event));
switch(sdlEvent.type) {
case SDL_EventType.SDL_KEYDOWN:
Console.WriteLine("keydown: {0}", sdlEvent.key.keysym.sym);
break;
case SDL_EventType.SDL_KEYUP:
Console.WriteLine("keyup: {0}", sdlEvent.key.keysym.sym);
break;
}
return 0;
}, IntPtr.Zero);
I added this code in the Initialize method of Game, and I'm now getting my own key up and down events. Eventually this will be hooked into my input classes and I should have the same input functionality that SFML Otter has.

Doodle Post

Image