AZhan

Results 80 issues of AZhan

When replacing `textures` or modifying `regions`, the `sprite` size should be updated. Before: ``` sprite.texture = oldTexture; // sprite.region = oldRegion; console.log('old width', sprite.width); sprite.texture = newTexture; // sprite.region =...

enhancement
2D

- When loading `Sprites`, get them from the `SpriteAtlas` first. - Discard `_assetID` attribute. - Add export options.(`mipmap`, `wrapModeV`, `wrapModeU`, `filterMode`, `anisoLevel`)

feature
2D

- Optimization code. - Support for multiple pointers.

feature
Input

示例:在 Chrome 和 FireFox 中分别监听 PointerDown 事件 ``` window.onpointerdown = (e)=>{console.log('e', e.offsetX);setTimeout(()=>{console.log('e', e.offsetX)}, 0);} ``` Chrome: ![image](https://user-images.githubusercontent.com/7768919/188413131-b5b4f620-bcbe-4903-ad34-d1eb15da9d19.png) FireFox: ![image](https://user-images.githubusercontent.com/7768919/188413306-e06f72cd-8d48-415b-be84-e370e5e02786.png)

需要先添加相机组件,后添加轨道控制器组件。

documentation

图示为左手坐标系,Oasis 的世界坐标系为右手坐标系,这里需要换图或者加一下说明。 https://oasisengine.cn/0.8/docs/physics-manager-cn#%E4%BD%BF%E7%94%A8%E5%B0%84%E7%BA%BF%E6%A3%80%E6%B5%8B ![image](https://user-images.githubusercontent.com/7768919/190960471-7c76c4d9-6bb7-4ff7-a1b2-24e358f81154.png)

bug
documentation

verseion: ^1.1.0 - Duplicate existence in `@galacean/engine` `@galacean/engine-physics-physx` and `@galacean/engine-physics-lite` - `DisorderedArray` in `@galacean/engine-physics-physx` and `@galacean/engine-physics-lite` still have bugs Fired when entity is removed in collision callback. ![image](https://github.com/galacean/engine/assets/7768919/ce778e79-1cd0-4cf0-bd56-3ad9288d3a36)

bug
help wanted

Many times, developers need to know the result in the callback at which interaction occurs.

Input

Support for various modes(Simple, tiled, sliced)

sprite