Turret Behavior

0 favourites
  • 4 posts
From the Asset Store
10 turrets rendered in 3D with top down and menu views. Three upgrade levels per tower.
  • I'm not 100% sure how to describe the issue I am encountering so please bear with.

    I've been playing around with a couple of the examples and testing them on my phone. I came across the tower defense style game and encountered an odd issue when running it on the phone.

    It seems the sprites go outside the box and follow the outside layout before entering the path again part way through the layout. Also the turrets seem to stop firing after several seconds on the phone.

    Any insight as to why these behaviors might be happening would be greatly appreciated. <img src="smileys/smiley1.gif" border="0" align="middle" />

    Android 4.1.2

    HTC One

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Has no-one seen anything like this? Is it perhaps something with my phone or something else along the pipeline?

  • I suspect it has to do with the sample wasn't written for the phone. While C2 is mobile capable, the defualt templates unless state mobile, aren't. so running a desktop template on mobile may cause strange behaviours with the logic.

    Have you compared the games movement logic against the games layout dimensions, canvas dimensions and the phones own resolution?

  • Thanks a lot jayderyu. I appreciate the input. Playing with the layout a bit and the collision boxes a little changed the behavior. The issue with the offset in the touch was in relation was to do with the on screen menu bar in android. I made too many assumptions at first I would guess. The touch inputs in the example were misleading ;)

    Thanks again for the input!

    Edit: Should also point out there is still issue with the turret behavior. It stops firing after a short time and stops tracking i've tried having it update every second as well and every tick to see if I could change how it was behaving. i cant seem to find any rhyme or reason on why this is.

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