pointer_lock 0.4.2+3 copy "pointer_lock: ^0.4.2+3" to clipboard
pointer_lock: ^0.4.2+3 copied to clipboard

PlatformmacOS

Moved to flutter3d_pointer_lock, which has the same API. For an ordinary Flutter app, helgoboss_pointer_lock is the more natural choice. No further releases under this name.

0.4.2+3 #

The last release under this name: the package continues as flutter3d_pointer_lock. Same code, same API, with the flutter3d_ prefix the engine's other packages have. To move, run flutter pub remove pointer_lock && flutter pub add flutter3d_pointer_lock and change the import to package:flutter3d_pointer_lock/flutter3d_pointer_lock.dart. For an ordinary Flutter app, helgoboss_pointer_lock is the more natural choice. The README and the pub.dev description say both at the top. Nothing in the code changed.

0.4.2+2 #

The README and the pub.dev description point to helgoboss/pointer_lock. The two packages share a name and a technique but are built for different callers. This one serves a game loop that reads deltas once per step; for an ordinary Flutter app the other one is the more natural choice, and the top of the README now says so. Documentation only.

0.4.2+1 #

Resolves on Flutter 3.44 and Dart 3.12.0. The constraints asked for Dart ^3.12.2 and Flutter 3.47.0, which were what this repository is built with rather than what the package needs. A workspace that supports Flutter 3.44, Flame's among them, could not depend on it. Nothing else changed.

0.4.2 #

  • The package ships a skill under skills/ for an agent that has to capture the mouse through it, and the README says where it is. The method channel, the web backend and the platform interface are 0.4.1's.

0.4.1 #

  • The page pub.dev serves stops pointing at a directory nobody visiting it can see. The README's closing line sent a reader to apps/flutter3d_template_app, a relative path inside the repository that renders on a package page as a link to nothing; it now names the editor's scaffold and the guide that explains it. Documentation only — the method channel, the web backend and the platform interface are byte for byte 0.4.0's.
  • A patch on this package's own line, and not the engine's 0.6.0. It names no sibling in its pubspec and nothing here was built against the engine release; every dependent asks for ^0.4.0, which this satisfies. A jump to the set's number would claim a share in a release that contains none of its code.

0.4.0 #

  • The example stores its state subscription and cancels it in dispose, rather than calling setState from a listener that outlived the widget. The plugin itself was already symmetric on every path.

0.3.0 #

  • A web backend. document.requestPointerLock through static interop, selected by conditional export the way pad_input selects its gamepad — so a desktop browser captures the pointer instead of being told it cannot, and a first-person game in a browser is played with the mouse rather than by dragging the world around. Pure Dart: nothing to register, and its tests run under flutter test --platform chrome.
  • Refusals, releases the player did not ask for, and captures asked for outside a user gesture are all handled as the browser reports them: a refused capture leaves the state released rather than assuming success.
  • A coarse pointer — a phone or a tablet — answers isSupported: false, which is what puts a game's on-screen controls on the screen.

0.2.0 #

  • Relative mouse deltas, which Flutter offers on no desktop platform.
  • A reset on construction, because a plugin outlives a hot restart and would otherwise strand the cursor; and focus loss releases rather than pauses, or a hidden cursor ends up over another application's window.
0
likes
160
points
171
downloads

Documentation

API reference

Publisher

verified publisherpleion.dev

Weekly Downloads

Moved to flutter3d_pointer_lock, which has the same API. For an ordinary Flutter app, helgoboss_pointer_lock is the more natural choice. No further releases under this name.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#input #mouse #pointer-lock #game-development

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, web

More

Packages that depend on pointer_lock

Packages that implement pointer_lock