nutmix's Recent Forum Activity

  • If several different things can trigger a single action (e.g. several ways a game can end- run out of life, run out of time, complete it), i would like to create my own event called say "gameEnd". Then If the time runs out, I just have to "raise" the gameEnd event etc.

    This way I only have to write the gameEnd event and actions once, and can raise it in lots of places.

    I have searched on "custom event" but cant find anything. There is nothing under events in the manual. Any ideas?

    If this is missing, its a pretty big omision. I guess the work around would be to duplicate a lot of code, or possibly to try and construct a big complex condition statement to try and catch all the places where they action is required.

    Or perhaps you can simulate this by creating a hidden sprite, then set it to say invisible in several places to simulate "raising" the event, then have your "handler" condition on the visibility attribute?

  • Ok, this is a duplicate of scirra.com/forum/r99-animation-edit-button-crash_topic54815.html

    Sorry!

  • Excellent capx! This works for me.

    One quick question - In the editor, you can copy rather than clone object, then you can have one click handler or loop over them etc as they are all instances of the same object.

    If you crate instances like in your example, will they be "clones" or "copies"?

    I'm guessing they will behave like clones, so I wont be able to have a generic click handler for them all (unless using families?)

    Thanks again!

  • Animations->Edit always crashes construct 2.

    Version: release r99, personal licnese.

    Platform: Windows 7 64 bit (16GB RAM)

    To Reproduce:

    1. Create new project (or open any existing project)

    2. Drag any png to create sprite (or click on any existing sprite)

    3. In the "Object Type Properties" dialogue on the left of the IDE, click on "Edit" link next to Animations under "Properties".

    4. Construct two crashes every time.

  • I have no idea which forum to post this in (sorry!)

  • I have created four objects called symb0, symb2 .. symb3.

    Now I want to spawn one of them.

    I can do a System->create object, but this only lets me pick from a list, there is no way to enter an expression such as "symb" + random(4)

    any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, thats not the answer - you cant address an individual instance then. I guess ill just have to have 9xCursor is Overs etc.

  • I think Ive found the answer - you cut and paste it, rather than clone. So easy when you know how!

    Construct 2 is Amazing.

  • If you say want 9 tiles in your game, you simply import the sprite for 1 tile, then clone it 8 times to make your grid.

    However, if you want to do something like "Mouse->Cursor is over" you have to pick one of your 9 tiles - is there any way to say "any tile object"?

    I could only add 1 in the designer, and spawn the other 8 in the event sheet, but this is a pain as I cant use the layout editor.

  • Hi, I would like to build a scrach card, like the paper ones you use a coin to scrach off the silver foil to reveal the symbols underneath.

    Im guessing I could have two layers - the "foil" and the symbols. I would then need to have the cursor change to a coin when over the scrach area, and for it to make a swath of foil pixels transparent without clicking (So it can work on mobile with your finger).

    In addition, I would need to be able to work out when a certain percentage of all symbols had been scrached, to show the prize.

    Any tips on how to approach this with construct 2?

    Many thanks!

nutmix's avatar

nutmix

Member since 16 Aug, 2012

None one is following nutmix yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies