Submissions have been closed. Stay tuned for results!

← Back to all posts
91
Swing!

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
Commentshotnewtop
2

Splash text ideas:

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

1

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

1

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

2

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

2

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

2

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 :/

1

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

5

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

3

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

5

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

1

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

2

@MatthewStirling ... Its Avengers Infinity War

2

@argthe1st Ah. I have yet to watch it.

1

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

1

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

3

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

1

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

3

Can someone record a gif while playing?

2

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

2

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

2

It's very hard. I like it!

1

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

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

2

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

1

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

1
1
2

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

2

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 https://repl.it/talk/challenge/Infinite-Runner-Thing/12625).

2

THIS AMAZING!!!

2

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

2

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

1

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

2

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

1

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

3

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

3

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

2

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

1

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

3

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

1

@ArchieMaclean Procedurally generated levels would be pretty awesome.

1

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

1

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

1

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

2
2

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

1

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

2

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

1

Add the peak text "Also try Zombies"

1

passed all available levels + arena survival levels (with trackpad)! can't wait until you add missiles

1

by the way, you can beat all arena survival levels just by going in the bottom left and moving from side to side

1

@LiamSchenck Thank you for the feedback. I've changed the arena to try and account for this problem. Now you'll never beat the arena, especially with a mere trackpad! MUAHAHAHAHA!

1

@MatthewStirling about that...lmao i just beat all of them really easily by jumping constantly on that one little slab in the bottom left. i didn't even use the grappling hook and i didn't move my mouse lol. the only tricky one was the super predictive one but then i just jumped and immediately grappled down back onto the slab...

is it time to make the entire arena floor red? lol

1

@LiamSchenck ffs dont you ever have anything positive to say?!

Just kidding, this feedback is super important and helpful. I've got rid of the island in all but the standard and super predictive arenas. Standard is meant to be easy anyway. The only problem might be on the bouncy bullets by standing on the edge of the tower base and jumping, but that's quite difficult for me to do. Tell me if you figure out any more of these "loophole" strategies!

2

@MatthewStirling ok so i played through them all again. i beat explosive and predictive scatter pretty easily just by standing on the place where you spawn and jumping up and down, but it's kinda difficult and you have to understand how the predictive scatter works to beat it really easily. i was able to beat bouncy bullets by standing on the edge of the tower base and jumping, and it was actually really easy since none of the bullets that i dodged ever came back near me. standard and super predictive i just beat in the same way i did last time lol

2

@MatthewStirling i think it's hard enough at this point regardless of the strategies i'm using but if you really want to make it hard you could make everything red besides the top or something like that idk

also idk if you're aware of this bug or not but you can jump infinitely if you just barely release the space bar after you jump before pressing it down again. it's hard for me to do consistently but easy enough that it's kinda gamebreaking lol

2

@MatthewStirling found another bug: if you beat the third level and then go to an arena survival game, die, then go back to the main menu and into the third level again, the redo turret button will still be there. otherwise it's normal, you can't die as usual since you've beaten the level. but then when you click the redo turret button, it brings you to the start of the level and you can now die. but when you die, it brings you to the end of the level yet you can still die. everything resets and is normal if you go to the main menu and back in again tho

sorry for the comment spam lol i just like finding bugs and stuff

2

@LiamSchenck No problem, I'm finishing up on the game now, releasing it tonight, and any bugs I find are very valuable. I already fixed the jumping bug. I think I will leave the arena as it is. If people find these easy strategies then so be it. You definitely can't beat the guided missiles that I added by just standing and jumping.

Oh yeah, and I added a level 4 with a bunch of missiles. I also made the grappling hook wrap around blocks instead of passing right through. It's a little thing but it makes the game so much better, IMO.

Unfortunately I didn't have time to add 2 player mode, but what can you do.

2

@MatthewStirling that's awesome! i'm typing this before playing through the guided missile levels but that seems cool, will you still add a 2 player mode even if you can't finish it in time for the game jam?

1

@LiamSchenck Maybe. There are still many things that I want to add. I've just updated the game on the challenge board to the latest version, and I'm intensively playing through it to find any bugs. I just realized one of the data files was corrupted, and I've been sh*tting myself trying to fix it before anyone notices, lol

2

@MatthewStirling yikes, i've been playing through it for a bit now (guided missiles are rly hard but i don't think they should be easier) and i didn't notice anything

1

I like it, but it's incredibly hard to see where you're going. The ball never stays centered.

1

If you spam the space bar you can fly. Can you fix this?

1

@kaldisberzins I can't seem to replicate the problem. Are you doing something specific? When I only spam space bar I jump once from the ground but not anymore in the air.

1

@MatthewStirling

When I stand on the ground and spam space I can jump high approximately 1/3 times.

1

@kaldisberzins Got it. I will fix it in an upcoming update. Thanks!

1

@kaldisberzins Yeah I have this issue as well.

Interesting issue.

1

@eankeen Damn, I went to sleep before I read this comment, now it's too late. Out of curiosity, how did you trigger this bug? Or if you don't know, what happened right before? It looks to me like you just respawned, then gravity decided to work upward.

1

@MatthewStirling I was actually streaming when this bug happened - so lucky for you! ;). (the video is at https://www.twitch.tv/videos/413101843) I was playing your game at around the 28 minute mark - but it didn't happen there. It was around the 2 hour 15 minute mark where the bug would just happen. Not sure how useful it would be, but thought I should let you know just in case. :P

1

I think it's good, but I found myself fumbling with the controls more than I thought I would. Intuitively, I wanted to use W and S to Climb up/down the rope, and to release the rope by jumping off, and it was kind of off-putting to jump when I released the space bar. I really enjoy the feeling of swinging around, but I think that the control scheme can really hamper your ability to move through the levels quickly. Being able to flow through the levels, so to speak, feels fantastic, so anything you can do to encourage and enable that way of playing would give your game that much more polish. Fantastic job overall, keep up the good work!

1

This game is amazing, but because you shared it to the challenge, I recommend adding some sort of money system, so you can fulfil the requirement of making it money related. Amazing game, once again. Keep coding!

1

@Ov3R10rd Honestly, I didn't even realize there was a theme when I started brainstorming for this game. But I don't think games will be penalized for not following the theme, so I won't bother adding it in. It will just feel contrived.

1

Great Game!
Maybe have it so that you just hold w and don't have to re-press it in order to swing in?
idk, maybe some people wouldn't like that.

Also, the e seems to be a bit strange, it kinda moves jerkily:
https://drive.google.com/file/d/1lfPR6OuToI-MmQ_8YqQqowg1EABcAqEB/view

1

@ArchieMaclean I like the 'w' control just the way it is. This way you can control how much you are pulled. But I should probably fix the jerk of 'e'.