whitkin's Recent Forum Activity

  • QUESTION:

    Family FAM has variable SHED. If I create a condition FAM.Compare instance variable, the dropdown is empty. I expected to see SHED there.

    DETAIL:

    I've created a very simple card game.

    I created a few sprites.

    I created 2 families, DOG and FAM.

    I set sprites to families: DOG has 1 sprite. FAM has 3.

    I added a boolean variable "sheds" to both families.

    I've clicked each sprite in Families folder. I can see the instance variable sheds [DOG] or sheds [FAM]. I set each 'sheds' variable true or false.

    My layout has no sprites.

    OnStartLayout I System.create instance to create one DOG and one FAM (which I believe creates a random instance of any object in FAM family).

    Using System.EverySecond 0.1 I move it offscreen and destroy it, and create another FAM.

    I created a condition where DOG card overlaps FAM card. I want to add a second condition, if the FAM card has the same shed value as the DOG card, but can't

    First, I tried creating a condition CompareVariable on object FAM, but the dropdown list of variables is empty (I expected to see 'shed' since it's a FAM variable).

    Instead, I created the condition System.CompareTwoValues (DOG.sheds = FAM.sheds). This gives me wrong results (it matches cards whose 'sheds' is set different)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you're a small indie dev new to HTML5 ad creation and wanting to run a little trial campaign, as I am, here's some "101" tips:

    1) Google Ads doesn't allow HTML5 ads unless you spent $1K, your ad account is 90 days old, and more. Scroll down support.google.com/google-ads/answer/1722096

    2) AppLovin site: "Want to leverage playable content? Just contact your AppLovin representative." I emailed them, and Ironsource, and asked for requirements re small indie devs. I'll share their answer once I get it if you ask.

    I'll try out Facebook next.

whitkin's avatar

whitkin

Member since 2 May, 2018

None one is following whitkin yet!

Trophy Case

  • 6-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies