Character sometimes floats away

0 favourites
From the Asset Store
2d mushroom sprite 2d game mushroom character enmy sprite game art
  • I'm creating a platform game where you can shoot with your mouse but after playing it for a couple of seconds my character sometimes starts automatically floating to the left or right. How can I fix this?

  • Can you give your .capx?

  • here it is:

    http://www.zshare.net/download/957195244c0ff238/

    I think it mostly happens when you move too much while jumping.

  • I've changed the game a bit and now it's not necessary anymore. thanks anyway (if you still know a solution I'd still love to hear it).

    I do have another problem now, suddenly I cant add or edit my events anymore. does this mean that the limits of the demo version are reached or is this an error?

  • No no this is not a demo, I mean the only limit was on the number of layers and events and layouts, none on the time that you can edit your project!

  • hmm well that sucks then. Is this a known bug? anything I can do to fix it? I was just getting the hang of it.

  • The free edition is limited to 4 layers per layout and a total of 100 events in your project.

    I don't have the patience to wait 1 minute in zshare (you really should use DropBox which is wait and add free). Still you can check in C2 in the status bar at the bottom (thanks Ashley who made me notice this not long ago) there is the total count of events.

    If you try to edit an event (when you made too much layers or events), a warning window appears telling you the problem.

    Make sure of the events count in your project.

  • I uploaded my new game to dropbox: http://dl.dropbox.com/u/48507413/First%20game.capx

    I only have 25 events so that's not the problem, maybe I accindentally pressed some shortcut to remove it or something?

  • On opening your .capx, I noticed that the event sheet had been closed. Is this what you mean?

    Just double click on it in the Project list on the right. I can edit fine.

  • Thanks alot! I've got my event editor back now.

    I only have a problem with my character behaving like it's in quicksand now, when I stand still he somehow sinks in the ground a little. I tried changing the origin point but with no success.

  • This is due to Origin points not correctly set for all your animations. For instance, the Idle anim has Origin set to bottom center, but the run right is set to center.

    Also, some of the collision masks are a bit off :) Just use bounding box for now.

  • This is due to Origin points not correctly set for all your animations. For instance, the Idle anim has Origin set to bottom center, but the run right is set to center.

    Also, some of the collision masks are a bit off :) Just use bounding box for now.

    yeah I changed them to see if it would have any effect but unfortunately this isn't the case. It doesn't seem to mind where I put the origin even if I put it in the same place as the running animation (in which my character doesn't sink in the ground). Is this because of the collision masks (don't even know what they are, same goes for bounding box <img src="smileys/smiley9.gif" border="0" align="middle" /> )?

    I wish there was a help document <img src="smileys/smiley8.gif" border="0" align="middle" />

    EDIT: ah, I found the collision polygon. this fixes the problem!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the image editor, click the shape button (under the origin button on the left, tooltip "Set collision mask") and right click "Set to bounding box".

    You should see a blue square covering your image.

  • In the image editor, click the shape button (under the origin button on the left, tooltip "Set collision mask") and right click "Set to bounding box".

    You should see a blue square covering your image.

    hehe, I just edited my post because I found it <img src="smileys/smiley36.gif" border="0" align="middle" /> thanks for your help.

  • Thanks Kyatric, I never knew about that!

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