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

Demo for custom object center #461

Draft
wants to merge 98 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
9974038
Initial commit
tristanbob Aug 29, 2022
ab96bf9
Optimised images with calibre/image-actions
github-actions[bot] Aug 29, 2022
26ae93e
Added new behavior based on a trimmed version of draggable slider
tristanbob Aug 30, 2022
98fe48d
Started UnitResourceBar
tristanbob Sep 5, 2022
938495d
Starting over-ish
tristanbob Nov 7, 2022
c081fa4
Basic shape painter version working
tristanbob Nov 7, 2022
38d2716
Good defaults set
tristanbob Nov 7, 2022
58cf3f0
Renaming behavior, preparing to adjust drawing position
tristanbob Nov 7, 2022
24b270b
Change Y start position to draw same as shape painter
tristanbob Nov 7, 2022
df29936
Done for tonight!
tristanbob Nov 7, 2022
869f9b2
Optimised images with calibre/image-actions
github-actions[bot] Nov 7, 2022
b6cb3e0
Lots of progress!
tristanbob Nov 8, 2022
1a2fca7
Optimised images with calibre/image-actions
github-actions[bot] Nov 8, 2022
eaa71a4
Using v150
tristanbob Nov 15, 2022
f6e3616
Updated default empty opacity to 64
tristanbob Nov 15, 2022
9b41287
Started unifying wording between behaviors
tristanbob Nov 18, 2022
a4d212f
Optimised images with calibre/image-actions
github-actions[bot] Nov 18, 2022
8a66d72
Started second scene
tristanbob Nov 26, 2022
4a91ef4
More cleanup
tristanbob Nov 27, 2022
b5f4685
Optimised images with calibre/image-actions
github-actions[bot] Nov 27, 2022
03a571c
Cleaning up old behavior names
tristanbob Nov 27, 2022
26960c0
Great progress on Demo game!
tristanbob Nov 28, 2022
bf61d83
Optimised images with calibre/image-actions
github-actions[bot] Nov 28, 2022
6a6cfc1
Added missing functions to get/set properties
tristanbob Nov 28, 2022
a275c0e
Children positioning.
D8H Nov 28, 2022
d8fb22c
Handle changes
D8H Nov 29, 2022
0d87ad1
Split objects
D8H Nov 29, 2022
580af19
Fix the buffer.
D8H Nov 29, 2022
bfa6bb2
Remove useless extensions
D8H Nov 29, 2022
5e2ac71
Optimised images with calibre/image-actions
github-actions[bot] Nov 29, 2022
ce6fd44
Add extraInfo for layout
D8H Dec 7, 2022
c3a9d60
Add metadata for scene editor rendering.
D8H Dec 9, 2022
cd969d1
IconButton experiment
D8H Dec 9, 2022
a3ed9b9
Add some experiments about sliders.
D8H Dec 14, 2022
fd54ac9
Handle hot reload.
D8H Dec 15, 2022
2ae7ba5
Use a panel sprite instead of a tiled sprite for the continuous bar.
D8H Dec 15, 2022
41a9a0b
Hide a condition
D8H Dec 15, 2022
76e3109
Update the behavior from one extension to the other.
D8H Dec 15, 2022
bb117d8
Wording
D8H Dec 15, 2022
f84faf3
Try checkbox layout.
D8H Dec 16, 2022
4b2f00f
Optimised images with calibre/image-actions
github-actions[bot] Dec 16, 2022
24c85e3
Add some interactions with the slider object.
D8H Dec 16, 2022
b8a1163
Optimised images with calibre/image-actions
github-actions[bot] Dec 16, 2022
fce3447
Add properties for the slider.
D8H Dec 17, 2022
fe9b367
Add slider descriptions.
D8H Dec 17, 2022
c629ade
Add toggle switch logic.
D8H Dec 17, 2022
d152816
Rename toggle switch to avoid collision with the shape painter extens…
D8H Dec 17, 2022
3151c87
Add some descriptions
D8H Dec 17, 2022
6ad8c32
Fix the click on the slider bar.
D8H Dec 19, 2022
d67ad1c
Handle ToogleSwitch hot reload.
D8H Dec 19, 2022
5bc1dbe
Clean up comments.
D8H Dec 19, 2022
591ebd5
Use a Sprite for the ToggleSwitch.
D8H Dec 20, 2022
13c2d7f
Optimised images with calibre/image-actions
github-actions[bot] Dec 20, 2022
fb8332f
Use the new action to jump at the end of the toggle switch animation …
D8H Dec 23, 2022
b8f1891
Remove broken resources
D8H Dec 23, 2022
03c234d
Add a "held outside" condition for the button.
D8H Dec 23, 2022
53bccc8
Typos
D8H Jan 2, 2023
4940e0c
Add missing descriptions.
D8H Jan 2, 2023
4bcf938
Fix slider name.
D8H Jan 2, 2023
ae3149b
Review change: typo
D8H Jan 2, 2023
d6532f8
Prepare button 1.3.0 update.
D8H Jan 6, 2023
d791488
Rename the Resource child to FillBar.
D8H Jan 6, 2023
0d33e36
Increment extension versions.
D8H Jan 6, 2023
9d6ea72
Prepare button 1.3.0 update: use MouseOnlyCursorX()
D8H Jan 6, 2023
4ce3287
Fix the renaming.
D8H Jan 6, 2023
eddc733
Add a link to the asset pack in the Button description.
D8H Jan 6, 2023
20521ab
Add Kenney joysticks.
D8H Jan 13, 2023
6c3082a
Optimised images with calibre/image-actions
github-actions[bot] Jan 13, 2023
0be00c7
Remove invalid assets.
D8H Jan 13, 2023
7e34b00
Typo
D8H Jan 16, 2023
d742c0f
WIP: add some bars
D8H Jan 17, 2023
00b8915
WIP: add some sliders
D8H Jan 17, 2023
f211b6f
WIP: add some bars
D8H Jan 18, 2023
2510a21
Down-scale the green slider.
D8H Jan 18, 2023
53c4c6d
Optimised images with calibre/image-actions
github-actions[bot] Jan 18, 2023
7157016
Add toggle switches.
D8H Jan 18, 2023
524faa2
Split the bar scene.
D8H Jan 18, 2023
65a218f
Add some units bar.
D8H Jan 18, 2023
e4b063d
Optimised images with calibre/image-actions
github-actions[bot] Jan 18, 2023
174a4fb
Typo in extensions.
D8H Jan 18, 2023
6dbc282
Upgrade extensions to fix extension namespace in instructions.
D8H Jan 20, 2023
8cec79e
Fix the bar max value.
D8H Jan 20, 2023
e71faec
Add more bars.
D8H Jan 20, 2023
d984b54
Optimised images with calibre/image-actions
github-actions[bot] Jan 20, 2023
ecac2c4
Minor configuration fixes.
D8H Jan 20, 2023
a7f18a7
Upgrade units bar to fix the initial value.
D8H Jan 21, 2023
1156bc1
Upgrade the ButtonFSM behavior in Slider and Toggle Switch extensions.
D8H Jan 21, 2023
82dace4
Upgrade slider extension for a multitouch fix.
D8H Jan 23, 2023
307f98b
Remove useless function.
D8H Jan 23, 2023
436e18d
Add an "activate" action to the button.
D8H Jan 24, 2023
05fd6ae
Fix sentence.
D8H Jan 24, 2023
4282974
Add an "activate" action for toggles and sliders.
D8H Jan 24, 2023
b30f6b6
Upgrade the joystick extension to fix useless behavior parameters.
D8H Jan 27, 2023
327d595
Fix a typo in the "activate" actions
D8H Jan 29, 2023
cb0bcdc
Add asset store links
D8H Jan 30, 2023
d48a24d
Add missing joystick name choices
D8H Feb 1, 2023
590e08d
Fix some sentences in toggle switch.
D8H Feb 3, 2023
8e9fc68
Add some rotated custom objects.
D8H Feb 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added examples/resource-bar/Checked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Copper Bar Border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Framed Pixel Red Fill Bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Metal Bar Border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Pixel Red Fill Bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Pixel Yellow Fill Bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Shaded Blue Fill Bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Shaded Red Fill Bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Shaded Yellow Fill Bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Unchecked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Wood Bar Border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/Wood Bar Frame_Shadow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Arrow2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Bomb_No Shadow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Bomb_Shadow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/resource-bar/assets/Buch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://opengameart.org/content/sci-fi-user-interface
Binary file added examples/resource-bar/assets/Chest_Full Open_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Chest_Full Open_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Chest_Full Open_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Emote Heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Flashy Empty Heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Flashy Full Heart 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Flashy Full Heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/resource-bar/assets/Health Bar.png
Binary file added examples/resource-bar/assets/Heart-1-0.png
Binary file added examples/resource-bar/assets/Heart-1-1.png
Binary file added examples/resource-bar/assets/Heart-1-2.png
Binary file added examples/resource-bar/assets/Heart-1.png
Binary file added examples/resource-bar/assets/Heart.png
1 change: 1 addition & 0 deletions examples/resource-bar/assets/JellyCat.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://opengameart.org/content/ui-buttons-5
1 change: 1 addition & 0 deletions examples/resource-bar/assets/Kenney.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://www.kenney.nl/assets
Binary file added examples/resource-bar/assets/Key_Filled.png
Binary file added examples/resource-bar/assets/Key_Outline.png
Binary file added examples/resource-bar/assets/Minus Key.png
Binary file added examples/resource-bar/assets/Plus Key.png
1 change: 1 addition & 0 deletions examples/resource-bar/assets/Wishforge.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://wishforge.itch.io/3000-free-icons
Loading