Game
UNDERTALE: Twilight
11 months ago

Remember that post saying I'd be posting more frequently?

Here it is.

Microlog #1 - Engine progress! (the game window, framerate, rendering sprites)


As you might already know, C++ is one of the lowest level languages out there and doesn't support and of the game-specific stuff that I need. So I used the SDL framework to create all of that from basically nothing (except SDL, which is actually a LOT.)
Creating a window was pretty easy, and I've got a class to handle all of that. It also has several methods to control what code happens and when it happens.

init initialises the game.

update executes code every frame.

render does the same as update, but for drawing-specific stuff.

And finally, clean cleans up the whole project and prevents most (very annoying) memory leaks.

There's also a framerate controller that ensures the game runs at a smooth 60fps framerate as much as it can.

Finally - the most recent addition - loading and drawing images is also supported (not animation yet, though) and I'm getting started on the TwiObject class which will be the building block for most of the higher-level stuff, much like Objects in GameMaker or Nodes in Godot.

That's pretty much it for this update! Work is, at least, going much faster than I expected, but I'm not setting any deadlines after the abysmal flop of the last one (it was supposed to release around April...)

Well, have a very great [insert time of day] and I'll see you in about two days! (They're that frequent...)

- @JustYourAverageGameDev



2 comments

Loading...

Next up

A lot is happening at the moment. Be prepared for a BIG progress update in December!

Gameplay Footage - Whimsun

This includes pretty much every way to beat Whimsun. Also apologies that there's so much of one attack; it's generated randomly so there's not much I can do about it... Also, the battle music is a placeholder.

Fan art for Foolish I'm feeling kinda better so I drew this

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Shadow The Hedgehog X pixel art

My D&D art for my family so far (WIP if you couldn't tell)

Szayel Aporro Granz - Bleach

not the greatest house, but it's a house! :D

2d lighting experiment

it happens