AJM1's Forum Posts

  • 3 posts
  • My game is almost done. I implemented IAPs and everything works as expected, except that the displayed price from the item loaded from google play store has the text alignment to the left. I'm using a SpriteFont, and even though I have the horizontal alignment set to center. And even reapplying the alignment after the text has been set. It still aligns to the left. Anyone know how to fix this?

  • I can see a couple things that you could fix.

    I do not know why you need to pin Sprite 2 every second and set the target every second. In this instance you could instead do the first event 'On start of Layout'.

    Second thing is the 3rd event. If you set the angle to 45 degrees when the turret has a target it will happen every tick, therefore overwriting the other instance where you set the angle. That's why it's always 45 degrees. This can be fixed with putting 'triggered once while true' as a sub-event.

    Lastly I don't see how the distance between the turret and the target would give the degrees needed to hit it. To make it work in this fashion is very much complex. You could get that angle if you had it as is now and replaced the '-45 degrees' with the distance you calculated.

    Look over these issues, I'll take a closer look if I have the time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried the r401, it was fine on pc, but lags out completely on mobile. Both in remote preview and when exported to google play.

  • 3 posts