cvp's Forum Posts

  • I am having a hard time understanding your problem. Can you post a .capx file.

  • You could use the Pin behavior instead. Use "rope style" that works well for a snake.

    Just pin each part of the tail to the part in front of it.

  • You need to remove the two event actions you have in the "is in touch"

    In lab 4 they were moved to the bottom. (you can see you have them twice now)

    <img src="https://dl.dropboxusercontent.com/u/2560922/mobiledev/forum/deleteThese2actions.png" border="0" />

    The reason why yours will not change face direction is because as your code looks now you are setting the position of the player before your check the distance. So the distance will always be 0.

    Thats why the Set position and angle was but down at the end.

  • I meant something more down the lines of the game having 3 saveslot or something like that.

    Then if the user has used them all, and he deletes one of them. Then display an empty slot in the UI. When he then saves the next time in that "empty" slot. Overwrite the save game that already exists.

  • Uh Uh... i know that one.... <img src="smileys/smiley17.gif" border="0" align="middle" />

    Insanity: doing the same thing over and over again and expecting different results.

    Albert Einstein

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Then this post could maybe help you.

  • There is a Pick nearest/furthest condition on any object in C2.

    you can use that to find the closest object, and then set a instance variable on the object who its partner is.

  • You wont get a lot of help with that attitude m8...

  • Have a look at this topic for the collision of multiple objects.

    .capx

  • Camera like CS?

    You go to be more specific m8. C2 is a 2D platform. CS is 3D.

    Tell us a little bit more about what it is you are trying to make.

    And next time you post a topic like "Help me" aint the best in the world... Find a topic that explains a bit about what you would like help with instead <img src="smileys/smiley2.gif" border="0" align="middle" />

  • You could do something like this:

    .capx

  • I am in Denmark.. so +1 hour <img src="smileys/smiley1.gif" border="0" align="middle" />

    I know its not the nice mathematical solution. But sometimes with engines you have to make it work.

    But from the time i have used C2 you wont be disappointed with its capabilities.

    And that is leaving out the fact that the C2 team does new releases very often. With a lot of cool stuff.

    There is also the option for you to implement the 100% correct solution in your own behavior. Javascript style <img src="smileys/smiley16.gif" border="0" align="middle" />

    For what its worth.. i think you could make it work as I suggested with extra spacing on the sides. And done right, the player would know the difference. Only you.

  • thats strange.. its the same.. What version are you using?

    Lol... I should just go bed i think... it was just because the event sheet view was scrolled way down to the bottom where there were no events <img src="smileys/smiley26.gif" border="0" align="middle" />

  • A lab4 for you then <img src="smileys/smiley1.gif" border="0" align="middle">

    The distance thing is to stop it from doing a "jitter"

    .capx

    Try to disable it and you will see the difference.

  • Sry... it might be me thats a bit slow tonight, its getting late here <img src="smileys/smiley1.gif" border="0" align="middle" />

    You are saying that your player will stay in the middle? If i understand you correct?

    You need the wrapping for other things? or?

    If so, why not just make the layout bigger at the beginning and end to fit your objects outside the viewport, and then wrap them?