play with color
This commit is contained in:
parent
858163939a
commit
9a8e62ae8c
@ -120,7 +120,7 @@ const Emitter = struct {
|
||||
posy = @intFromFloat(screenHeight / 2 + p.position.a.y);
|
||||
//rl.drawRectangle(posx,posy,2,2,rl.Color{.r=p.position.a.color.r,.g=p.position.a.color.g,.b=p.position.a.color.b,.a=255});
|
||||
vec2 = .{.x = (screenWidth/2+p.position.a.x),.y = (screenHeight/2+p.position.a.y)};
|
||||
rl.drawTextureEx(texture, vec2,0.5,p.size, rl.Color.white);
|
||||
rl.drawTextureEx(texture, vec2,0.5,p.size, rl.Color.green);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user