Maverick1912's Forum Posts

  • Many ways to do this:

    - Move the main button outside when game over. Bring back when restart game.

    - Use variable to limit the action of main button.

    Ex: if gameState = 0, can press button main only. When game over, set gameState to -1

    - On touched button Main, add sub condition that it is not.touching any button in game over screen.

    - And more and more :D

  • Can you share your file?

    We could help you better with it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have tested on my side and this work well.

    Can you run Debug and check the quantity of your tileBackground?

    I think it was created in somewhere in your layout

  • You can do like this:

    Then you will call the correct animation for your player.

  • You do not have permission to view this post

  • If you want something like that, you will need a global variable to store the name of tileBG in Layout 1

    var randomTile(String)

    On Start Layout:

    Set randomtile to choose("Colour06","Colour07","Colour08","Colour09","Colour10")

    Create object randomTile on layer "COLOUR" at (-100, -100)

    Then you can move to Layout 2 and create the randomTile only

  • I think you can only use Browser Log to see which group is active or not.

  • Sorry, let make it clear.

    So you want to create tile randomly for every time you load layout, right?

    For another layout, you only put your event in the start of layout

    OR

    You put it in another eventsheet and include it in other ones.

  • You do not have permission to view this post

  • You will need to find and download those plugins and paste them into this folder of your Construct 2 Path:

    .\Construct2\exporters\html5\plugins

    OR (NOT RECOMMEND)

    You can open your .caproj file with Notepad or Notepad++.

    Find the keyword "Cocoon" and delete them but need to follow the tag of file.

    This option is very risking to damage your file.

    You must back up your file first.

  • You can store your picked player to a global variable as an ID.

    Then you will use that ID to spawn your character in the game.

  • Thanks

    I sent you an email.

  • ah, my code will allow you to customize your list.

    Some Item in the list will have another font-family.

    Like:

    Item 1 - Arial

    Item 2 - Impact

    etc...

    But I think it could help you a bit

  • You can use this:

    "select.options["&loopindex&"].style.fontFamily = 'Your Font Name';"

    I am using a loop so you can replace the loopindex with the itemIndex of your item.

    "select" the ID in your List's Properties

  • I think could create a text like this but create each letter with the same spritefont.

    Then you can do whatever you want to each letter.

    Edit with screenshot from which I made: