ekajuan's Recent Forum Activity

  • I got it!

    move the origin of cross hair up. Then pin the cross hair to the Hero and pin based on angle only.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello guys, I need some help.

    I'm making a simple top down shooter. The Hero/player will rotate according to the position of the mouse. I set the origin point on his head. So he will rotate nicely.

    The problem is:

    The gun's position is not on the center of his body. It's on his right side, pointing directly straight to the front.

    I change the mouse cursor to become a cross hair. As the result If I shoot, the bullet is not flying to the center of the cross hair.

    How should I solve this?

    If I change the origin point of the Hero so it will in line with the gun, that fixes it, but the Hero will rotate strangely.

    If I change the poisition of image point of the Hero, that fixes it, but it doesnt look natural. Cos the bullet doesn't fly from the mouth of the gun.

  • Hai, Prominent, thank you for the response.

    After a good night sleep, today I've found the reason. It happens when the bullet speed is 0.

    I'm developing a simple asteroid Game and would like to have a bouncing effect when my ship hits an asteroid. I tried to apply physic behavior to my ship. But it doesn't work well together with custom movement and wrap behavior.

    Yesterday I learned about the bullet bouncing off object, but now I realize it has problem in 0 speed. And it bounce without considering any mass or speed of an object, which can only be found in physic behavior.

    I'm confused now how to make this works. Well I guess that will be another topic.

  • Hello, I have a question. I applied the bullet-bounce off object in a collision. But the sprite that supposes to bounce, get destroyed or disappeared. Why?

ekajuan's avatar

ekajuan

Member since 10 Dec, 2014

None one is following ekajuan yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies