Rebirthing In a clicking game

Hello! its me again. I am looking to make a game where the main point is rebirthing for more clicks. how do I build the rebirth system without have multiple wires

You don’t :fire:

JK

when a player is rebirthed, it updates a property +1 cps

maybe using blocks to where when you purchase it will increase clicks by 1?

pls explain how I do this. without using pics

vending machine → triggers a trigger
trigger block code

set property | get property "rebirths" + 1

property “rebirths” should have a default value of 0

when someone clicks → triggers trigger
trigger block code

set property | [get property "clicks" + 1] + get property "rebirths"

this should work

2 Likes

Adding onto this if your game gives you the click with an item granter the block code in the item granter would be

Grant player selected item (custom amount) | Get property  "clicks"
1 Like

I’m confused pls explain better

So when you buy a vending machine it activates a trigger, the first set of block code is in the trigger. Then when someone clicks the click item (like a cookie or a button) that activates the second trigger. Finally that same button would activate an item granter too with the block code in the third section.

2 Likes

im sorry but im still confused

1 Like

The system can’t really get simpler than this, you can’t make the system fully work without doing this. You just have to follow the steps and add the block code. If you also don’t want multiple wires or channels this is just impossible.

2 Likes

they way your explaining makes no sense

If you could give some more information about your game, that would make it a lot easier to help you. Specifically, what exactly happens when you click? Is the player given an item? Is there any block code you’re using right now?

I have hardly done anything I am using a vending machine to grant the player a rebirth. when the players rebirths I want them to get +1 of the item per click. i want to use a block code to be able to get +1 and not have to use tons of wires

Trigger wired from the vending machine:


The item granter for giving the item(wired to a button or an overlay:


5 Likes

what block do I use? do I use on wire pulse?

I used when recieving on channel

1 Like

…
It cannot get simpler than this…
You just have to look at these images, and replicate them using the exact same blocks, the color of the block corresponds to the tab it’s in.

There isn’t a way to make this system without blocks to my knowledge and you have been given a solution but you just don’t want to do it? If you don’t want to use blocks just consider removing your rebirth system because its impossible to make without them.

2 Likes

I couldn’t understand gosh don’t have to be a jerk

it still wont work. what channel do I use for the receiving on channel

You make the channel. You have to designate channels to devices by going into their channel menu.

3 Likes