X Tutup
Skip to content

v4.2.0-beta2

Pre-release
Pre-release

Choose a tag to compare

@chrismaltby chrismaltby released this 19 Jan 15:15
· 109 commits to develop since this release

Thanks to everyone who tested out the first 4.2.0 beta! We managed to spot and fix a few of the major issues for beta2.

Wall jumping in Platformer scenes can now be enabled without causing builds to fail, and off-screen actors will no longer randomly appear on screen :-)

There's also a few new features like keyboard shortcuts for copy pasting scripts and the ability to lock an actor's direction during "Move To/Relative" events so you can have an actor move right while continuing to face left.

Application changes since 4.2.0 beta1

  • Add ability to lock actor direction when using "Actor Move To/Relative" events so the actor does not change direction during movement
  • Add copy (Ctrl/Cmd+C), paste (Ctrl/Cmd+V), paste before (Ctrl/Cmd+Shift+V), comment (Ctrl/Cmd+/) keyboard shortcuts to script event editor can be used when hovering mouse cursor over script event's title or when hoverring the "Add Event" button
  • Add ability to select multiple script events using a checkbox on the right-hand side of each event title. Previously this was only possible using Shift+Click. When multiple events are selected, copy, paste, comment, and group commands apply to all selected events.
  • Add _stackPushScriptValue helper for use in plugins @Phidias618
  • Updated Italian localisation. @r3vit
  • Add ability to lock player direction in Adventure scenes to only face horizontal directions @Mico27
  • "Add Event" button now includes a Paste button when script events can be pasted
  • Sprite Animation State select dropdowns now group states that are only used by a single sprite. States shared by multiple sprites appear ungrouped, and you can hover over them to see which sprites use them
  • Fix broken values in EVENT_ENGINE_FIELD_SET carried over from 2.0.0 projects
  • Fix issue where variables passed by reference in expressions within custom scripts would use incorrect values
  • Fix issue where using actor properties in custom scripts would always return player properties
  • Fix issue preventing storing presets for "Launch Projectile in Slot" events
  • Fix issue where clicking on effect row in music editor in some cases could cause application to crash

Engine changes since 4.2.0 beta1

  • Improve VM_STEP performance
  • Free space in bank 0 by moving sin table to banked space and by converting cos/sin/isqrt to banked functions
  • Fix wall jump typo in platformer scene type
  • Fix issue where offscreen actors could flash onscreen for a few frames if manually activated
  • Fix loading sprites with NULL tileset
  • Optimize activate_actors_in_row and Optimize activate_actors_in_col
  • Fix player to actor collision in adventure scene type
  • Fix crash handler
  • Fix staggering when player is moving in shmup scenes
  • Spread actor screen boundary checks over multiple frames to improve performance
  • Spread projectile collision checks over multiple frames
  • Fix vm_actor_move_to interupt to stop actor on tile boundaries again
  • Fix emotes when in 8x8 sprite mode
  • Optimise actors_render performance by moving some checks to earlier in the function
  • Add support for horizontal only player sprite in adventure scenes
  • Add new optimised instructions for moving actors VM_ACTOR_MOVE_TO_INIT, VM_ACTOR_MOVE_TO_X, VM_ACTOR_MOVE_TO_Y, VM_ACTOR_MOVE_TO_XY, VM_ACTOR_MOVE_TO_SET_DIR_X, VM_ACTOR_MOVE_TO_SET_DIR_Y
  • Optimise calls to projectile_launch when launch direction is axis aligned
  • Use static variable for saving/restoring bank in scroll
  • Use static variable for saving/restoring bank in projectiles
  • Minor optimizations to the general banked data manipulation functions

The full list of changes can be found here https://github.com/chrismaltby/gb-studio/blob/develop/CHANGELOG.md#unreleased

As always if you spot any problems, please make sure to report an issue at https://github.com/chrismaltby/gb-studio/issues

Thanks,
Chris

X Tutup