Les versions Beta ne sont pas autant testées que les versions Stables

Les versions Beta ne sont pas autant testées que les versions Stables

BBC micro:bit plugin; follow 'from current position'; bug fixes

19 March, 2024 ()

Envoyez-moi un courriel lors de nouvelles parutions

Don't miss out on the latest and greatest new features in Construct 3

Créer un compte

Notes

This release includes a brand-new plugin for the BBC micro:bit! This is a small single-board computer used widely in education with features like accelerometer sensors, buttons, a 5x5 LED screen, and more. It can communicate over Bluetooth, and the plugin uses the Web Bluetooth API to access the micro:bit right from your browser! You can use it for things like a custom controller for a game - see the new examples for a demonstration of what it can do. It's also possible to do low-level Bluetooth communication using Construct's existing Bluetooth and Binary Data plugins, which we've also provided an example for, as it may be of interest for more advanced use cases, but the plugin makes it much easier to use.

Other than that we have a new 'from current position' mode in the Follow behavior when starting to follow an object. When this is enabled, it acts as if the followed object was at the object's current position in the past at the delay time. This means instead of having no data and then jumping to the start position, it will usually move smoothly right away.

As ever there's a few more examples and some bug fixes. Happy testing!

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

30
Exécuter r384

Nouvelles fonctionnalités

9 favoris
BBC micro:bit plugin

Nouveaux ajouts

6 favoris
3 new examples using the BBC micro:bit
5 favoris
New examples 'Balloon blower', 'Memory cube'
7 favoris
Follow behavior: 'from current position' mode for starting following

Corrections de bug

12 favoris
Possible memory leak removing animation frames
10 favoris
Sprite: adding animation frame did not always start animation playback
10 favoris
Project Bar: possible crash if copying lots of large project files
7 favoris
Binary Data: 'Fill' action incorrectly handled length of -1
10 favoris
Touch: 'Is touching object' did not always work the same as Mouse 'Cursor is over object'

Partager Construct 3 la parution r384 maintenant

  • 10 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • That's awesome! I have a couple MicroBit v1 / v2 boards in my drawer, I guess they are coming out this weekend :)

  • Arduinos is next?

      • [-] [+]
      • 2
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 2 points
      • *
      • (0 children)

      Browsers provide Web Bluetooth, Web USB and Web Serial APIs, providing a few options for direct communication with a device. Providing you can get a device to connect, and find documentation on the protocol (e.g. how to send and receive messages to perform various functions), then it should already be usable (possibly involving JS coding though). The new 'BBC micro:bit raw communication' example shows how this can be done - it uses the Bluetooth and Binary Data objects to communicate with a micro:bit device directly. All the BBC micro:bit plugin does is wrap that in a nicer interface.

    • You can already use arduino with construct 3!

  • What a great idea!

  • now this is the j

  • when i run the Accelerometer and led and button services, the botton don't work. then i run the button services only, A botton is work ,but b botton don't work. i use Edge 122.0.2365.86 on Android phone in China.microbit is v2.21

  • After updating to r384 version i can't create sprites, tilemaps, 9-patch and 3D objects because construct is crashing. How will I make my games?

    Error report information

    Type: unhandled rejection

    Reason: Error: Failed to execute 'convertToBlob' on 'HTMLCanvasElement': "Canvas" has no rendering context. Error: Failed to execute 'convertToBlob' on 'HTMLCanvasElement': "Canvas" has no rendering context. at Function.C.VO (https://editor.construct.net/r384/main.js:1102:124) at d.pS (https://editor.construct.net/r384/projectResources.js:815:200) at d.pS (https://editor.construct.net/r384/projectResources.js:729:185) at async editor.construct.net/r384/projectResources.js:2964:169 at async window.Ipb.md (https://editor.construct.net/r384/main.js:2992:436)

    Stack: Error: Failed to execute 'convertToBlob' on 'HTMLCanvasElement': "Canvas" has no rendering context. at Function.C.

      • [-] [+]
      • 1
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 1 points
      • (0 children)

      This error is only known to occur in Electron, which is not supported. Use a supported browser like Chrome or Edge.