release!


yeah so this is a very unrealistic version of Russian roulette and has been polished for like a thousand times.

how to create one (a simple one, not like my one):

step 1: create 2 variables named "Bullet Position" and "Chamber #"

(chamber position indicates what chamber the gun is about to fire, and bullet position is what chamber the bullet is in)

create 2 sprites, one for you and one for the bot

put this in backdrop sprite:

when green flag clicked

    set [chamber #] to (pick random (1) to (6))

    set [bullet position] to (pick random (1) to (6))

step 2: create an alternating turn system

create a var (variable) named "turns" (bruh)

then set it to 1 or 2 from the start (1 means your turn, 2 means the bot's turn)

ok now just create a simple turn system because I am too lazy to write and because I'm an idiot

...

step 3: actually designing the bong

just insert this script into somewhere in your gun sprite:

if <(bullet position) = (chamber #)> then

        if <(turn) = (1) then

                <insert player bong code here>

        else

                <insert bot bong code here>

else

      <insert empty revolver code here>

      change [turn] by [1]

      if <(turn) > [2]> then

                set [turn] to [1]

basically the general idea is that and you can expand and do whatever you want just don't let scratch bong you

Files

result (1).html Play in browser
Sep 12, 2021

Leave a comment

Log in with itch.io to leave a comment.