Skip to content

1.1.1

Choose a tag to compare

@Raylynx-Creations Raylynx-Creations released this 27 Apr 21:23
· 1 commit to main since this release

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_settings settings 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_button function 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).