Game
Deadly Seconds

1 day ago

Devlog #13 - 19/8/2025 - The tech behind Deadly Seconds


HOWDY EVERYONE!
It's been a really long time since the last devlog, so allow me to amaze ya!


Room Editor

Previously, I had shown a screenshot of the in-game room editor, but I never showed the editor IN ACTION!
Recorded a video showing off how the editor works for anyone interested on the technical side of things.

Here's an explanation in case you're curious:

Every object is placed on a grid and when I finish placing all objects, I use a keybind to save the room on a 3D array. When the room has to be saved, every object will get an unique ID. Then, the objects' values (X position, Y position, scale, amongst others...) are stored in specific lines in a table on the array. The column in which they're stored equals the object's ID, there's a table for every room.

room_editor_example.png

This info is then saved onto an external file which is loaded at the beginning of every run. Once loaded, all info is used internally whenever the game needs to load a room. To get more technical: These rooms are loaded using a fast loop. The amount of times the fast loop is ran = the amount of objects the room has. When the fast loop is running, it'll go through each column in the table, starting by column 0. When reading info from the columns, the objects are created and positioned according to the info in said column.

capturar.png

Each object has an Object ID (different from the ID used for the columns). This ID is used to tell the loop which object to create (Wall, Water puddle, Spiketrap, amongst others...).

capturar_2.png

For more complex objects like the weapons and enemies instead of creating the objects themselves, the loop creates Spawner objects. The Spawners then choose a color and weapon at random (or enemy, depending on the Spawner) and create 'em!


New floors for the rooms

ds_orange.png
ds_green_2.png
ds_purple_4.png
ds_red.png

Given the feedback from multiple people, the floor colors were changed in order to make a better contrast with the objects and scenes.
I hope these new colors will satisfy y'all!


You'll be hearing from me again....relatively soon!

Bye!

- @Fox_gamerPT

#deadlyseconds #indie #shooter #roguelike #halloween #retro #2d #topdownshooter



0 comments

Loading...

Next up

Devlog #12 - 20/7/2025

Devlog #9 - 16/12/2024

UPDATE 2!

(Made in only a week)

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

Devlog #6 - 27/10/2024

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

Devlog #10 - 6/2/2025

Devlog #8 - 25/11/2024 (this is a big one)

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

Devlog #4 - 28/9/2024