Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
I want to make a level with a currency system, with the maximum of 100(G), but using 100 switches for each piece of gold isn't really convenient, since I also have a shop system and such.
So I want two new types of blocks to be added to keep track of and edit a number.
Basically, the number will be displayed in the top right corner, with a symbol maybe, and it can be increased or decreased using special blocks. For example, if the number is 7, and I want to add 4 more to it, then I can get an "Add Block". A number can be inputted in the Add Block, and the number will increase by that much when touched. Same for the Subtract Block, except it's the opposite.
These two blocks can help a LOT for RPG levels that need a currency system (like mine) or an HP system that doesn't need a million switches and 90% of the space to make. Easy and simple!
EDIT: Add gates and doors for this, so when it reaches a certain number it opens/closes. So if the door's number is 5, and the top right number is 6, the door opens.
Offline
For add/subtract
For doors
Right top corner image in high resolution
I want to make a level with a currency system, with the maximum of 100(G), but using 100 switches for each piece of gold isn't really convenient, since I also have a shop system and such.
So I want two new types of blocks to be added to keep track of and edit a number.Basically, the number will be displayed in the top right corner, with a symbol maybe, and it can be increased or decreased using special blocks. For example, if the number is 7, and I want to add 4 more to it, then I can get an "Add Block". A number can be inputted in the Add Block, and the number will increase by that much when touched. Same for the Subtract Block, except it's the opposite.
These two blocks can help a LOT for RPG levels that need a currency system (like mine) or an HP system that doesn't need a million switches and 90% of the space to make. Easy and simple!
EDIT: Add gates and doors for this, so when it reaches a certain number it opens/closes. So if the door's number is 5, and the top right number is 6, the door opens.
we need this and the number can go up to 100K-1 (for doors the points can still increase like deaths tbh this is also cool for flappy bird) also its nic eot have a door/gate that ONLY open at a CENTRAIN amount of points nothign more nothign less the point block itsels can also only go up to 100K
thanks hg for making this much better and ty for my avatar aswell
Offline
Just to let you know you can do this using binary rather than one switch for each number, which is fairly compact.
Heres a world where Ive used a money system: PWkh1TAyl2cEI
(I couldnt be bothered to make an actual display, so currently it just shows you the binary, but it should be fairly easy to do)
Edit: Just noticed thats using an old version of my adder... It can probably be made 1/3 smaller
Edit 2: Fixed, was only slightly more compact, but its WAAAY faster now
Offline
hi if you need system help just ask because i like totally have a number system that can pretty easily go to decillions if expanded (http://minimal.everybodyedits.com/games/PW2LCvvU58cEI for an example)
suddenly random sig change
Offline
Just to let you know you can do this using binary rather than one switch for each number, which is fairly compact.
Heres a world where Ive used a money system: PWkh1TAyl2cEI
(I couldnt be bothered to make an actual display, so currently it just shows you the binary, but it should be fairly easy to do)Edit: Just noticed thats using an old version of my adder... It can probably be made 1/3 smaller
Edit 2: Fixed, was only slightly more compact, but its WAAAY faster now
Binary sort of has problems when used with a shop. Say I had $17, which would be represented with a 1 [switch1] and a 16 [switch5], and a Sword cost $8, which is repesented as just 8 [switch4]. Since switch4 isn't on, I can't buy the Sword, even though I have more than enough money.
Offline
▼LukeM wrote:Binary sort of has problems when used with a shop. Say I had $17, which would be represented with a 1 [switch1] and a 16 [switch5], and a Sword cost $8, which is repesented as just 8 [switch4]. Since switch4 isn't on, I can't buy the Sword, even though I have more than enough money.
Theres easy ways to check if one binary number is larger than another, although you would have to jump into the switch machine thing to find out (the thing in the top left of this world should do it: PWRG9TzKGNcEI)
Edit: or you can do what I did in the slot machine world (the one in my first post), but instead of 'losing' when you dont have enough money to do something, it adds it back on again and says 'you dont have enough money'
Offline
Um, clicking the link always brings me back to the lobby for some reason.
Could you host the world so I could join?
Offline
Ok thanks!
Offline
this is so underrated
DO YOU KNOW HOW HELPFUL THIS WOULD BE
Offline
no
i don't know too, that you offend me and this is ironic, or not...
Thanks to Nikko99 for signature
https: //media.discordapp.net/attachments/402174325349941249/482121641745186816/KHiX2DEFewAAAABJRU5ErkJggg.png
https: //i.imgur.com/YFtzyXA.png
Offline
Pages: 1
[ Started around 1732553323.6974 - Generated in 0.101 seconds, 14 queries executed - Memory usage: 1.55 MiB (Peak: 1.72 MiB) ]