release-point

command
v0.0.0-...-b720342 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

release-point

A sample for the release operation of touches using the ebiten on a smartphone.

How to work

  1. Save the ID by inpututil.JustPressedTouchIDs()
  2. Track every frame position using the ID until released.
  3. Confirm the release by inpututil.IsTouchJustReleased(t.ID).

How to build

After connecting the debugging Android smartphone to the PC, execute the following.

gomobile install github.com/kemokemo/ebiten-sketchbook/release-point

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL