Game
Tsalagi

1 year ago

Decided to do some work on the save/load. Name, Chapter, and even Total Play Time CORRECTLY FORMATTED Will work on the chapter banners later. Free time formatting code below


(Sorry for the poor formatting)

func _process(delta):

your_time_variable += delta

func format_my_time():
var time_elapsed = float(your_time_variable)

var s = int(time_elapsed) % 60

var min = int(time_elapsed) / 60

var m = min % 60

var h = min / 60

if m < 10:

m = str("0" + str(m))

if s < 10:

s = str("0" + str(s))

time.text = str(h) + ":" + str(m) + ":" + str(s).pad_decimals(0)

You could theoretically go up to days and years, just using 24 and 365. That is not necessary for my game, but the pattern remains the same. If you need something really precise, accounting for leap years or leap seconds, then I might recommend using something in the Time singleton



0 comments

Loading...

Next up

With exception of some minor odds and ends, the home interior sheet is finished, which means I can start on all the levels. The next house (level 9) is an old farmhouse, the kind that had a bazillion rooms

Battle State Machine is working Player chooses what to do, enemies choose what to do, and they even have variable rates of attack/defend/flee. Next step will be to actually start dealing damage

Did some rough level work in the cave system. Got the long tunnel, and this one is the first puzzle place (if anyone is familiar with the four stairs/doors puzzle in Paper Mario 2, this is going to be very similar).

The combat system is already being implemented and there are also some advances with the environment (WIP)

#gamedev #indiedev #godot

Working on battles. A little different than last time, aesthetically, but still the same basic idea

We’re excited to announce that we’re working on a new game, a 3D metroidvania with a Low Poly Pixel Art style. Stay tuned for more updates!!!

#gamedev #indiedev #pixelart

Art day today. Did a little messing around with the cupboards and some furniture. Got a wine cellar, shower and tub and such. Probably redo appliances, spiff them up a bit Once I get all the major stuff in, then I'll go through and build the levels

This game has gone through so many iterations it's not even funny anymore

Zombie in action! #GameDev #Art #PixelArt

Today's accomplishments include a rather smooth state machine, a functioning opening cutscene, and name input. It's not pretty, but there aren't any bugs