Game Map - Best Approach

Started by bulka_tarta, Sun 27/08/2017 17:12:34

Previous topic - Next topic

Scorpiorus

You are welcome! :)

Hehe, and yeah I like how it works too.

By the way, I've made a couple of cosmetic changes to Map::SetViewport().
Logically it behaves absolutely identically, just makes the script code to look a bit prettier.
So see if you want to update it (you can simply copy all the ScriptModule Script part over again).

Also, I made DRAG_SPEED_MULTIPLIER a float, so that you can have it set to "1.5" or "0.5", for example.
Just replace that line and two lines below it: int dx = ... and int dy = ....

bulka_tarta

Oh yes, I see. Thanks again!

The float is very useful! :-D

SMF spam blocked by CleanTalk