Version 0.9.2


Hey everyone!

This update was a bit smaller than I wanted it to be, so the addition of parallel processes will have to wait until the next release. I did lay the groundwork for them here, with the addition of map-level properties and improvements in the initiation of touch-based events (code should no longer be triggered multiple times).

The most meaningful new feature this update are those map-level properties, introducing background music and ambience to the pink engine. Music is played on ren'py's music channel, whereas ambience is played on ren'py's sound channel, allowing a map to have both playing simultaneously. Music is set to keep playing when you go to a new map, unless that map has a different background music, or is explicitly set to not play background music (having the "stop" value for the background_music property). Ambience is set to stop playing when you go to a new map, unless that map has the same ambience, or is explicitly set to continue the ambience from the previous map (having the "continue" value for the background_ambience property). A trio of linked test rooms have been set up to demonstrate how these properties work

I also added the forbid_run and force_run map-level properties, which do exactly what they say they do. A pair of very boring test rooms have been set up to demonstrate these properties. Note that setting force_run on a game level overrides map-level forbid_run properties. 

The other feature this release is less visible, but should still be felt: I rejiggered the movement code. Not only should it run more smoothly now, but I also ironed out some bugs and added new features. No longer will you get stuck as running when releasing the shift key and directional key at the exact same time. When you release one directional key but are still holding another, your character will start moving in the direction that you're still holding a key of. Code in a touch event should only be triggered once per movement, rather than having it run once per frame.

A pair of new object-level properties was also added: camera_offset_x and camera_offset_y. When the camera is focused on an object with these properties, the camera is offset by the given amounts. These properties were added to fix a bug wherein spawning a camera drone would cause the camera to focus on a different location from where it had focused previously. 

I also added a license and a credits file, because it's just good form to have those. 

In the next release, I will add the long-awaited parallel processes. See you all next time.

Files

pink_engine-0.9.2.0-pc.zip 57 MB
Dec 06, 2020
pink_engine-0.9.2.0-pc-empty.zip 41 kB
Dec 06, 2020

Get Pink Engine

Leave a comment

Log in with itch.io to leave a comment.