Sprite Angle Offset?

For questions about using Classic.

Post » Mon Mar 29, 2010 11:43 pm

So, I'm having an issue with a sprite. Basically I have an enemy (a turret) that pivots and aims towards the player and shoots a bullet. This is easy enough, and not my issue. My issue is the sprite graphic itself. It doesn't face the player properly but still shoots a bullet in the right direction.

Here's an image to explain my issue:


See that red spacecraft? It's supposed to be looking at the player, not facing in the direction it is currently. Any ideas?
B
1
G
2
Posts: 3
Reputation: 631

Post » Tue Mar 30, 2010 12:40 am

Hi. If you're using simple turret behavior and not some custom routines, I'd have to say that you must have drawn the sprite facing the wrong direction. By default, Construct expects right-facing on sprites. That is set to zero degrees.

With the sprite selected, if you click on the 'Animator' tab in the lower left, it will show that angle.
B
3
S
2
G
2
Posts: 187
Reputation: 1,449

Post » Tue Mar 30, 2010 1:28 am

Ah, yeah. Setting the sprite to face rightwards in Photoshop and editing back into the game worked perfectly. Thanks!
B
1
G
2
Posts: 3
Reputation: 631


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest