fixed tile render issue:
DONE
adding 1px pad on TileAtlas, TODO: pointer
atlas.kra, padding tiles
stop music at lv1 exit
home button
fixed
NOTE: deactivateOutOfScreenTiles behaves extrange when cam zooms
added music2.wav to assets (note: very bad mixing)
Button has callback func, Level1 plays music auto
...
Label adjust nicely using metrics (measureText)
...
Control now uses scale to determine placement
Button on touch devices works fine
return to dev Button class
ok
deleting pointerColls
added worldTransform to info
added Pointer.debug that works fine with Game.activeViewport
developing Game.activePointer to avoid pointerColl
see L3112
TODO: L787
TODO: L810
todo see L356
TODO: isJustPressed on info & end Button.update
TODO: touch screens does not hover, take care
done info and getInputInfo stuff
moving info to InputServer
dragPosition -> position
dragInfo -> inputInfo
added isPressed on info on getDragInfo
preparing to expand getDragInfo to non drag events
DONE: padding
DONE: anchor points for Control class
moved playButton to viewport (MainScene)
added ComponentRectangle class
...
...
...
TODO: see L2653
progressing
progressing
progressing
progressing
developing button
Sprite now acceps image instead of atlas
fixed back on MainScene
+ MainScene (simple scene example)
done Sprite atlas instead of tileAtlas
TODO: Sprite without tiles use atlas, end MainScene
some progress on splitting displace (coll sys)
deleted unused ConvexPolygon properties
+ future improvement comment, + vel control Character
DONE: Pointer class, fixed TileMap.worldToMap()
crafting Pointer class
TileMap.deactivateOutOfScreenTiles()
now tiles outside region are hided away even if they are not meant to collide
done, mark at L2718
addeed Collider.active prop, TODO: see L2709
TODO: see L2689
TODO: see L2677
...
fixed something related with audio
TODO: see L2618
TODO: see L2616
DONE: audio class can use range
see first 2 todos
see L2608
TODO: see L2580
TODO: see L811
TODO: see L979
collision system appears to work perfect :D !!!
see L969
working simplified coll sys without slide
see L1043
touching collision system again, (maybe revert latter)
Atlas -> TileAtlas, fixed minor issue with mouse drag
deleted npc on main scene, grow walls
addEventListerner passive:false + touchstart evt.preventDefault
see top TODO on canvas.js
fixed a little pointer position on main/scndry scenes
done InputServer.getDragInfo()
scaled cam & working on Input.getDragPosition
fixed some things at Character.update (collision system)
added third pass, last resort copy, on Character.update
TODO: see smoothingFrame/length lines L1000 aprox
still need to fix the Tile rendering bug
done
added assets/accept and blip sounds
see L2348
see L723
see L705
tile classes, see top TODO
preventDefault commented
prev TODO and: add add tile and tileMap classes
done
TODO: use InputServer.getPosition to control character on touch devices
isTouchDevice moved to InputServer class
TODO: test TouchScreen.getMovedPosition