You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
New
mouseScroll
- emits GameMouseEventkeyDown
- emits GameKeyEventkeyUp
- emits GameKeyEventgame.canvasViewOffset
. This property is a Vector2.DrawableGameObject.IsTouching(drawGameObj, drawGameObj2)
static method anddrawableGameObject.isTouching(drawGameObj)
JSGL.log(content)
,JSGL.warn(content)
,JSGL.error(content)
. Prints message to dev console with format[DATE] [LEVEL] content
Changes
game.mousePos
- Instead usegame.input.mouseWorldPosition
game.mouseClientPos
- Instead usegame.input.mouseClientPosition
game.mousePrecisePos
- Instead usegame.input.mousePreciseWorldPosition
game.isMousePrimaryButtonDown()
- Instead usegame.input.isMousePrimaryButtonDown
game.input
. (Only about mouse)Fixes
Presentation of news
Mouse wheel handling
In GameObject
Without GameObject
How to work with input
In GameObject
Without GameObject
What's Changed
Full Changelog: v1.0.7...v1.0.8
This discussion was created from the release JSGL v1.0.8 - User Input, "Camera", isTouching Update.
Beta Was this translation helpful? Give feedback.
All reactions