r69 Auto - Mirror and increase speed in collision

0 favourites
  • 8 posts
From the Asset Store
Have you ever dreamed of playing in a Speedball game or tournament?
  • Hello,

    quick app

    I just update r68 to r69, but i got a problem with the enemy movement and the player movement, i solved the player movements by changing the angles (0,180) to (mirror, not mirror)

    my problem is that i can't fix the enemy movement what should i change to fix it?

    The 2nd problem is the speed direction of player when there is collision between him and the enemy, in both cases if the collision happened when the player was in angle 0 or in angle 180, the player x axis will be on the left direction. I want the player to go far from the enemy in the opposite direction.

    Thanks in advance.

    Mina

  • No one can help? <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Pretty neat animation you have there (I would recommend rendering it at 1:1 pixel size, though, your game will take forever to load with these detailed animations at twice the size or more).

    Anyhow - took me a while to get through your events, but here's what's up:

    <img src="http://images.devs-on.net/Image/YTQO6n2BGncvmIG-Screen1.png" border="0" />

    The bullet behaviour wasn't giving it an angle so any angle-based events weren't happening. And then you'd have to check the angle and flip as necessary. Just do the same events as shown in the image and it should be ok.

  • Thanks Somebody,

    I really appreciate ur help and ur nice words.

    "I would recommend rendering it at 1:1 pixel size, though, your game will take forever to load with these detailed animations at twice the size or more)." <font color=red>I don't know exactly how to do that, I'm still new in using construct <img src="smileys/smiley19.gif" border="0" align="middle" /> any help?!</font>

    What about the second problem? can u help me to solve it?

    Thanks a gain and wish u a nice day.

  • Any help??

  • I think auto mirror and auto flip should be still aviable lika a option to chose

  • no, it doesn't in this case, i tried it

  • Thanks everybody, i solved the problem using a private variable to change the direction during the collision.

    Thanks again for ur help.

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