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.

#1 2018-08-21 22:23:49

Introduction
Member
From: [Content Deleted]
Joined: 2018-08-15
Posts: 153

Switches/triggers that remove your coins

I need switches/triggers that allow users to buy items and actually lose coins out of it. [EXAMPLE]: I have 25 coins and buy a high jump boost for 10 coins in the shop. I leave the shop with 15 coins and my high jump boost. Now, now. Is this sort of system possible (as of now)? Yes, if you use the world portals and target spawns, HOWEVER they cost a lot of energy and I'm doing a world where you have a certain "job level", your current amount of money, your mail, etc. (In other words, when I use the world portal and target spawn, I need a "saving system" so the right target spawn puts in all the switches/money the user had before. However, there are too many different sorts of events (one user could have 15 coins and no job, the other one could have 19 coins and a promotion, while the other one has 30 coins and job promotion lv. 2, etc.). This results in having LOTS AND LOTS OF target spawns and world spawns (which cost a lot and would take a lot of space in my world). So, here's my suggestion.


You have 25 coins. You buy an high jump boost for 10 coins. You get through a system that verifies if you actually have over 10 coins (coin doors), then you lose 10 coins (with the triggers that remove X amount of coins). You leave the shop, happy, with your high jump boost, that you managed to buy with coins thanks to EE being a wonderful platform/game that listens to their community and sucessfully added this epic feature that everyone loves and cherish.


Please, add this. These switches have so many opportunities and you should really take them into consideration. My world is at a point where I absolutely need them, and it would be a shame if I couldn't complete it. Thanks for reading and leave your opinions below!


when your signature makes about half your comment //forums.everybodyedits.com/img/smilies/cool

Offline

#2 2018-08-21 22:26:28

ZeldaXD
EE Homeboy
From: Cyprus
Joined: 2015-02-15
Posts: 1,539
Website

Re: Switches/triggers that remove your coins

You can create variables by using switches (binary values)


gLjTZE1.png

Offline

Wooted by: (2)

#3 2018-08-21 22:30:49

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,211

Re: Switches/triggers that remove your coins

ZeldaXD wrote:

binary values

Not only binary
You can have regular base10 values too
For example
Using 1,2,3..8,9 switches to display the first digit
Using 10,20,30..80,90 switches to display second digit
Safe for 3rd digit

It's implemented very good in one of the Kirby levels (don't remember the name, ask him)

Offline

#4 2018-08-21 22:35:15

Introduction
Member
From: [Content Deleted]
Joined: 2018-08-15
Posts: 153

Re: Switches/triggers that remove your coins

ZeldaXD wrote:

You can create variables by using switches (binary values)

Yea, I once tried that, but it just confuses my switch stuff even more, plus it would be quite hard for the player to know how many coins he actually has


when your signature makes about half your comment //forums.everybodyedits.com/img/smilies/cool

Offline

#5 2018-08-21 22:35:29, last edited by Trytu (2018-08-21 22:36:38)

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

Re: Switches/triggers that remove your coins

if you want, i could build an tutorial in world creation for 8 bit values (from 0 to 255 or from -128 to 127) that adds from -16 to 16
or base 10 thing, like gosha said
of course after contest tournament, because now i haven't enough time


4puJMaQ.png
Thanks to Nikko99 for signature
https: //media.discordapp.net/attachments/402174325349941249/482121641745186816/KHiX2DEFewAAAABJRU5ErkJggg.png
https: //i.imgur.com/YFtzyXA.png

Offline

Wooted by:

#6 2018-08-21 22:41:10

Introduction
Member
From: [Content Deleted]
Joined: 2018-08-15
Posts: 153

Re: Switches/triggers that remove your coins

Trytu wrote:

if you want, i could build an tutorial in world creation for 8 bit values (from 0 to 255 or from -128 to 127) that adds from -16 to 16
or base 10 thing, like gosha said
of course after contest tournament, because now i haven't enough time

yeah, that would be good, but i still kind of wish coin remove switches were a thing.. maybe in reboot?


when your signature makes about half your comment //forums.everybodyedits.com/img/smilies/cool

Offline

#7 2018-08-21 22:57:59

Slabdrill
Formerly 12345678908642
From: canada
Joined: 2015-08-15
Posts: 3,402
Website

Re: Switches/triggers that remove your coins

the main problem with removing coins is that if you add them it makes sense to need to be able to re-grab them.

however, if you do this you run into a problem - which coins should be re-grabbable?


suddenly random sig change

Offline

#8 2018-08-21 23:01:27

Introduction
Member
From: [Content Deleted]
Joined: 2018-08-15
Posts: 153

Re: Switches/triggers that remove your coins

Slabdrill wrote:

the main problem with removing coins is that if you add them it makes sense to need to be able to re-grab them.

however, if you do this you run into a problem - which coins should be re-grabbable?

Well I mean once you picked up a coin it dissapears
If you get it removed you won't be able to pick it up again
Let's say you make a system where robbers rob you 1 coin
If they rob you 1 coin you won't be able to pick it up again


when your signature makes about half your comment //forums.everybodyedits.com/img/smilies/cool

Offline

#9 2018-08-21 23:03:42

Slabdrill
Formerly 12345678908642
From: canada
Joined: 2015-08-15
Posts: 3,402
Website

Re: Switches/triggers that remove your coins

by the time you have something like that it's probably just easier to make it out of switches. losing coins with a repeatable trigger would make it easy to do things like force a player to -999 coins.


suddenly random sig change

Offline

#10 2018-08-22 15:31:05

peace
Member
From: admin land
Joined: 2015-08-10
Posts: 9,226

Re: Switches/triggers that remove your coins

what coins would be resetted? i mean if you collect coin on 1, 1, and one on 2,2 and 'lose' 1 coin whic will be reset?


peace.png

thanks hg for making this much better and ty for my avatar aswell

Offline

peace1534948265721020

Board footer

Powered by FluxBB

[ Started around 1732367211.2648 - Generated in 0.047 seconds, 14 queries executed - Memory usage: 1.53 MiB (Peak: 1.7 MiB) ]