Okay, so I've been trying to make a troll game rpg, but I cant get half the traps to work. these (failed) traps include:
-a moving spike that tracks the player's X value
-a falling spike wall that ragebaits the player into closing the game, but really sends them to the next level after 10 seconds
-floor traps that don't LOOK like floor traps so the player has to memorize the pattern
these traps are all I'm trying to work into randomized levels, because I have a limit on my actions, but I cant get the level generator to work, LET ALONE make playable (and completable) levels. I need suggestions on how to make these traps work with as little code as possible, and how to make levels randomly generate. any advice helps, since I'm a new coder.
P.S. this is a platformer where you get 100 lives, so be creative, even stuff that takes a lot of lives at once can work, since this game is being built to ragebait everyone who plays it.