- [NEW] Jump booster implementat

- [NEW] God booster implementat
- [NEW] Contadors dels boosters, ja no son infinits.
- [FIX] Al botar si topeta en algo, no ho atravesa (bueno, algunes vegades encara...)
This commit is contained in:
2024-07-01 20:02:26 +02:00
parent 8789bea813
commit 8b1cf9a405
4 changed files with 103 additions and 29 deletions

View File

@@ -354,6 +354,7 @@ bool game::loop()
else
{
actor::update(actor::getFirst());
actor::hero::useBoostGod();
}
draw::resetViewport();
@@ -369,6 +370,9 @@ bool game::loop()
room::draw2();
draw::swapcol(1, WHITE+LIGHT);
actor::draw(actor::getPicked(), false);
print(10, 200, actor::hero::getBoostJump());
print(30, 200, actor::hero::getBoostGod()/2);
print(50, 200, actor::hero::getBoostRun()/2);
//draw::draw(148+sx*2-sy*2, 67+sx+sy,24,24,24,0);
/*