aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-14 20:03:28 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-14 20:03:28 +0100
commit60669b60e63532bc264ecd6d106bd15f0688a5b6 (patch)
tree71f6a0e831673f620c22975b36a395d09f091e8b
parent80851a12f73b70b6ea91444c28882d554a391182 (diff)
adapted some files
-rw-r--r--asset/texture/img.pngbin92742 -> 11476 bytes
-rw-r--r--src/example/rendering_particle.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/asset/texture/img.png b/asset/texture/img.png
index 43b1eca..649a3f1 100644
--- a/asset/texture/img.png
+++ b/asset/texture/img.png
Binary files differ
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index cb95ede..75be7ff 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -22,7 +22,7 @@ using namespace std;
int main(int argc, char * argv[]) {
GameObject game_object(0, "", "", Vector2{100, 100}, 0, 0.1);
- Color color(255, 255, 255, 0);
+ Color color(255, 255, 255, 255);
Sprite test_sprite = game_object.add_component<Sprite>(
make_shared<Texture>("../asset/texture/img.png"), Color::get_red(),
FlipSettings{false, false});