• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader Bouncy Coins

Jofairden

Golem
Greetings Terrarians,
Today I proudly present to you: Bouncy Coins.
Github





version 0.1 media (even bounce)


version 0.1.2 media (uneven bounce)



About
I made a super tiny mod that makes coins bounce. Yes, they bounce up and down.
This mod requires this fix, and thus tModLoader version 0.8.3.5 or higher. If your client does not meet this requirement, the mod will not enable.

Please leave any suggestions here.

Currently, v0.1.1 makes them bounce evenly, and v0.1.2+ makes them bounce unevenly.
Since v0.1.3, the mod is fully configurable! This requires you to have FK's Mod Settings Configurator mod.
Please note the displacement only functions for drawing the item, the item's actual position isn't changed.

(this mod only changes vanilla coins, which include but are not limited to: copper coin, silver coin, gold coin and platinum coin)


Example configuration screen
upload_2017-6-14_23-17-51.png


Links
Use the latest release on github link if the mod browser is down!

Github: [click]
Latest release on Github: [click] (auto generated by travis ci, should always be the same version as on browser)
Mod browser direct link: [direct download link]


Releases
Please refer to Github for more recent release notes.

Release v0.1.3.2 : Fixed previous player corruption issues.

Release v0.1.3 - v0.1.3.1

Unknown date
Download: [click] (github release)
Fixed mod working again with latest tml version.
v0.1.2 - 13 October 2016
Download: [click] (github release)
coins now bounce unevenly by using whoAmI and modulo,
cleaned up code,
cosine now uses item.spawnTime instead of Main.time
v0.1.1 - 12 October 2016
Download: [click] (github release)
Fixed tML version check, hotfixed TMOD filesize
v0.1 - 12 October 2016
Download: [click] (github release)
First release, same bounce for coins using cosine waves


Credits where they are due...
@Gorateron (created mod, fixed tML bug)
@bluemagic123 (figuring out the bug)

@Chicken Bones (merging the hotfix pull request)
 
Last edited:

imkSushi

Eater of Worlds
Greetings Terrarians,

version 0.1 media


About
I made a super tiny mod that makes coins bounce. Yes, they bounce up and down.
This mod requires this fix, and thus tModLoader version 0.8.3.4 or higher. If your client does not meet this requirement, the mod will not enable.
Please leave any suggestions here, I'm willing to create several different mod files that make the coins bounce in a different manner/speed if that's wanted.
(this mod only changes vanilla coins, which includes but are not limited to: copper coin, silver coin, gold coin and platinum coin)

Links
Github: [click]
Want to see how it is done? [click]
Direct download link for latest release: [click] (github release)
Mod browser: not yet available.

Releases
v0.1 - 12 October 2016
Download: [click] (github release)

Credits where they are due...
@Gorateron (created mod, fixed tML bug)
@bluemagic123 (figuring out the bug)

@Chicken Bones (merging the hotfix pull request)
Cool mod. I'm definitely using it. Here is my suggestion:
You probably have tried todo this, but it would be cool if the coins didn't all bounce in sync.
 

Jofairden

Golem
Cool mod. I'm definitely using it. Here is my suggestion:
You probably have tried todo this, but it would be cool if the coins didn't all bounce in sync.
This should be possible. The thing is, they currently use Main.time, which for all coins will be the same. I'll need to figure out a workaround to do this.
 

imkSushi

Eater of Worlds
This should be possible. The thing is, they currently use Main.time, which for all coins will be the same. I'll need to figure out a workaround to do this.
Probably, when the coin entity is created, assign it a random number to add onto main.time
Alternatively, check if the coin has a number assigned to it, if not, then assign a random number to it.
 

Jofairden

Golem
Probably, when the coin entity is created, assign it a random number to add onto main.time
Alternatively, check if the coin has a number assigned to it, if not, then assign a random number to it.
You can't just randomly grab a variable from somewhere, it's not as easy as you state it.
 

Jofairden

Golem
Um, am I missing something? num1 = Main.rand.Next(A number) assigned to a variable would be a one-off randomly generated number
But you see, where am I going to store this. THAT's what I'm talking about. And that'll most likely be using ItemInfo, but still.
[doublepost=1476312216,1476312176][/doublepost]
This is a nice little mod, i gonna download an try it
You'll need tModLoader v0.8.3.5 or higher, which isn't released just yet.
 

Jofairden

Golem
If v0.8.3.5 isn't out yet, then how did you get the technology to do this?

OP is a time traveler confirmed.
Because the stuff is open-source and you can get it yourself. v0.8.3.5 has been 'ready' (read: working with the new vanilla update) for 5 days already, before the new version was released. That said, v0.8.3.5 is out right now so go ahead and update, and try out the mod :)
 

MISSINGNO

Terrarian
Oh lordy. I've been staring at the gif sample of the mod for more than a minute straight, I can only imagine how satisfying this mod must be in-game. :confused:
 

Jofairden

Golem
Oh lordy. I've been staring at the gif sample of the mod for more than a minute straight, I can only imagine how satisfying this mod must be in-game. :confused:
You can play with the mod right now if you have the new (v0.8.3.5) tModLoader :)
Remember only the latest versions makes them bounce unequally, as far as I've heard people seem to like that more over the first version.
 

Jofairden

Golem
was this updated ?
(late response) Mod should work fine?

Also, I was thinking about adding some commands for the mod to control some of the 'settings' while self- TML settings pages aren't implemented yet.
For example like
Code:
/bouncycoins amplitude 50
could change the amplitude to 50 (or any number really!)

Please tell me your thoughts
 

Le tromp du Jawa

Eye of Cthulhu
(late response) Mod should work fine?

Also, I was thinking about adding some commands for the mod to control some of the 'settings' while self- TML settings pages aren't implemented yet.
For example like
Code:
/bouncycoins amplitude 50
could change the amplitude to 50 (or any number really!)

Please tell me your thoughts
Sounds lovely this mod works amazing and is a great small addition , people tend to sadly neglect the smaller great mods
 
Top Bottom