Game
UNDERTALE: Twilight
2 years 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

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.

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

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

Another house i made long time ago.

What you all think

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

Alone Together....

Cash Banooca