Swing!
MatthewStirling (118)

Here is my entry for the Game Jam - Swing! (yes, you have to shout it)

The gist is pretty simple - you swing around using a grappling hook and you must avoid dying. Don't touch the red blocks and don't get shot by a Turret (duh). Play through the Levels or enter the Arena and try to survive.

The way the game relates to the theme of Cash is.. uh.. you get to keep your cash because this game is free!

For the best experience, open this link in a new tab:
https://swing--matthewstirling.repl.co/

Full DevLog:

version 4.2 - current (17.04.2019)

  • added guided missiles
  • added rope block wrapping
  • added level 4
  • added explosion recoil
  • changed turrets appearance
  • added idle turret animation
  • added arena menu display turret behaviour

version 4.1 (13.04.2019)

  • added practice mode
  • altered arena to account for easy winning strategies

version 4.0 (12.04.2019)

  • added explosions
  • added super predictive turrets
  • added arena survival mode
  • added level 3
  • redesigned menus
  • got rid of title card animation
  • added bouncy bullets
  • added death animation

version 3.0 (05.04.2019)

  • added a main menu
  • added buttons
  • changed appearance of predictive turrets
  • made level 2 final challenge easier
  • added peak text

version 2.0 (30.03.2019)

  • added level 2
  • added turrets
  • improved hook sticking mechanic
  • changed controls (again)
  • optimized forces (jump strength, friction, drag)
  • added predictive aiming
  • removed 3 challenges from level 1

version 1.2 (23.03.2019)

  • added title card
  • added safe area at beginning
  • added checkpoint text

version 1.1 (23.03.2019)

  • added 3 more challenges (total now 13)
  • made controls more intuitive
  • added checkpoints
You are viewing a single comment. View All
MatthewStirling (118)

@AmeliaBlackwell Pretty simple. I give the ball a position, velocity, and acceleration. Each frame I add acceleration to velocity and I add velocity to position. To get the acceleration I add all the forces acting on the ball together, so gravity, left/right thrust, friction, air resistance, rope tension. All these properties are vectors, and I use the p5.Vector object to handle them conveniently. I can explain in more detail if you're interested.