aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-27 11:08:50 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-27 11:08:50 +0100
commit72e605528ebe8347e1457358fe9025c215afe163 (patch)
treebd193e4805e7e600356f7d09a8971199cce8783b /src/example
parent3b433353a83c2436b69f73ca1048842d906b1147 (diff)
implemented feedback, removed width so that user only can set height.
Diffstat (limited to 'src/example')
-rw-r--r--src/example/rendering_particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 680c0ac..afa064d 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -35,10 +35,10 @@ int main(int argc, char * argv[]) {
make_shared<Texture>("asset/texture/test_ap43.png"), color,
FlipSettings{true, true});
test_sprite.order_in_layer = 5;
- 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, 1, 1, 0).active = true;
/*
auto & test = game_object.add_component<ParticleEmitter>(ParticleEmitter::Data{