I moved to a new URL! Check it out!

Dev Log: Using the Debug Console

Image


I think I've finally got this debug console working the way I want to for the time being. Right now I'm able to push log messages to it, and send commands that have been registered from the engine. The more I think about it, the more I don't really want to go all out on using reflection to invoke any method that exists in the program from the console, just because it doesn't seem to really match what I want the console to be used for.

One of the main purposes of this console will be the ability to debug large content games, like metroidvanias or something along those lines. Debug commands can be set to something like giving the player items, warping them to a specific location, and even summoning enemies or NPCs into the scene to test.

I also added the ability for the console to advance the game frame by frame, or however many frames the user wants. I can type "next 1" to advance the game one frame, or "next 60" to advance it 60 frames. This should come in handy for figuring out weird timing issues and making sure things are happening on the exact frames they should be.

I'm getting closer to the release of this framework as the last couple of things come into place. The last thing I'm looking into is better shader support, and after that I think all I have left to do is a lot of bug fixes and polish, and finally an example game to go along with it.

...but first I'm going to mess with shaders for awhile!

Dev Log: Debuggin Stuff

Dev Log: Debuggin Stuff
I'm trying to now take care of the last couple of things on my checklist before a public beta/release of my framework! This includes the elusive debugging and command console.

Image


This is the quick first pass of the debug console running in my Offspring Fling mock up using my framework. Right now all I can do is just type into this box, but eventually what I want to do is have commands being run from this console, as well as debug output being sent to it.

I'm also toying around with shaders as well and I think I'm starting to get a grasp on it, or at least fragment shaders, but I still have a lot to learn. Exciting!

--

Hey I'm editing this blog post to show the progress! Here's the console as it looks after working on it for the whole day:

Image


Still no fancy reflection, but for now it has cool enough stuff to debug a game, I think!

Dev Log: Drawing Lines

Dev Log: Drawing Lines
My to do list continues to grow shorter with my framework! Today I finished getting my draw line utility functions working. Check out these beautiful lines.

Image


Being able to draw things like rectangles, circles, and lines on the fly can be really useful for prototyping, debugging, and even effects for a game. The regular old line drawing using OpenGL results in just a one pixel thick line from point A to B, and that's no good for most cases.

For the red line I'm converting the line into a quad using some vector magic that doesn't really make sense to me yet but it works. The ends of the lines are hard edges, as it's just a quad. But the blue line is where the true magic happens. It's a line with rounded ends, WHOA! It took me awhile to figure out, but I'm drawing it using similar logic to the red line but adding a bunch of points to go around the outside of each end point of the line. It's using a TriangleFan to draw, whatever that means.

I've also been spending time attempting to document things in the code to prepare for a public "beta" release of the framework. It's coming very soon!

Offspring Fling Plushies

Offspring Fling Plushies
You can now own your very own Momma from Offspring Fling thanks to Frank'N'Stitch! They're available right here on Etsy, along with an awesome Offspring Fling scarf. 100% home made!

I've had a lot of requests for plushies over the past year but couldn't really find a good way to make it happen until now. These plushies are also approved for flinging around a puzzle platforming level.

Dev Log: Quick Prototype Testing

Image


Just playing around with things today -- I figured it would be a cool test to implement some Offspring Fling stuff in my C# framework. It was surprisingly easy to pull off and only took me about 2 or 3 hours to get to this point (and a lot of that time was spent debugging some errors I made in my Ogmo Editor helper class, WHOOPS.)

Right now I'm working on the ever so annoying bug of the game rendering once before it updates once. It's proving to be pretty difficult to hunt down even when I wrote the damn thing myself (FlashPunk had this problem too.)

Oh and if anyone out there listening wants advanced access to my framework before I publicly release it then let me know. I'm looking for a handful of people that will tinker around with it! (You can use the form at the bottom of my site to contact me, or send an email to hi@kpulv.com.)

Doodle Post

Image