PLATFORMER: Player and physics

0 favourites
  • 12 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Im telling you, combining these two behavours in a desired way can be avfuly difficult to give the platformer game a feeling of physical control.

    I tried also private and global variables to prevent the player pick more than one object at once but then the player got trouble to trow them around.

    Here is my try...

    Sudgestions and examples with other ideas for this topic are welcome!

    Example contains:

    -Platformer combined with physic object

    -Platformer standing on, picking, pushing and trowing physic objects around

    File: dl.dropbox.com/u/5214903/GM/pvsp.zip

    or CapX: dl.dropbox.com/u/5214903/GM/pvspp.capx

  • Miu > it would be great if you could share .capx instead of zipped project for such test.

    This way I just have to download and run, and I don't have to create a folder and unzip a whole project just to run a c2 test.

    And for that, you just have to "Save as single file".

  • Miu > it would be great if you could share .capx instead of zipped project for such test.

    This way I just have to download and run, and I don't have to create a folder and unzip a whole project just to run a c2 test.

    And for that, you just have to "Save as single file".

    *Edits* done

    One thing allthough i find interesting is that when others have a link clearly with .Capx, my pc still downloads it a .zip file.

    Anyway,hope this is better for you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmmm I'm a bit too lazy right now to do any testing.

    But I think, in platformer, the benefit of using physics it for objects falling or objects interacting with other physics objects.

    So I think you should deactivate the physics behavior as soon as the platform character interact with it. Because the main issue with physics and platformer it the fact that platformer characters doesn't behave realistically.

    platformer character and physics object are in two different world with different rules.

    So deactivate physics on interaction with an non-physical object.

    I you want to throw a block, reactivate the behavior the moment the object is thrown and do a "set impulse"

    It may be a bit more complicated than what I just said, but the idea is to really think about what you expect to be from the physic world and from the platformer world. Pushing, Carrying, doesn't have to be physically right, but falling and bouncing should.

    That was my thought :D

  • I would just make a custom platformer behavior using physics. it couldn't be that hard.

  • Nice example, Miu3.

  • Real nice! Have you tried to make a game using this system?

  • I was also thinking about this type of game, I have seen one very good demo of Physics platformer on youtube and was just got excited after seeing it. But I am not very good with C2 now, maybe later.

  • Here is my test using physics behavior for platformer Capx

    A bit messy but there aren't so many events.

  • Katala , thanks for the work. :D

    I want to ask one thing that making a physics plat-former game, we have to do everything with the help of physics, can't it be make with platform behavior. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Hey could anyone help me ... in a platformer game;

    I want the player to shoot left and right, how do I do that?

    Thank you,

    kind regards Rafael

  • Rafael0125

    ... you could try set the angle of the spawned bullet to the angle the player is?

    Im also sure there are some examples in the "how do I" section in the forum scirra.com/forum/how-do-i_forum45.html

    or check here scirra.com/tutorials/newest/page-1

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