Troll Game Troubles

Not favoritedFavorited Favorited 1 favourites
  • 3 posts
From the Asset Store
HTML5 Game Bundle (7 Games) – Created with Construct 3
  • 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.

  • Edit:Not an RPG like it says in the beginning, I meant a platformer.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 1) Moving the spike => You can set the spike's X to self.X + speed * dt where speed is a variable you can tweak (try values like 5, 10, etc, depending on your gameplay)

    (Edit : to follow.. the code will look like this for the spike sprite.. Self.X + (player.X-Self.X )* 5*dt)

    2) Falling spike and move to next level => Use a timer behavior and trigger the timer at 10 sec. On timer, you move to layout B

    3) Floor traps => On collision with floor, just destroy the floor to make the player fall

    There are plenty of other ways to do it, but these are simple 1–2 line solutions...

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)