gameplay: flying, more horizontal speed#124
Conversation
|
Maybe make it a config option - this might be bad for touch devices |
Ok. So I should add in UI Settings - Game a new checkbox e.g. "Faster flying"? |
| const float maxSpeed = 8.0f; | ||
| const b2Vec2 force = getMass() * _acceleration; | ||
| b2Vec2 force = getMass() * _acceleration; | ||
| force.x *= 2.5f; // more horizontal |
There was a problem hiding this comment.
please move this into (the 2.5)a constant into Map.h
not necessarily an ui option - but an option so we can change the setting in the config dependent on whether this is a touch, mobile, web or ... |
|
Ah right. I will add it. |
|
Okay I added a var in Map.h and now in config.lua I set it to 2.5 on PC, and default 1.0 stays on devices/html. |
|
can you please rebase this and remove the merge commit? |
Well I can try. I fixed a merge confict in it. I guess I got used to merge workflow etc. |
|
Okay rebase failed. It was easier for me to make a new branch and PR: #138 |
I like it more, makes gameplay faster. Feels less heavy.
I think in Ugh flying sideways was even faster. But this value is good.