mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-04 09:11:27 +01:00
Fix vaporizing Owlicious
This commit is contained in:
parent
aba6cc3a0f
commit
b0b26461be
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
- sidescroll interpolation
|
||||
- tint Derpy at the current end of level 1
|
||||
- tilt Derpy at the current end of level 1
|
||||
- fix obstacles being moved on fullscreen toggling
|
||||
|
||||
- modular structure of the engine
|
||||
|
|
|
@ -92,7 +92,7 @@ void Dodger_Logic(struct Game *game) {
|
|||
}
|
||||
|
||||
if (tmp->hit) {
|
||||
if (tmp->points>=0) tmp->bitmap = NULL;
|
||||
if (tmp->points>0) tmp->bitmap = NULL;
|
||||
game->level.hp+=0.0002*tmp->points*(((1-game->level.speed_modifier)/2.0)+1);
|
||||
if (game->level.hp>1) game->level.hp=1;
|
||||
//PrintConsole(game, "POINTS: %d, %f", tmp->points, tps(game, 60*0.0002*tmp->points*game->level.speed_modifier));
|
||||
|
|
Loading…
Add table
Reference in a new issue