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

Bluetooth plugin; Function Maps; loads of bug fixes

15 April, 2019 ()

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

We've got another significant update for you this week! The highlights are:

• A new Bluetooth plugin - this uses the Web Bluetooth API to let you connect to nearby Bluetooth devices and communicate with them. This could be useful for robotics, tinkering with devices like single-board computers, communicating with new peripherals, and in education. It's useful to have some knowledge of how Bluetooth services and characteristics work when using this. There's lots of information available on the web about how Bluetooth works if you search for it, and there's also a new demo that simply retrieves the device name to help you get started.

• You can now use Function maps to call the new built-in functions with a string. This basically associates a string with a function so you can then call it from that string. It also allows forwarding parameters, so you can create an intermediate function that dispatches a call with parameters by a string. Since you never have to use a string for an actual function name, this ensures things like 'Find all references' are always accurate, and you can always rename functions with the confidence it won't break anything. Take a look at the new 'Function maps' example to help you get going.

There's also a big batch of bug fixes, particularly around the new functions feature and the Timeline bar. One fix to note is that BBcode style changes no longer cause word wraps within the same word. This allows things like text effects where every character has a unique style to still word wrap correctly. However it involved quite a significant rewrite of the word wrap engine, so keep an eye out for anything that might have been broken by this. Stay tuned for more updates!

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

35
Exécuter r145

Nouvelles fonctionnalités

15 favoris
Bluetooth plugin: connect to nearby Bluetooth devices and read and write characteristics

Nouveaux ajouts

9 favoris
New advanced example 'Bluetooth - device name' that connects to a device and reads its device name
12 favoris
Function maps: allows calling the new built-in functions by a string
10 favoris
New advanced example 'Function maps' demonstrating calling a function by a string
5 favoris
Added a "Clear recent projects" button to Settings

Changements

4 favoris
New functions: can now use unrestricted function names (e.g. including spaces) if return type is 'None'. (Functions with a return type must have a name that is a valid expression, e.g. no spaces.)
2 favoris
Treat Chromium-based Microsoft Edge equal to Google Chrome (with Edge-specific hacks disabled)
4 favoris
Disable WebGL 2 on Android again because it turns out the previous workaround did not actually fix all devices. It will be re-enabled once Chrome 74 is released which has the full fix.
4 favoris
Added a status indicator when cloud saves are waiting on user authentication

Corrections de bug

3 favoris
New functions: passing local variables or other function parameters did not always work
3 favoris
New functions: possible crash after deleting last parameter
2 favoris
New functions: JS c3_callFunction did not handle parameters properly
5 favoris
New functions: debugger did not display function parameters
1 favoris
'Replace with built-in function' could accidentally change the precedence of operators in expressions
1 favoris
Event sheet view: breakpoint icons did not always appear on built-in 'Call function' actions
2 favoris
Text & Sprite Font: word wrapping no longer breaks on BBcode style changes
2 favoris
Sprite Font: setting line height did not always update displayed text
2 favoris
Drawing canvas: possible glitches filling polygons with colinear points
1 favoris
Project bar: object icons did not always come back after undoing deletion
1 favoris
Project bar: sometimes dragging items exactly by the pane border could both resize and drag at once
6 favoris
Possible crash duplicating layouts while Z Order bar open
1 favoris
Layout view: Ctrl+dragging unselected instance now only clones that instance
1 favoris
Anchor behavior: could work incorrectly when origin not at top-left
1 favoris
Tween Behavior: Possible runtime crash upon releasing tween instances
1 favoris
Timeline Bar: Crash when previewing a timeline with master keyframes missing corresponding property keyframes
1 favoris
Timeline Bar: Property keyframes not deleted when deleting the master keyframe
1 favoris
Timeline Bar: Incorrect layout of the bar after deleting keyframes
1 favoris
Timeline Bar: Refresh the layout view when a keyframe is deleted in the Timeline Bar
3 favoris
Desktop: Timelines were not being saved correctly to project folders
2 favoris
Desktop: Sometimes failed to load a local folder project via recent projects
2 favoris
Local storage features not working in Safari (regression r143)
3 favoris
Line of Sight: still tested instances with the Solid behaviour disabled
2 favoris
Line of Sight: not included in debugger collision/poly checks per second measurements
5 favoris
Tile movement: could not move if also had Solid behavior

Partager Construct 3 la parution r145 maintenant

  • 11 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • I love that with the C3 runtime finished, every beta release adds new features that make Construct feel like a new product every other week

  • Tile movement: could not move if also had Solid behavior

    Well that makes things much easier, for some reason it never occured to me that this is a bug and I never reported it. Glad it got fixed though <3

  • Awesome! Big Thank you for the "Function maps"

    When I first tested the New Function it was a big laid down that it didn't have the call by String feature but now that you added looks Super !!

    Thanks for all your hard Work

  • Bluetooth soooo amazing!waiting for this sooooo long!will you launch any sample or Tutorial video?

  • Bluetooth!

    This is a potential game changer.

  • bluetooth dont support mobile phones? cant work on my ios chrome! hope you can fix this sincerely

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

      Chrome on iOS is a wrapper for Safari because Apple don't allow other browser engines, and Apple don't support Bluetooth in Safari yet. Hopefully they'll add support for it in future.

  • Awesome features!!

    To use bluetooth on android with the template project, is there any extra step to configure the device, is working on PC but not on Android!!

    Thanks, Absolutly perfect job!!!

  • What efficiency, the brains smoke ^^