Going backwards?
Are you kidding me? I've said to you before - STOP LOOKING FOR CHANGES, IT'S THE SAME VERSION!!!
Spoiler
Download this thing right now and you'll be in peace and chill :)Stop looking for changes, do you see? It's the SAME version as BEFORE! Stop, just stop... and download it right now :)
Nothing new, just ported on 1.20.2 :)
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)
Now the score text is flashing with a yellow color when the count increases!
Also, if the button hits the edge of the screen too fast, the screen will shake!
And, forgot to say, the button has its texture now!
Also, the button is now fixed on the left of the realms button on start! If you click on it, it will jump and start falling:
Now the title screen has a button and score counter!
The button has the most soothing physics with:
- AABB Collision
- Bounce simulation
- Air & Border (screen border) acceleration
- Pixelated effect (thanks to Minecraft lol)
Also, the button has soothing sounds:
- Mario jump sound (plays on click)
- XP collect sound (plays when button touches border)