Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

v0.14.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@elisee elisee released this 04 Jan 01:15
· 783 commits to master since this release

Visual polish

From the start, we chose Roboto as the font for Superpowers's user interface. As it turns out, though, it was only applied in the launcher and the project tree, but not in each editor tab, where we used bland Arial. Now fixed!

The sidebars for all editors have been updated to use a consistent look. Properties have been reorganized to be easier to navigate.

Various jumpy resizable panes (in the scene editor, among other places) were fixed. The home tab received a little love too, with a more refined chatbox and a scrolling fix for Firefox users.

Keyboard navigation in tree views

The tree view widget is used to display your project's assets in the project sidebar, a scene's actors in the scene editor, list a map's layers and so on.

In this release, it gained supports keyboard navigation with the arrow keys, for simpler and faster browsing.

Three.js r73 update

We updated the game engine to use Three.js r73 (from r71) for rendering.

This new release has many improvements under the hood. Sadly, there were a lot of shader-related changes that might break your custom shaders. Feel free to reach out to us if you need help updating them!

Scene editor

You can now focus the selected actor with the F key in the scene editor. Similarly, when clicking on an actor in the viewport, its corresponding node will now automatically be scrolled into view in the scene tree.

Thanks to the Three.js update, transform handles finally work properly in 2D mode!

Script editor

The script editor was updated to use the latest CodeMirror release with better TypeScript highlighting. We also took the opportunity to enable code folding.

We fixed the [Object object] TypeScript error message that sometimes appeared instead of a helpful error description.

Arcade physics 2D fixes and new functions

Various edge cases were fixed, meaning your game's collision should work better overall.

ArcadePhysics2D bodies gained the .setCustomGravity method (and its getter counterpart) that allows overriding gravity for a particular body. .addVelocity was also added to simplify common use cases.

Noteworthy fixes and improvements

  • The Superpowers logo was updated to a slicker, vectorized version!
  • When creating a script named Behavior, the class will automatically be named based on the parent folder for your convenience.
  • More methods now accept a simple object with x, y and z properties rather requiring a full-blown Vector3. Same for Vector2 where applicable.
  • You can now choose the type of shadow map to use in the project's Light settings.
  • The tile map editor now works properly even if no tile set was selected.