Official Everybody Edits Forums

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.

Advertisement

Hello, visitor! These forums are run off of the revenue generated from these ads. If you'd like to support us, please whitelist us or consider donating:

#1 2018-01-02 22:08:43

JustFire45
Member
Joined: 2018-01-02
Posts: 6

New "Number" System Idea (Please Read)

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.

Last edited by JustFire45 (2018-01-03 02:42:42)

Offline

#2 2018-01-03 11:32:38

Anatoly
Member
From: Unknown location
Joined: 2015-07-31
Posts: 4,548
Website

Re: New "Number" System Idea (Please Read)

nHEa0T1.png
For add/subtract

vPDX8H8.png
For doors

8PYIqEy.png
Right top corner image in high resolution

Offline

Wooted by:

#3 2018-01-03 12:05:56

peace
Member
From: the netherlands
Joined: 2015-08-10
Posts: 2,433

Re: New "Number" System Idea (Please Read)

JustFire45 wrote:

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


1HIqRW7.png MYaIIs9.png
ty anatoly and blueclued

Offline

#4 2018-01-03 13:04:18

LukeM
Dev Team
From: England
Joined: 2016-06-03
Posts: 2,396
Website

Re: New "Number" System Idea (Please Read)

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 //forums.everybodyedits.com/img/smilies/smile

Edit 2: Fixed, was only slightly more compact, but its WAAAY faster now

Last edited by LukeM (2018-01-03 14:00:27)


- Luke Miles

Online

Wooted by:

#5 2018-01-03 17:51:05

Slabdrill
Formerly 12345678908642
From: canada
Joined: 2015-08-15
Posts: 2,721
Website

Re: New "Number" System Idea (Please Read)

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

#6 2018-01-03 18:36:16

JustFire45
Member
Joined: 2018-01-02
Posts: 6

Re: New "Number" System Idea (Please Read)

LukeM wrote:

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 //forums.everybodyedits.com/img/smilies/smile

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

#7 2018-01-03 18:40:19

LukeM
Dev Team
From: England
Joined: 2016-06-03
Posts: 2,396
Website

Re: New "Number" System Idea (Please Read)

JustFire45 wrote:
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'

Last edited by LukeM (2018-01-03 18:44:13)


- Luke Miles

Online

#8 2018-01-03 18:44:16

JustFire45
Member
Joined: 2018-01-02
Posts: 6

Re: New "Number" System Idea (Please Read)

Um, clicking the link always brings me back to the lobby for some reason.
Could you host the world so I could join?

Offline

#9 2018-01-03 18:45:06

Slabdrill
Formerly 12345678908642
From: canada
Joined: 2015-08-15
Posts: 2,721
Website

Re: New "Number" System Idea (Please Read)

go to the lobby and press "ID" then paste PWRG9TzKGNcEI


suddenly random sig change

Offline

Wooted by:

#10 2018-01-03 18:45:37

JustFire45
Member
Joined: 2018-01-02
Posts: 6

Re: New "Number" System Idea (Please Read)

Ok thanks!

Offline

#11 2018-01-03 23:00:24

Trytu
Member
From: Poland
Joined: 2017-12-10
Posts: 390

Re: New "Number" System Idea (Please Read)


KHiX2DEFewAAAABJRU5ErkJggg.png

Offline

#12 2018-01-03 23:03:53

ninjasupeatsninja
Banned
From: USA
Joined: 2015-04-05
Posts: 1,927
Website

Re: New "Number" System Idea (Please Read)

this is so underrated

DO YOU KNOW HOW HELPFUL THIS WOULD BE


Support the MinimapViewer API for images for worlds on the forums. Example:
PW01
firefox_2018-06-28_22-29-06.png

Offline

#13 2018-01-03 23:19:41

Trytu
Member
From: Poland
Joined: 2017-12-10
Posts: 390

Re: New "Number" System Idea (Please Read)

no
i don't know too, that you offend me and this is ironic, or not...


KHiX2DEFewAAAABJRU5ErkJggg.png

Offline

Trytu1515017981690281

Board footer

Powered by FluxBB

[ Started around 1537958714.87 - Generated in 0.039 seconds, 10 queries executed - Memory usage: 1.31 MiB (Peak: 1.47 MiB) ]