dop2000's Forum Posts

  • Try opening browser console (F12), maybe you'll see the error message there.

  • There may be a better way to do this, but the search on the forum is broken, so I came up with this:

    dropbox.com/s/lbewjvv6rekd2na/IsometricForest.capx

  • So you have one Question sprite with animations A,B,C,D etc.

    And many Answer sprites also with animations A,B,C,D etc.

    When you spawn Answer sprites, you set random animation and random frame like this:

    Answer set animation to Choose("A", "B", "C", "D"...)
    Answer set frame to int(random(self.AnimationFrameCount))
    

    .

    Then when player clicks on the answer you check if animations match:

    Mouse On Click on Answer
     System Compare two values: Answer.AnimationName=Question.AnimationName
    

    If they match then the answer is correct.

  • rhg1968

    Collision checks are not performed if there are no events or behaviors that require them, so you don't need to disable collisions for all sprites.

    Say, if you place a hundred of sprites on the layout and run the project in debug mode, you'll see that the number of collision checks per second is zero.

  • Tom, Thanks for restoring the links in old posts!

    I don't know if you aware of this problem (please ignore if you are), but most links to the old scirra forum get redirected to an empty page, for example see links in these posts:

    List of addons

    FAQ

  • Try not to use any effects. Most effects are very slow on mobile..

    A simple effect (like "Set color") applied to a couple of small sprites can cause about 20% drop in performance.

  • You can do this using Rex's date&time addons:

    c2rexplugins.weebly.com/map.html

    There should be demo capx there as well.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You made a mistake adding those sprites into a family!

    They may be added to a container, but not to a family!

    These two features have completely different meaning, but many people confuse them..

    You should add objects to a container when they should be logically linked together (when they all combined make one big complex object). PlayerBox+PlayerSkin+PlayerAttackAnimation+PlayerWearable+PlayerHealthBar=make one Player

    All these sprites refer to one player, so you can add them to a container. This will make lots of things easier - picking, creating/deleting instances etc.

    Also, containers make sense when you have many instances of these objects. For example you add 4x instances of PlayerBox to the layout, and the system will create PlayerSkin+PlayerAttackAnimation+PlayerWearable+PlayerHealthBar for each of the 4 players automatically.

    If you only have one instance of each of these sprites, there is no point to add them to a container.

    .

    Families are different. You add objects that have similar features to a family. For example you can add all different monsters to one family Enemies. Or all different controls in your game into a family Buttons. This allows you to create universal events, for example: On Buttons tap -> Play "Click" sound

  • You often ask your questions as if you expect people to be very familiar with your game.. We are not. It's very hard to give you the answer without seeing your code.

    I'm guessing you should add your ships and fighters (and maybe other objects you want to show on the minimap) to one family. Move that ID from the ship sprite to the family level and update all related events.

    See this tutorial:

    scirra.com/tutorials/535/how-to-upgrade-an-object-to-a-family

  • Tom, the thing is - without signatures and any info in profiles people on this forum kind of lost their identity and individuality.. Everybody look the same now (well, apart from the avatars). There is zero information about who everybody are, what they do, what country they are from, what games they make... If you ask me, this is not a good thing.

  • Tom, why do we have fields like "Occupation", "Email address", "About you", if they are not displayed in public profile? Could you make them visible?

  • Just set Unbounded scrolling=Yes in layout properties.

  • Could you explain why do you need to disable Solid for the floor under your character?

  • I don't understand what's going on in your code, and sprite names like "P1" and "G2" don't help..

    Have you seen this tutorial?

    gamedevelopment.tutsplus.com/series/make-a-match-3-game-in-construct-2--gamedev-12721

    It explains in great detail how to make a match 3 game.