[Added] Ability to serve the project using nginx on localhost:4600

This commit is contained in:
Ninjaws
2024-12-19 22:40:59 +01:00
parent c0bfe9bd13
commit 33f6504b6c
10 changed files with 220 additions and 121 deletions
+2 -2
View File
@@ -10,13 +10,13 @@ class Jelly
public:
Jelly(){
this->texture = TextureWrapper(AssetService::getInstance().getSprite(ESprite::JELLY),{32,32});
AssetService::getInstance().playSound(ESound::JELLY_FREED);
// AssetService::getInstance().playSound(ESound::JELLY_FREED);
}
Jelly(Vector2 startPos)
{
this->startPosition = startPos;
this->texture = TextureWrapper(AssetService::getInstance().getSprite(ESprite::JELLY),{32,32},startPos);
AssetService::getInstance().playSound(ESound::JELLY_FREED);
// AssetService::getInstance().playSound(ESound::JELLY_FREED);
}
void logic()