-
Notifications
You must be signed in to change notification settings - Fork 20
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
Resource bar - custom object example #411
base: main
Are you sure you want to change the base?
Conversation
Preview the game(s) changed or added in this Pull RequestThis is an automatic message displaying links to the games in this PR - double check the JSON in case of doubt. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 96.3%, saving 49.86 KB.
4471 images did not require optimisation. |
Great work Davy! It blows me away that you created this in a day. Suggestions for Custom objects
Suggestions for "TiledContinuousBar"
PanelSpriteButton
|
This is a shortcut for "the timer value is greater than or doesn't exist".
I didn't intend it to work. I'm not sure we should make it work. I bet it won't look good as it won't zoom but just move the corners (and it would probably break the resizing system). It's a case we could handle with a sprite button. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 20.3%, saving 166 bytes.
4477 images did not require optimisation. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 19.9%, saving 1.31 KB.
4479 images did not require optimisation. |
BarTo be able to differenciate it from the second which can kept the Resource bar name:
Slider
Icon button (probably in wip?)Nothing to say I think its still in WIP? Because it dosen't work at all even with if I working on this version: 4ian/GDevelop#4643 Toggle switch (probably in wip?) |
Please use video instead of gif because gif can't be navigated and have poor quality/size ratio.
"Progress bar" would be miss-leading. Both object can be used for the same thing. They are just displayed differently.
It would need a property to choose the number of decimals but I think it's not very common to have decimals on a bar so it rounds the value to keep it simple.
The buffer purpose is to catch the eyes because the value is important for players. Making the bar semi transparent would defeat the purpose. I think both case are mutually excluding.
Indeed, I fixed it.
It's just a test. I don't plan to release it.
I plan to remove the label before the release if I don't find any good solution for it. When there is no child-instance visually encompassing any other, it's hard to decide how the children should adapt their size. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 36.4%, saving 441 bytes.
4483 images did not require optimisation. |
@D8H: @HelperWesley tells that "fill bar" (so, "FillBar") would be the most understand next to "background" (and "thumb", for the slider). |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 25.2%, saving 37.62 KB.
4575 images did not require optimisation. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 24.6%, saving 17.59 KB.
4613 images did not require optimisation. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 5.9%, saving 1.43 KB.
4653 images did not require optimisation. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 61.7%, saving 16.47 KB.
4658 images did not require optimisation. |
1bf46cd
to
d48a24d
Compare
Preview the game(s) changed or added in this Pull Request