Releases: pewpewlive/ppl-utils
Releases · pewpewlive/ppl-utils
v0.7.162
v0.6.132
PewEngine v0.7.133
Adds support for loading a level at runtime:
var zip = new JSZip();
zip.file("/level.lua", "pewpew.set_level_size(500fx, 500fx) pewpew.new_player_ship(10fx, 10fx, 0)");
zip.file("/manifest.json", '{"name":"level","descriptions":["..."],"entry_point":"level.lua","has_score_leaderboard":false,}');
zip.generateAsync({type: "uint8array"}).then(function (array) {
var heapSpace = Module._malloc(array.length * array.BYTES_PER_ELEMENT);
Module.HEAP8.set(array, heapSpace);
Module['__Z9LoadLevelmi'](heapSpace, array.length);
// TODO: free the allocated memory
});
Fix crash in `get_entities_colliding_with_disk`.
The crash occurred when dealing with wary's missiles.
New version of PPL with a couple new APIs.
New APIs:
- configure_player_hud
- configure_player now takes
camera_x_override
andcamera_y_override
Added macOS "M1" arm64 version.
Rolled the latest version of ppl. Added sample level that shows all of PPL's characters.
v0.5.124 Roll new webasm that correctly handles going back.
Added baf_blue and baf_red
New APIs for custom levels:
◦ new_baf_blue
◦ new_baf_red
New APIs for music visualisation, mesh scale in XYZ axis, player speed.
New APIs for custom levels:
◦ set_player_ship_speed
◦ customizable_entity_set_mesh_xyz_scale
◦ customizable_entity_configure_music_response
New APIs for rotating meshes and creating new weapons.
New APIs for custom levels that allows you to:
◦ rotate meshes more easily.
◦ create player bullets.
◦ query entities in area.
◦ make entities react to weapons.
Added API to make rolling cubes and UFOs collide with walls
v0.4.113 Update documentation.