Show newer

Got a second level. I learned that if you just include a blank class definition of a dependency in the header file and then include the actual header of the dependency in the source file, then you can avoid recursive includes.

Show thread

I've added exit tiles. It just ends the game because I don't have it programmed to have multiple levels yet.

Show thread

I've added projectiles that the player can shoot. I was originally just going to make a simple maze game but I got carried away after getting a hand with SFML.

Show thread

Also, the tile map wasn't from a file, array, or anything like that. It's just a simple nested for loop with an if statement to create the cross of solid tiles.

Show thread

Not the breakout clone but I've got animated sprites to work in SFML.

Also, I forgot that I have the hashtag featured in my profile and I haven't used it, so here you go.

gamedev 

Reworked the ball physics. Now the ball's velocity changes on where it hits the paddle.

Show thread

gamedev 

Now the ball resets when it falls off. I should probably change the collision detection to be angle based because the ball can just plow into the bricks as you can see in this video, but I will do that later.

Show thread

gamedev 

I was able to make a Breakout clone in SFML. It's just one level and I haven't even made a lose condition, but it's cool to finally have a game running on native machine code.

Show older
Game Liberty Mastodon

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