fixed packet size
This commit is contained in:
@@ -78,7 +78,7 @@ void Ari::onInit()
|
|||||||
texRepo->addByMesh("sunnyisl/", islandAddons);
|
texRepo->addByMesh("sunnyisl/", islandAddons);
|
||||||
texRepo->addByMesh("skybox/", skybox);
|
texRepo->addByMesh("skybox/", skybox);
|
||||||
texRepo->addByMesh("ari/", player.mesh);
|
texRepo->addByMesh("ari/", player.mesh);
|
||||||
engine->audio.playSong();
|
// engine->audio.playSong();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Ari::initBulb()
|
void Ari::initBulb()
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ int main()
|
|||||||
{
|
{
|
||||||
Engine engine = Engine();
|
Engine engine = Engine();
|
||||||
Ari game = Ari(&engine);
|
Ari game = Ari(&engine);
|
||||||
game.engine->init(&game, 40000);
|
game.engine->init(&game, 128);
|
||||||
SleepThread();
|
SleepThread();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ void Floors::onUpdate()
|
|||||||
player.update(engine->pad, camera, floorManager);
|
player.update(engine->pad, camera, floorManager);
|
||||||
engine->renderer->draw(player.mesh);
|
engine->renderer->draw(player.mesh);
|
||||||
for (u8 i = 0; i < FLOORS_COUNT; i++)
|
for (u8 i = 0; i < FLOORS_COUNT; i++)
|
||||||
engine->renderer->draw(floorManager.floors[i].mesh, lightManager.bulbs, lightManager.bulbsCount);
|
engine->renderer->drawByPath3(floorManager.floors[i].mesh, lightManager.bulbs, lightManager.bulbsCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Floors::onAudioTick()
|
void Floors::onAudioTick()
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ int main()
|
|||||||
{
|
{
|
||||||
Engine engine = Engine();
|
Engine engine = Engine();
|
||||||
Floors game = Floors(&engine);
|
Floors game = Floors(&engine);
|
||||||
game.engine->init(&game, 40000);
|
game.engine->init(&game, 128);
|
||||||
SleepThread();
|
SleepThread();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user