Adjust spacecraft thruster particle origin up and right by 8px
This commit is contained in:
@@ -84,8 +84,8 @@ static void emit_thruster_particles(Vec2 ship_pos, float intensity) {
|
|||||||
|
|
||||||
/* Particles emit from the left (rear) center of the ship */
|
/* Particles emit from the left (rear) center of the ship */
|
||||||
Vec2 origin = vec2(
|
Vec2 origin = vec2(
|
||||||
ship_pos.x + 8.0f,
|
ship_pos.x + 16.0f,
|
||||||
ship_pos.y + SPACECRAFT_HEIGHT * 0.5f
|
ship_pos.y + SPACECRAFT_HEIGHT * 0.5f - 8.0f
|
||||||
);
|
);
|
||||||
|
|
||||||
int count = (int)(intensity * 3.0f);
|
int count = (int)(intensity * 3.0f);
|
||||||
|
|||||||
Reference in New Issue
Block a user