#how to create a paywall (or something you pay for [with g coins])

1 messages · Page 1 of 1 (latest)

bronze pendant
#

dayum

#

step 1: create a paywall in the tile database. to do so, press the blue + near the grass block. or if you want you can add a block from the database to the scene and save it as a new asset.
step 2: create a new component - interaction. in " When interaction button is tapped" insert Execute Pay G Coins. this will make it so if you will press the hand button, you will be prompted with the g coin payment screen.
step 3: edit the script. change the balance (money you spend). for "If payment successful" add any script. for a paywall you need a script to destroy the block, or if you are lazy like me, just generate grass in the spot where the paywall is.

here is what i tried yappin about without the images

#

step 1

#

step 2

#

step 3

burnt pilot
#

Pay GCoins to touch grass!

spiral sail
#

@bronze pendant can I make an pay wall like this for my own game currency

bronze pendant
spiral sail
bronze pendant
#

yeah

#

ill send it tommorow

#

cause im on a pc without an emulator

spiral sail
#

Yey

spiral sail
#

@bronze pendant

#

When tuto comin

bronze pendant
#

i forgot

#

yeah

#

uhh

#

gotta get my phone

#

just replace pay gcoins with script and copy this

#

no idea how to explain this

thorn saddle
bronze pendant
#

ok

#

i still dont get how i created it

#

i just mashed a ton of scripts into this

bronze pendant
#

great

thorn saddle
#

more like this

bronze pendant
#

GREAT

#

thank you

#

i was too lazy to debug my thing

#

but both work 👍

#

yours looks more optimized