Repository navigation
Releases
Releases · Raylynx-Creations/Undermaker
1.1.2
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)
1.1.1
Version 1.1.1 is here adding mobile support and fixing couple bugs I forgot to take into account for the polygonal boxes!
There's an APK now of the testing project for you to try out the features on your Android phone now, in theory it supports as well iOS but I don't have the mean to build for it so, if it doesn't work there I can't test it sorry.
Changelog v1.1.1:
- Added new global property that tells you if you're on a mobile device:
global.is_mobile, it's either true or false.- Use it for mobile only things on your games.
- Added mobile control support with default values on the
global.game_settingssettings for template and testing projects.- Changed scr_game_menu to support mobile inputs for quitting and on the template project to enter the game as well since there's no Enter key.
- Comes with 2 different controls (CROSS or JOYSTICK) and can put buttons on any location with the appropiate functions.
- Has option to move the movement control around the screen every tap on the side it's on.
- Has scaling and transparency options.
- Automatically switches to these controls when on phone devices.
get_escape_buttonfunction is mapped to the back button on phone devices.- Since you can't hold that button, the quitting mechanism has been adjusted to make two taps to exit to the menu.
- A similar approach is used for menus but that's not handled by the engine directly, check the testing project for example of usage or make your own.
- Added several functions to change the settings of the mobile controls, they all start with
mobile_*.- These work only on phone devices, on PC they will do nothing, although the setting must still exist yes.
- Fixed crash with boxes that just have 2 points to define their polygon shape (line boxes).
- Added compatibility with the other box types (NORMAL, MERGE, HOLE) with boxes that just have 2 points defined (line boxes).
1.1.0
Changelog v1.1.0:
- Collision push stepping reduced to 0.25 instead of 1 to remove the jittering when colliding on diagonal collisions.
- Property movement_run_speed added to obj_player_overworld with default of 9.
- Property box_depth added to obj_player_battle and obj_battle_bullet for battle box and bullet collision handling based on battle box's depth.
- Properties interaction, interaction_key, can_interact and can_select added to obj_battle_button, so the player can interact with them and execute a function on battle while it's dodging and toggle their selected state when colliding with them.
- Added battle box types for merging and making holes in them for diverse other attacks!
- Added function to rotate box by an amount from its current rotation and not set it to that amount, avoiding the need to use
battle_get_box_rotationfunction.- Renamed function
battle_set_box_rotationtobattle_rotate_box_to.
- Renamed function
- Added functions to modify how the player selects buttons based on functions.
battle_get_button_order_options_array,battle_get_button_options_amountandbattle_set_button_order_optionsfunctions modify the button order for selecting.battle_set_button_selecting_left_function,battle_set_button_selecting_right_function,battle_set_button_selecting_up_functionandbattle_set_button_selecting_down_functionbind functions to specify a different jumping order on the buttons with the different directions keys (check out user manual functions to know how to use them).
- Added function
perform_game_save_with_spawn_pointto save game using a spawn point instead of raw coordinates and direction for the player if needed. - Added functions to create, destroy and set depth of battle boxes.
- Added functions for toggling status effects on the player while on battle. (the only status effect existent in the system is PLAYER_STATUS_EFFECT.KARMIC_RETRIBUTION for now)
- Added functions to change the player states to NONE, STILL and MOVEMENT only if the game's state is on GAME_STATE.PLAYER_CONTROL, calling it without arguments sets state on MOVEMENT.
- You can't open the menu if the player's state is in NONE or STILL, you can only in MOVEMENT which is the default.
- Fixed Karmic Retribution errors and added functions to change to it, you can now activate it without issues.
- Fixed player being enclosed in a very small collision space causing an infinite loop.
- Language features just got a full rework so you can load sprites with text on them according to language.
- No need of more external files, the json structure like files got moved inside the project as functions returning structs.
- Reduced default movement speed of battle boxes from 10 to 5.
- Renamed Util category to Utility.
- Changed properties on the blue soul
gravity_data:direction_changestruct was replaced withdirection_change_time = 4since the speed property in the struct didn't serve too much purpose.box_boundhas been removed since there are problems with multiple boxes in attacks, you will have to do the movement yourself if you want player moved with the box.
