Home Creators Posts Import Register Favorites Logout

Content

Now i've hit some major milestones, the 3 hour Showcase, Trailer Complete, Game Intro and Title Complete, and Steam Page Submission Complete -> it's time to start the final major pieces that will allow me to release Demos and Alphas. That is

Allowing Save / Load states.

Refactoring the game so I can Export to Binary that will run on your computer.

Changing the internal Engine's State Machine (i'll explain don't worry).

These three things are all super chunky, complex and is why i've left them to near the end. The good news is, I'm already progressing all three. I've just completed the first one and am testing.

But I want to talk about state machines, as they are interesting and its time to teach you guys some stuff.

Take this scenario below.

This is they way I actually code it in game using state machines .Like below, all it means is a state represents a different scenario i.e. Straker sleeping with Tabby, vs getting yelled at by Kane.

The problem with this is, what happens I want to jump from state 0 to state 2 (for testing, or for loading game at that point).

I'd have to go through all 3 states (0,1,2) in order to make sure Straker is in the right room, and have spoken to the right people before Kane (maybe they gave him a keycard for example that i would't have gotten if i jumped right to Kane).

Solution

One appraoch which i'm trying out is to treat every state as a 'loadable' save point, meaning every big step, I set everything rather than just check.

So to get to Kane rather than check i did everything, just ensure I DO everything regardless.

So thats' the approach i'm doing now, it will make save/load more easier and also shipping to binary for Demo's i'll keep you updated.

On a personal note, you know me by now - burnout shmurnout! I had 6 days last week going to bed at 2am and waking up at 8am. Saturday I tried to go to a different city, but came home early as realised i was wiped out, so i spent Friday, Saturday frequently falling asleep 😅

Anyway, it's not just the game, don't worry - i'm just a workaholic, I was also working big hours at my job as big things were happening -> the good news is with the pressure off on both fronts now, i'm able to enjoy the work again and not feel overwhelmed.

So good on all fronts.

Files

Comments

Speedy777959

Good stuff, and good to see ya doing alright boss.

StormElite

As someone who knows absolutely nothing about game making and coding its kinda cool to see just a bit in how you plan to do things. Also, take a nap man, burnouts a real killer and i'm sure the sekarri women like well rested men lol

captainroot

Thank you for letting us behind the curtain. It does allow us to appreciate your work even more (although I'm fairly certain most of us think you should get some rest after last week's marathon).

yu gi oh veloz

Thank you for thinking about us, saving scammers, i owe you one.

Drone Commander

Thank you my bro, you're right! I did fortunately nap quite a lot over the weekend!

Drone Commander

Yes! Thank you man! I've had a lot of sleep this weekend so feel much better!

Drone Commander

Hehe, can't wait to see you guys stream your playthroughs!

Axel Brant

Glad things are going forward.

ZenFire

i seen this before and it still amazes me how much you can do in this line of codes lol

Jason Campbell

Not sure if its a display error on my end, or if YT just decided to randomly delete my comments on your 3 hour showcase, so i'll repeat my second one here for ya: when the steam page goes live, ill create a post for DC on the forum that I've been a long time member of, as well as seeing if an author I'm supporting here is willing to link this on his discord for his community to find out about. Looking forward to ze' game when it gets out, when you feel its ready 😎

Drone Commander

That's one part of it, my game is a lot more complex than his, keys aren't attached to player but 3 different layers, but it's a strong design.

Drone Commander

WOOOOOW! Thank you so much Jason, tha'ts really awesome of you!