Trying to recreate my own game

Hey guys! I'm trying to recreate my own game with Game Salad thats on the market. The game pretty much consists of random colors appearing on screen as you would swipe your finger in the correct direction based on each appearing color until you no longer beat the timer, and then it resets. I've made all actors for each color i'm hoping at a good pixel size (don't completely understand screen scaling) but am stuck at setting a "random" expression for spawning each color actor as thats what i thought the first step should be. Anyone have any pointers?

Heres for ios: https://apps.apple.com/us/app/colorswipe/id1568880055

And android: https://play.google.com/store/apps/details?id=com.CrabsGames.ColorSwipe

Comments

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,034

    Create a game level variable like: game.spawnColor

    Create an Every timer that every period of time will

    • Set Attribute to 0
    • Run an After timer of 0.01 seconds that will
      • Set Attribute that choose a random number from 1 to 4.

    Create 4 rules that based on 1 through 4 spawns the a corresponding color actor in the right location.

    Hope that helps!

Sign In or Register to comment.