TheDom's Recent Forum Activity

  • Use "System > Wait", and set the number of seconds to wait in the event after it's created but, before using "Destroy Object".

  • Create a global variable for each object with the same name of the object and wright conditions for each

    Target > Animation frame = 0 > System > Set Value > Target_Variable = 0

    Target > Animation frame = 1 > System > Set Value > Target_Variable = 1

    Target > Animation frame = 2 > System > Set Value > Target_Variable = 2

    Target > Animation frame = 3 > System > Set Value > Target_Variable = 3

    Object1 > Animation frame = 0 > System > Set Value > Object1_Variable = 0

    Object1 > Animation frame = 1 > System > Set Value > Object1_Variable = 1

    Object1 > Animation frame = 2 > System > Set Value > Object1_Variable = 2

    Object1 > Animation frame = 3 > System > Set Value > Object1_Variable = 3

    Object2 > Animation frame = 0 > System > Set Value > Object2_Variable = 0

    Object2 > Animation frame = 1 > System > Set Value > Object2_Variable = 1

    Object2 > Animation frame = 2 > System > Set Value > Object2_Variable = 2

    Object2 > Animation frame = 3 > System > Set Value > Object2_Variable = 3

    Then

    Create a function and put the following conditions in it

    System > Target_Varable = Object1_Variable > Set Value ObjectIdentical = 1

    Else > (Do Nothing)

    System > Target_Varable = Object2_Variable > Set Value ObjectIdentical = 1

    Else > (Do Nothing)

    When you press spacer bar, call the function. The default value of ObjectIdentical should be 0.

    I don't know the particulars of your code but when the game resets with new animation frames to compare, you need to create or add an "Event" to set the value of ObjectIdentical variable back to 0.

    I also don't think you need to use every tick. When a global variable has a value, it is always every tick.

    As I just thought about it, you could just do this:

    Just create the Target_Varable and write it like this:

    System > Target_Varable = Object1.AnimationFrame > Set Value ObjectIdentical = 1

    Else > (Do Nothing)

    System > Target_Varable = Object2.AnimationFrame > Set Value ObjectIdentical = 1

    Else > (Do Nothing)

    Hope this helps

  • Seems to me that you need to use the System object to detect if it's on a mobile device and deactivate the mouse group and vice versa, when it's not on a mobile device deactivate the Touch group.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On some condition > Tank>Spawn Bullet

    ____________________________>Bullet> angle(self.X, Self.Y,Target.ImagePointX(0),Target.ImagePointY(0))

    The Target being the guy with the gun and the Bullet having the bullet behavior.

  • Not sure what your problem is. I've built a game out of the endless runner example. Can you post a capx?

  • Here's a link to a capx project. Its not mine. I downloaded it some time ago from someone or a tutorial.

    https://dl.dropboxusercontent.com/u/42168787/billiards.zip

  • You should always do a search o the tutorials.

    Check this https://www.scirra.com/tutorials/1457/screenshot-sharing-ios-android

  • You need to google "Voice uri". There are several options of voices that can be used.

  • Try using "Reset Global Variables to Default" in your events before "Go to Layout"

  • TheDom I need remember the picked coins value and deleted instances, on Local Storage.

    I understand. What I mean is to do a check on start up if there are values in local storage and then transfer the values from local storage to the global variables.

    Also, check out this tutorial https://www.scirra.com/tutorials/1461/how-to-use-the-localstorage-plugin

  • I cant say for sure but do you have "pixel rounding set to "Yes" in the properties dialog box?

TheDom's avatar

TheDom

Member since 7 Jul, 2012

Twitter
TheDom has 1 followers

Connect with TheDom

Trophy Case

  • 12-Year Club
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies