gamedev
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.
gamedev
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.
gamedev
@xianc78 when are you gonna add the crypto mining
gamedev
@beardalaxy That was a joke. Everyone's anti-virus will immediately delete it.
gamedev
@xianc78 OK good lol
re: gamedev
@xianc78 it’s really lookin neat!
re: gamedev
@RehnSturm256 Thanks, though the sprites are all placeholders (they're from BS Zelda).
@Humpleupagus It's Zelda inspired. I'm using BS Zelda assets as placeholders.
gamedev
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.
#gamedev #SFML