Share your repls and programming experiences

← Back to all posts
MatthewStirling (136)

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:

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
themaka (188)

Spider-dot, Spider-dot, dots whatever a spider dot!

MatthewStirling (136)

Can he swing, from a grapling hook? Yes he can, he's a spider dot!

LynnOng (26)

I don't feel so good Mr. Stirling...
Nice game tho.

MatthewStirling (136)

Lol, is this a reference to something I don't know about?

argthe1st (95)

@MatthewStirling ... Its Avengers Infinity War

MatthewStirling (136)

@argthe1st Ah. I have yet to watch it.


@argthe1st No. Not endgame. :) Its Infinity War Endgame comes out in April :D


@LynnOng It's Mr Stark. Not Stirling Lol.


@Helixable r/woooosh

argthe1st (95)

Honestly, I think that this is the best game in the competition right now!

MatthewStirling (136)

@argthe1st Honestly, I think so too (but I may be a little biased)

jarules214 (9)

I think this should win. I have spent hours enjoying this game! Maybe we could collab on adding sprites, or polishing the game. Hmu! Otherwise it is an amazing game!

MatthewStirling (136)

@jarules214 Thanks! I'm not sure that I will continue developing the game, but the game sure could use some polishing. I know there are still some bugs. Have you encounter any of them?

wordguesser (50)

Splash text ideas:

"This text is green" (make it red though)
"Nobody: "
"Game Jam? More like lame jam"

MatthewStirling (136)

@wordguesser Haha, good ones. Unfortunately I don't think I can update anything in the game anymore. Maybe they will let me update the splashes though.

wordguesser (50)

@MatthewStirling Oh yeah, forgot about that... Do we know when to expect the results?

eankeen (2176)

Amazing game! Had a lot of fun and very addicting!


Great game! I spent some time playing this, it's pretty fun. Also, lowering the grappling hook (I think it's the E key) stutters a bit. I also made a game but no one's looking at it (it's at

hayaodeh (199)

Can someone record a gif while playing?

MatthewStirling (136)

Is it super slow for you, or do you want to see how others play it? @hayaodeh


This is a great game, but I have one super important thing to point out...


You spelled artifact wrong in the about page.

LiamSchenck (14)

it's so broken rn, the gravity messes up in the explosives level so that either you float or it's so strong that you can't physically pull yourself up, then the screen just went gray and i had to reload which reset my progress

Lolanator365 (12)

@LiamSchenck how do you make the gravity mess up

wordguesser (50)

Great game, I really enjoy this one! While I was playing the missile level, my screen turned gray and this message was in the console:
Hope that helps :/

MatthewStirling (136)

@wordguesser thanks, should be fixed. There's at least one other rare bug I can't debug because it's so rare. If you keep playing, please tell me if you find any more!

DavidCooperChey (1)

Fun! It would be nice to be able to play the game without a mouse.

CarlosAlbertoAlberto (23)

It's very hard. I like it!

MatthewStirling (136)

@CarlosAlbertoAlberto You know what else is hard and people like it?

The third level I'm working on right now. Stick around!

JohnnyWobble (50)

I got to say, its very fun and with a trackpad it is very hard as well

MatthewStirling (136)

@JohnnyWobble Get a mouse. You'll never pass the turrets with a trackpad (unless you're a legend)

rennecastro (2)

Awesome game. Though I didn't make it far, I found myself strangely addicted to just swinging around.

mdjb4 (17)


MatthewStirling (136)

@mdjb4 If you think this is amazing, just wait till I've added turrets, explosions and guided missiles (no, seriously)

AmeliaBlackwell (1086)

woah this game is great but I'm really bad at it! how do you do the physics of it?

MatthewStirling (136)

@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.

themaka (188)

Is the 9th checkpoint the end of the game? I want more!

MatthewStirling (136)

Hey! You managed all the way through!! I can definitely make more, if there is enough demand for it. Did you manage to learn the controls easily enough? I'm worried that it might get too difficult too quickly.

themaka (188)

@MatthewStirling The x and z commands are not really intuitive and they require you to reach down, which isn't too common in games. What if you used q and e for shrink/extend? Also maybe space in addition to w for web slinging?

themaka (188)

@themaka The game is a lot of fun though -- I also shared it in our Discord.

MatthewStirling (136)

Thanks so much! I'll consider changing the controls a bit. @themaka

MatthewStirling (136)

Added a few more checkpoints. I hope it still works! @themaka

ArchieMaclean (926)

@MatthewStirling Brilliant game!
How about trying to get the computer to generate the levels? ;)

themaka (188)

@ArchieMaclean Procedurally generated levels would be pretty awesome.

themaka (188)

@MatthewStirling Oh man ... now I'll have to play again.
/pushes aside some meetings

PlaysWithRepls (0)

@MatthewStirling Heyyy I got past the 12th checkpoint! Is that the end or are the block thingies the way to the 13th?

MatthewStirling (136)

@PlaysWithRepls I just shortened level 1 to 10 challenges and added a level 2. Be sure to check it out!

raghavm (94)

@theangryepicbanana xD u thought this was discord. @MatthewStirling Great game! i just suck at it

MatthewStirling (136)

@mrcool4000 I added a "safe" zone in the beginning. You can fool around all you want and get a good feel for how to manoeuvre around.

raghavm (94)

@MatthewStirling Yep I saw that. Great job! Colors go great together. (-:

HongyiChen1 (0)

I copied the code and made the explosions huge, like covering the whole survival arena

CoderPenguin (0)

How did you code the when clicked thing?

Flyingcrabs (29)

I have a code can you check and help me make it? @RobotDragon

AustinZhang1 (65)

where did i go?!?!?!

AustinZhang1 (65)

Game: Standard Turret Very Easy
Me: tries 10 times and best is 20 sec left

noquinn (0)

This is amazing! The controls are so satisfying and fun.

MatthewStirling (136)

@OrdinaryLlama I'm glad you think so :) It takes a while to get used to, admittedly. I think it might deter new players.