Topeich's Recent Forum Activity

  • So, it works, but one of the games has some strange behaviours so it will not be as easy as to re-export again. I'll need to redo some parts of the game, hopefully it will not be hard... Thanks for the help!

  • Thanks Zenox, I have'nt found an answer so I post my own threat. After reading the post you pointed me seems that the best solution is to install a newer Construct2 version and re-publish my games...

  • Hi, I have a bit of a trouble here...

    I created and published a pair of games some time ago. They worked very nice but suddenly both stopped working and now the games crash as soon as there is a collision that triggers a sound <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Keep in mind that those games have been online for more than one year without problems, this bug started some days ago.

    I have been adviced from a user who got the game crashing as soon as he plays the game. So, to verify he is not the problem I tried by myself and got instant crash too in every browser I try ... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Then I tried to load the game inside Construct2 and running the layout in localhost. Then I have got this message:

    "Javascript error!

    Uncaught TypeError: Cannot set property 'value' of undefined http://localhost:50000/Audio_plugin.js, line 328 (col41)

    This is either a bug in Construct2 or a problem in third party plugin or behavior - please report it to the developer!"

    So, any idea on how to solve the situation? Keep in mind that those two games worked fine for more than one year and I have not updated them nor did anything to them so provably I'm not the only one with the same case...

    Many thanks in advance,

    Ignasi Vidal aka Topeich.

    Ps. Just in case both games where created using Construct2 release 108.2

  • On the condition "on P pressed" add an action "Move to layer 4" for every object you need on top.

    I don't know why restaring the main layout happens this (Honestly, I didn't take a look to the rest of your event sheets) but with those actions it works.

    Yehaa, simple and working solution!

    Many thanks Knifegrinder.

    Cheers.

  • Simple solution: Set your 'overlay' object to non-global. It is set as global now and appears in every layout, thus making pausing possible in every layout.

    That's the idea to use it as global to be able to re-use in every layout of the game.

    Perhaps better solution (if you intend to use pausing on other layouts) would be to check if active layout is 'game over' at the pausing event. You can do that by checking current layout name (see: scirra.com/manual/126/system-expressions )

    Or perhaps if you have plans for maaany layouts, create global variable 'LayoutAllowsPausing' that is set to 0 or 1 at the start of each layout depending whether that particular layout allows you to use the pause feature. When running the pause event you could check if this variable is 0 or 1 and deny/allow pausing based on that.

    That's a nice idea, I'll have a look at it as seems a safer way to do it.

    But do you think this will help in the layer depth isue?

    Many thanks for the answer.

  • Hi,

    first I may say that I'm an absolutely newbie in the game design/programing field.

    I have started using Construct2 some weeks ago (Ilove it) and I try to create a platform game (something similar to Manic Miner).

    After some weeks creating layouts and solving troubles by myself (I like to fight by myself usually :P) I have found one that I can't solve without some experienced help :(

    I tried to simplify as musch as possible the situation in a capx file but I try to elaborate some more here:

    I want to make a PAUSE GAME event. Althought maybe it's not the most elegant way I have managed to get it working nicely.

    But after some days I decided to add a GAME OVER screen and then the troubles came.

    After you get killed 3 times a GAME OVER screen pops up. Then when you get playing again and presses P to pause the game the layer showing the PAUSE instructions appears behind the main layer even it beeing really in the most top layer :(

    Any ideas on how to solve that problem will be more than welcome.

    Many thanks in advance,

    Ignasi aka Topeich.

    CAPX file here: http://dl.dropbox.com/s/758noco1xsw8pui/LAYER_TROUBLE.capx <img src="smileys/smiley1.gif" border="0" align="middle">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, newbie one here :D

    Started two days ago with this piece of software and I already love it, let's see if I'll be smart enough to get a good enough game to show you all in a couple of weeks... :P

    Cheers.

Topeich's avatar

Topeich

Member since 30 Nov, 2012

None one is following Topeich yet!

Trophy Case

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

Progress

13/44
How to earn trophies