90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
A new release is here! Now here's a source code you can easily use in your projects!
What's in the update:
A bit different button physics
- Physics may be a bit different from the previous versions, because I've changed the delta time variable from Minecraft's one to mine using System.currentTimeMillis();
Mario mode was added!
- This mode changes the button to a little Mario, that says funny stuff sometimes, also, he has it's own cute sounds when he hits the edges
- Also, when you turn on Mario mode, you can notice that he has shadows! But they're a bit more complex you can think, when they're rotating with mario, the "shadow" illusion is brokes, so... I've added dynamic offset for shadows, so you can see that the shadow is pointing always down :)
Now button can rotate!
- Don't worry, physics isn't changed at all! They're really simple and super fast as before! I've just added visual rotation and smooth snap to nearest of these angles: 0, 90, 180, 270 and 360 when the button is on ground!
Config was added!
- Now you can change config and control parameters like "Mario Mode", "Screen Shake", "Rotate Speed", "Rotate Sharpness" and "Score Flash Speed" easily, also, after config was added, your score is saving after you quit the game and when you'll open it again, all score will return to you! Now you can easily achieve 10000 points :)
Now it has settings in ModMenu!
Now you can control variables like:
- Mario Mode (enable / disable)
- Screen Shake (0 - 5)
- Rotate Speed (-10 - 10)
- Rotate Sharpness (0 - 100)
- Score Flash Speed (0, 20)
Dependencies
Files
Soothing Button-0.3.jar(165.78 KiB) Primary Download
Details
Licensed GPL-3.0-or-later
Published 9 months ago
Updated 9 months ago