Repository navigation
Release v1.1.2 is here!
Lots of fixes for bugs, improvement other features and addition of missing features that were missing for mobile UI and controls management and much more!
Changelog:
- Reduced quit tolerane for mobile users from 180 frames to 90 frames.
- Added get functions to get mobile functions to get several settings of mobile users (type, size, alpha, position, etc.).
- Added feature to reposition the mobile's buttons by triggering a function.
- Buttons cannot go to the other side of the screen, compatible with left handed compatibility.
- Added a function to set the alpha of borders.
- Added a function to remap a controller even if they have already been mapped before or have a preconfigured mapping.
- Added a function to get controller_id of current controller that is connected and check if a controller is connected currently.
- Added functions to set and get data from music objects from the overworld and battle,
battle_music_*oroverworld_music_*. - Added a global variable to contain persistent save data, this won't reset with new game features or resetting save files.
- Added
snd_ui_voice,mus_game_overandshd_outlineto the template project as the engine requires them now for some features.- Changed default voice of battle box dialogs in battle to be
snd_ui_voice. - The engine required before already a
mus_game_overmusic but the file was missing on the template project. shd_outlinehas been added to make some texts of UI that appear on screen be more viisble on light backgrounds.
- Changed default voice of battle box dialogs in battle to be
- Fixed bug with [voice] command in dialogs that made it persistent across different dialogs.
- Game settings have values adjusted to have nice rounding numbers in steps of 0.5 quantity.
- Added constant BATTLE_START_ANIMATION.INSTANT to start battle fights or battle attacks immediately without a transition.
- Fixed battle start animations not working properly and always default to BATTLE_START_ANIMATION.NO_WARNING. (Unsure if it was a bug or not in the releases but just in case mentioning it)
- Move button in mobile UI respositions to a default position now whenever the disabling. (Compatible with left handed)
- Fixed issue with double triggering when changing control types, left handed mode and movable controls.
- Added proper controller support to mobile users.
- Before it would softlock the controls to keyboard when connecting a controller and disconnecting it, which phones can't have.
- Added more UI dialogs on the scr_language_texts functions for the new mobile features and compatibility with controllers.
- Fixed a bug where the blue gravity soul is considered as always moving, therefor making blue/cyan and orange bullets hurt/not hurt the soul.
- Added a parameter to the dialog system when you use
set_dialogues,add_dialoguesto give a reference of an object to grab functions from in some specific commands with a keyword.- Improved [func], [bind_instance], [wait_for] commands in dialogs to accept "self" as keyword to refer to the instance being passed in the functions to quickly acess functions of the instance executing it.
- You don't need to provide the parameter on functions like
overworld_dialogorbattle_box_set_dialogsince it is done automatically by the functions, using the instance that did run those functions.
- Fixed a bug with the collisions with
obj_collisionandobj_interactionwhen the difference in scales is too big and they are rotated in angles that are not 0°, 90°, 180° and 270°. - Moved scr_game_constants to the Engine section as it has been considered that, that script has important engine related constants, if not assigned valid values could break the entire engine.
- Fixed issues with merging boxes not working properly with collinear cases (edges that overlap other edges).
- Reworked the intersections, entry-exit marking and transversion of the algorithm plus some other bugs that made it inconsistent.
- Improved music system to have fading time values, functions to change music easily, set pitch and more, allowing for music to fade instead of abruptly changing.
- Added configuration about said fading done automatically by the engine in the
scr_room_music_ids.
- Added configuration about said fading done automatically by the engine in the
- Fixed a bug in
battle_rotate_boxwhen given true in the instant parameter, making it so the rotation is wrong and messing with the rotation in unintended ways. (It was a wrong variable problem x3)