Release 2.2


This version contains an update for @JujuAdams’s Scribble Library to version 8.1.0, some bug fixes and a lot of new features and enhancements when it comes to particles.

Particles

In cooperation with gamemaker-casts, they released a version of their Particle Editor, which offers an exclusive Export Filter for gml-raptor! The filter is available in Version 1.5 and above of the Particle Editor.

Using this tool, you now can generate particle effects that will export exactly as gml-raptor needs it, using all its objects, particle systems and stream/burst methods.

ParticleManager (PARTSYS)

  • Easier streaming and bursting: Two new methods stream_at and burst_at let you move an emitter’s range to specified coordinates and start the action in one go
  • attach_to and attach_copy_to let you attach an emitter to any instance of an object you have in your current room. With several parameters you can device, whether the emitter shall follow the instance and other settings. Especially the attach_copy_to method is useful if you need the very same effect at multiple places in your room (like torches on the wall). This methods will create exact copies of emitters defined through the Particle Editor at positions of existing objects.

Features & Improvements

  • ListPool received a massive performance boost. While in former versions, you could see a frame drop under specific circumstances when you have several hundred StateMachines active in the scene, the new version is more than 50% faster in processing states.
  • StateMachine has also been adapted to use the new ListPool features
  • Broadcasting has changed method signatures for add_receiver and send. If you currently use the broadcaster, you will receive compile errors.
    • You need to change your add_receiver and send calls like this:
    • pre 2.2: BROADCASTER.send(new Broadcast(sender, title, data))
    • now: BROADCASTER.send(sender, title, data)
    • I simply removed the need to supply a constructed class here, instead you can send the parameters directly
    • The same is true for the add_receiver method

Bug Fixes

  • HTML games with raptor are designed to scale while keeping aspect ratio intact. On odd browser window dimensions, when large black bars appear on the sides, GUI elements sometimes were rendered offset from their expected position.
  • Performing an animated camera flight (i.e. using an AnimCurve and a duration > 1 frame) through any of the camera methods of the roomcontroller caused the camera runtime to create additional (unneccesary) instances of support structs (1 per frame of the duration, so this quite summed up). This is now fixed.
  • ROOMCONTROLLER.camera_look_at now correctly centers the view when looking at a new position
  • ROOMCONTROLLER.camera_zoom_by now correctly centers the view when looking at a new position and in addition it offers new parameters for min_width and max_width which makes zooming the view with the mouse wheel now a oneliner!
  • A bug has been fixed in ParticleEmitter and ParticleManager that caused the emitter ranges not to be centered correctly at the specified coordinates
  • animation_abort_all now correctly breaks loops and animation chains (no hanging invisible ghost animations anymore)

Files

gml-raptor-demo.zip Play in browser
Dec 18, 2022

Leave a comment

Log in with itch.io to leave a comment.