Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main to dev #347

Merged
merged 49 commits into from
Oct 21, 2024
Merged

Sync main to dev #347

merged 49 commits into from
Oct 21, 2024

Conversation

nighca
Copy link
Collaborator

@nighca nighca commented Oct 21, 2024

No description provided.

JiepengTan and others added 30 commits June 19, 2024 19:18
#builder #603 add default animation & animation binding
Co-authored-by: qiniu-x[bot] <154984095+qiniu-x[bot]@users.noreply.github.com>
Bumps [github.com/hajimehoshi/ebiten/v2](https://github.com/hajimehoshi/ebiten) from 2.7.5 to 2.7.6.
- [Release notes](https://github.com/hajimehoshi/ebiten/releases)
- [Commits](hajimehoshi/ebiten@v2.7.5...v2.7.6)

---
updated-dependencies:
- dependency-name: github.com/hajimehoshi/ebiten/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…hajimehoshi/ebiten/v2-2.7.6

Bump github.com/hajimehoshi/ebiten/v2 from 2.7.5 to 2.7.6
…_bitmapres

fix #293 sprite's pivot should be scaled by current costume's bitmapResolution
Bumps [github.com/hajimehoshi/ebiten/v2](https://github.com/hajimehoshi/ebiten) from 2.7.6 to 2.7.7.
- [Release notes](https://github.com/hajimehoshi/ebiten/releases)
- [Commits](hajimehoshi/ebiten@v2.7.6...v2.7.7)

---
updated-dependencies:
- dependency-name: github.com/hajimehoshi/ebiten/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…hajimehoshi/ebiten/v2-2.7.7

Bump github.com/hajimehoshi/ebiten/v2 from 2.7.6 to 2.7.7
…k_bug

fix: Click-capture issue with sprite pivot #297
Bumps [github.com/hajimehoshi/ebiten/v2](https://github.com/hajimehoshi/ebiten) from 2.7.7 to 2.7.8.
- [Release notes](https://github.com/hajimehoshi/ebiten/releases)
- [Commits](hajimehoshi/ebiten@v2.7.7...v2.7.8)

---
updated-dependencies:
- dependency-name: github.com/hajimehoshi/ebiten/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…hajimehoshi/ebiten/v2-2.7.8

Bump github.com/hajimehoshi/ebiten/v2 from 2.7.7 to 2.7.8
Builder#648 support Widget Monitor
* animation support mutil channel

* support playing animation while performing actions: gliding, moving, and turning

* just apply the animation result; there's no need to add the start value.

* fixed turnTo (left|right) bug

* fixed extra animation custome index error

* fix: Unexpected behavior of RotationStyle
heading: [0, 180] is considered facing right
heading: (-180, 0) is considered facing left

* auto set animation.aniType when calling step  turnto

* fix: 1. the default animation's state should always be set to 'loop'.
2. when any other animation (excluding 'die') stops, the default animation should commence.

* set to the latest costume when there is no default animation

* aniTypeFrame  supports the configuration of 'FrameTo' and 'FrameFrom' properties, which is equivalent to configuring 'To' and 'From'.

* fix: use frameFps to control the speed of frame animation

* fix fps not work when fps ==0 && anim type == aniTypeFrame  bug

* define the unit duration of the additional behavior of the animation using the variables StepDuration and TurnToDuration.

* change the behavior of playing the default animation to be non-blocking
* Upgrade monitor config

* Fix: animation config bug

* Upgrade test animation config: MonkeyAndCrocodile

* Upgrade test animation config : Camera

* Upgrade anim config

* Add comment
JiepengTan and others added 19 commits August 15, 2024 14:22
* Panic if not found widget

* Monitor use the same font  for text and label

* Adjust the widget's size according to the font size

* Monitor support built with -tags canvas
)

* Add default values for the 'size' and 'color' attributes of the Monitor

* Convert func "GetWidget" to generic

* Format code

* Convert Widget from win space(0,0 is top left) to game space(0,0 is center)

* Avoid using singleton mode

* GetWidget support Game pointer

* Support call getWidget at main.spx
* simplify `Gopt_Game_Gopx_GetWidget`

* split getWidget

* make `getAllShapes` private
replace audio parser with the parser of Ebiten
* fix: Initial costumeIndex for sprite not working #317

* change space to tab
Bumps [github.com/hajimehoshi/ebiten/v2](https://github.com/hajimehoshi/ebiten) from 2.7.8 to 2.7.9.
- [Release notes](https://github.com/hajimehoshi/ebiten/releases)
- [Commits](hajimehoshi/ebiten@v2.7.8...v2.7.9)

---
updated-dependencies:
- dependency-name: github.com/hajimehoshi/ebiten/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
fix: Unify Die behavior of initial / cloned sprite #314
…hajimehoshi/ebiten/v2-2.7.9

Bump github.com/hajimehoshi/ebiten/v2 from 2.7.8 to 2.7.9
* fix: Avoid panic when "auto-binding" failed #330

* Remove unused parameter
* fix: Strange behavior of OnTouched #298

* Remove unused import

* Rename onTouchBegin => onTouchStart

* Remove touch interfaces of sprites

* Remove alert in comment

* Add OnTouchStart interfaces, Remove OnTouched and OnTouchEnd

* Fix data race in test case

* Rename *touched* to *touching*

* Tutorial changed from touching to OnTouchStart
Copy link
Contributor

qiniu-x bot commented Oct 21, 2024

[Git-flow] Hi @nighca, There are some suggestions for your information:


Rebase suggestions

  • Following commits have duplicated messages

    Update monitor style

    Update monitor style

Which seems insignificant, recommend to use git rebase command to reorganize your PR.

For other git-flow instructions, recommend refer to these examples.

If you have any questions about this comment, feel free to raise an issue here:

@nighca nighca merged commit 8ec742e into dev Oct 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants