18+ xianc78,
@xianc78@gameliberty.club avatar

Had to shelve the platformer project because of poor planning and feature creep. I decided to work on an action dungeon crawler. Right now, you can only move your character and thrust your sword, but I plan on including randomly generated levels.

I'm more experienced with top-down games, so this might be easier.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Created solid tiles, a couple of enemies, knockback, and the sword. I also divided the screen. There will be a hud on top, but right now, it is blank.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

I got a random dungeon generation algorithm implemented. It is the same one from this post (https://gameliberty.club/@xianc78/111750085112155644), but written in C++ instead of Java. It's pretty basic at the moment. I plan on having each room randomly pick a design from a template.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Here is a second dungeon, in case you don't believe me.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Tried to add random enemy placement to the dungeon, but they all appear in the same room. I realize that the common way to do RNG in C and C++, srand(time(NULL)) uses time (in seconds) as a seed, and since the loop obviously runs multiple times per second, I'm getting the same results.

I think my solution would be to use my own RNG algorithm with a seed that increments every time it is called.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Wrote my own RNG algorithm (just take the sine of a seed and increment the seed by one for the next time). I also made it so that enemies can't spawn in the first room.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added camera scrolling.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Rooms in the dungeon now have different designs (randomly picked from a list of currently three templates).

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added coins. I plan to have them be used for in-dungeon shops.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added hearts. There is a 25% chance that a heart will drop. HP does increase, but HP still has no effect right now.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added health bar.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added a death animation.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added an exit tile (actually an object on it's own and not a child of the "Tile" class) that is randomly placed on each floor. Though it does nothing yet.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Multiple levels have now been implemented.

The second level is indeed a new one. The procedural generation algorithm made the starting room look like the ending room of the previous one.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added music and sound effects. Though, music was technically added previously, but I muted the previous recording.

Background music is "Dungeon 05" by Beau Buckley, released under the CC-BY-SA 4.0.

https://opengameart.org/content/dungeon-05

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added a white sword. It takes twice as much damage. I plan on including "rental shops" where you can buy temporary items like this white sword and they go away if the player dies.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added a potion. It fully restores HP. I also plan on having this being one of the items sold in the shop.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Purchasable items have now been implemented.

video/mp4

18+ xianc78,
@xianc78@gameliberty.club avatar

Added blue coins. They are worth 5 coins each.

video/mp4

Humpleupagus,
@Humpleupagus@eveningzoo.club avatar

This game was great in 1985 when it was called "The Legend of Zelda."

xianc78,
@xianc78@gameliberty.club avatar

@Humpleupagus It's Zelda inspired. I'm using BS Zelda assets as placeholders.

Humpleupagus,
@Humpleupagus@eveningzoo.club avatar

I'm just giving you shit. Have you ever checked out "Trident of Power" for RPG Maker?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines