aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-27 10:35:06 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-27 10:35:06 +0100
commit368aeba5bcfafe445b3af5748f3798aa75003bf2 (patch)
tree7c15a1354b349e6d9207340fcecbc86038513f5d /src/example
parentc5d1b46ba804eaabdb4fc2f4f4295292032def65 (diff)
implemented feedback on PR40 and made camera sizes ivec2
Diffstat (limited to 'src/example')
-rw-r--r--src/example/rendering_particle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index eec2769..680c0ac 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -32,13 +32,13 @@ int main(int argc, char * argv[]) {
Color color(255, 255, 255, 255);
Sprite & test_sprite = game_object.add_component<Sprite>(
- make_shared<Texture>("asset/spritesheet/spritesheet_test.png"), color,
+ make_shared<Texture>("asset/texture/test_ap43.png"), color,
FlipSettings{true, true});
test_sprite.order_in_layer = 5;
- test_sprite.width = 1000;
- test_sprite.height = 500;
+ test_sprite.width = 259;
+ test_sprite.height = 195;
- game_object.add_component<Animator>(test_sprite, 4, 1, 0).active = true;
+ //game_object.add_component<Animator>(test_sprite, 4, 1, 0).active = true;
/*
auto & test = game_object.add_component<ParticleEmitter>(ParticleEmitter::Data{