How do I make the math game?

0 favourites
  • 3 posts
From the Asset Store
Math-A-Maze is a jigsaw puzzle game especially designed for children.
  • Hello,

    I try to make a math game with show the answer and then choose 2 or 3 or 4 (not over4) and sum is equal to answer that I've showed before.

    Example. Show a image with number 13 and then choose 1,3,9 or 1,4,8 or 2,4,7 or 4,9 or 6,7

    please teach me.

    thank you,

    palopalo

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi.

    Showing an image is simply SYSTEM create object (the box) and on this box place a Pinned text which will get a randomly generated number: int(random(1,36))

    You will also need a GLOBAL variable to receive the same number for calculation purposes.

    Then you need to know if the sum of the numbers picked by the player is adding up to your random number or not. For this also you can create a GLOBAL variable which will have a value of:

    CONDITION 1) SUM of all boxes.

    CONDITION 2) Box must be selected.

    Then you need to compare the two with something like.

    CONDITION) GLOBAL #2 = GLOBAL #1

    ACTION) Victory!

    Good luck!

  • Thanks

    I will try

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)