Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some rare bugs #860

Merged
merged 5 commits into from
Apr 10, 2016
Merged

Fix some rare bugs #860

merged 5 commits into from
Apr 10, 2016

Conversation

Zegeri
Copy link
Member

@Zegeri Zegeri commented Apr 10, 2016

Push the move routes methods down in the Game_Event class.

If an event can't do a step, it won't turn to the direction of the
failed step. This is done to make the movement look more natural.

In MoveTypeRandom: After using a dynrpg plugin to print the values of
stepFrameCounter (in liblcf: stop_count) and frequencyTimer (in
liblcf:max_stop_count), I've simulated the randomness of these two
variables. After about 1000 steps, 38% of the steps were forward steps
in RPG_RT, while 70% in Player. This has been reduced to 40% in Player.
@carstene1ns
Copy link
Member

This looks good enough for a quick merge 😀.

@Ghabry Ghabry merged commit f63a0a0 into EasyRPG:master Apr 10, 2016
@Ghabry Ghabry modified the milestone: 0.4.2 Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants