PapitoMyKing's Recent Forum Activity

  • From the manual:

    "If a layer's Global property is set to Yes, then every layer in the project with the same name is overridden by that layer. The initial objects, as well as its properties, are used instead of the other layer's own content and properties."

    to have objects on the layer keep their values etcetera, you have many choices..

    Global variables, Global objects and saving to local storage, are the most used..

    I see, thanks for the reply! I'll try one of those options.

  • Hi!,

    So, I have a global layer (which is the menu of the game). When I buy an item, I make its sprite spawn in the menu. When I move to another layout, the item is not longer there, the global layer has reseted!

    Yes, the global layers are named the same, and are at the same position on every layout.

    Thanks for the help.

  • Same issue here

  • Like I said..

    If you use Player.8direction.movingangle it should work..

    system is within angle : Player.8direction.movingangle is within 5 of 90 - play animation "down"

    This was totally the solution. Thank you man, and sorry I didn't understand earlier.

  • Like I said..

    If you use Player.8direction.movingangle it should work..

    system is within angle : Player.8direction.movingangle is within 5 of 90 - play animation "down"

    But it doesn't... can you take a look at my event sheet and tell me if there is something wrong, here it is

  • why not just set your animation on key press ?

    if key down pressed set animation down

    if key right pressed set animation right

    etc

    ?

    I tried that, but if I'm pressing up, and then press right withou letting go up, the player would move up, but the animation would be facing right, and it looks worse than my current situation

  • I'm not sure what you mean by "Player at 0 degrees"

    Are you comparing : Player.8Direction.MovingAngle ?

    Hi!,

    Here is a video of my event sheet. I don't know how to put pictures here <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • Hi,

    I have my animations set the following way:

    -When 8 direction is moving:

    Player at 0 degrees, animation to right

    Player at 90 degress, animation to down

    Etc

    But if the player is touching a wall, then the animations don't change. Here is a video of the issue:

    https://youtu.be/mRqSGUHPJUY

    What am I doing wrong?

  • Because the platform behaviour does not play nicely with other behaviours (other than solid, of course). There's a push-out-from-solid plugin that you might find helps here (just search the add-ons forum).

    Thanks man!

    For whoever is haveing the same problem, here is the plugin:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi!,

    So, I've been stuck at this issue for the past 2 weeks. Sometimes the player would ger stuck inside a moving platform. The collision boxes are all set to bounding box. The platform origin point is at the top, and player's origin at the bottom. Jumpthrough is enabled.

    TL;DR a video of the issue:

    Thanks!

  • PapitoMyKing

    Not a bug.

    Your orign points for both your player and platform are set to the bottom.

    If you change the origin of the platform to top, that will help.

    Also the collision polygon for 'player' is wrong, which means that as it approaches the edge, there is nothing to collide with.

    Why not just use bounding box for all of your collisions? For something as simple as this, that's all you really need.

    Thank you very much, I'll apply those fixes.

  • Problem Description

    My character with platform behaviour clips through the ground. Hitboxes are rectangles without inclinations.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/20062568/bug.capx

    Description of Capx

    I have a layer with several platforms and a layer with a restart button if the player falls. Press arrows to control.

    Steps to Reproduce Bug

      • Get on a platform.
      • Walk slowly to the left, press and release the left arrow very quickly.
      • When he gets to the ledge, if you are walking slowly left, he will fall form the top part of the platform to be "grabbed" inmediately again, and be able to walk through the platform if you press right.

    Observed Result

    Player doesn't fall if he is walking slowly to the left.

    Expected Result

    Player to fall when he is no longer on the platform

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7, service pack 1

    Construct 2 Version ID

    V. 212.2

PapitoMyKing's avatar

PapitoMyKing

Member since 11 May, 2014

Twitter
PapitoMyKing has 2 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies