-
Notifications
You must be signed in to change notification settings - Fork 29
Custom objects/behavior #942
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
base: main
Are you sure you want to change the base?
Conversation
Includes: -TweenIntoView behavior -VolumeSettings object -PauseOverlay object (Not to be shared)
-Added a property to prevent the TweenIntoView behavior moving the object off screen when created. -Added a tiny pixel variant for the volume settings object. -Added a boolean variable that is set to true when the pause overlay is put on the base layer or if the entire game is paused. Finishing the fade-in tween instantly, without overwriting the DoesTween property. -Added variants for the pause overlay with different colors, and a white overlay that can be tinted.
-Added the start delay timer to the TweenIntoView behavior. -Added advanced settings to adjust the opacity fade tween easing.
-Replacing the gameover object with the leaderboard object, just with 2 new variants. -Updating the volume slider variants so the vertical sliders had art that made sense with those sliders, and updated the pixel art icons to match the style of the slider.
|
So in this submission are 4 things: 1. The volume slider object.Controls the master volume of the game, along with a mute button, with variants for different directions and a pixel art version. It uses the TweenIntoView behavior to easily tween in and out of position. 2. The pause overlay object.Controls to pause/unpause the entire game, the base layer, or other layers. It have a tween effect by default, but the tween can be turned off with a checkbox, and is automatically turned off when the overlay is placed on the base layer or when the entire game is paused. (Because the tween wouldn't work if the timescale is 0.) Includes a condition to check if the game is paused. Variants for different colors, and one that is pure white so people can tint it to get a specific color. 3. The modified leaderboard object.With its description changed to sound more like a general game over screen, there were some minor tweaks made to prevent the player account banner from showing up, and a few decoration objects were added to the object, but otherwise it's the exact same leaderboard object that is currently being used. Variants for a game over screen without the leaderboard were added, one for higher resolutions and one for pixel art. 4. The TweenIntoView behavior.Tweens the object into view on screen, with a few extra properties that allow the user to control the tween style, and actions to trigger the tween when needed. |



Includes: