Show newer

gamedev 

Game objects (only hearts) can now be placed in the editor. The editor now supports saving, but only the tiles.

Show thread

gamedev 

Level editor can now load levels, though it can only load the tiles and you still can't save.

Show thread

gamedev 

Added a UI bar at the bottom which displays the current tile. I also added a yellow outlined rectangle which represents the area that is actually seen in game. Since the player can walk to one side and appear at the other, I have to include tiles that appear offscreen, so naturally the editor window is larger than the actual game window. This outline shows what will actually be visible.

Show thread

gamedev 

It's been a while, but I finally decided to take the gamble and use my dying laptop to add the ability to change which tile to place in the editor.

Show thread

gamedev 

You can now place brick tiles in the level editor, but that's basically it for now.

Show thread

gamedev 

Level editor is now running, but it's nothing, but an all brick background. Bare with me!

Show thread

gamedev 

Just got started with the level editor, but it's not functional yet and my meds are wearing out, so I have to work on it later.

Show thread

gamedev 

Added a menu, imported from my last game. Not sure if I will have high scores for my game though.

Show thread

gamedev 

Replaced the solid color tiles with an actual tileset. It's still a placeholder though as it is from another game (Mario Bros.).

Show thread

gamedev 

Added an "open door" animation when you reach the exit. Now, you have to press the down key to proceed.

Show thread

gamedev 

Added a lives counter to the HUD (was there before but it was just text and I removed it when adding the health bar). Right now, the icon is a coin because I'm borrowing HUD assets from a previous game project which didn't have an icon to represent lives.

Show thread

Okay, I've been neglecting on a Windows port for my SFML game, Distant Ruins for quite awhile now. If anyone is willing to do it, that would be appreciated. You should be able to compile it with MinGW. The build.sh script can easily be converted into a batch file with a few modifications. Run it and you should be able to get a working Windows executable.

Let me know if you are able to do this.

codeberg.org/xianc78/DistantRu

gamedev 

The enemy now deflects bullets when facing the player and not attacking.

Show thread

gamedev 

Tweaked the range to be more reasonable. Ideally it should be within stabbing distance.

Show thread

gamedev 

Got the enemy to attack when the player is at most, 4 tiles away from the player and is facing the player. Though admittedly, it should be lower. I was just testing the conditions and I will lower the range to make it more reasonable.

I also got the hitbox to change size during the attack, but that's not demonstrated in this recording.

Show thread

gamedev 

Added a new enemy. It attacks when in line of sight of the player. It still needs tweaking. The placeholder spritesheet has unequal sizes for the sprites.

Show thread
Show older
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.