Topic:   Platformer Physics Game (SCBox2D)   (Read 36821 times)


0 Members and 3 Guests are viewing this topic.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Platformer Physics Game (SCBox2D)
« on: February 01, 2011, 12:36:55 PM »
Platformer Physics Game

Goal: Get the box into the goal.

Instructions: Open the SCBox2D Plugin. Then open the game. Use the mouse to move. Space bar jumps.
« Last Edit: February 01, 2011, 03:31:30 PM by Gandolf »

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: Platformer Physics Game (SCBox2D)
« Reply #1 on: February 01, 2011, 01:50:17 PM »
The physics seem a bit "twitchy"... like momentum only seems to kick in after you've been moving for a few seconds.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Platformer Physics Game (SCBox2D)
« Reply #2 on: February 01, 2011, 02:16:03 PM »
Yeah, blame Sc's lack of a keydown method.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: Platformer Physics Game (SCBox2D)
« Reply #3 on: February 01, 2011, 02:36:25 PM »
I recommend using mouse control then, that's how I got around it in Hacksilver.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Platformer Physics Game (SCBox2D)
« Reply #4 on: February 01, 2011, 03:31:02 PM »
Updated with mouse movement. Smooth as silk. (Link at the top)

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Platformer Physics Game (SCBox2D)
« Reply #5 on: March 04, 2011, 10:29:44 PM »
You didn't use the new key commands?
It's like this:
if rightkey = 1 then...
You DON'T need to put it in the Key Down method, I think then it would only fire when Key Down does, which isn't smooth.
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/