timcs's Forum Posts

  • The button object has its own "on clicked" condition. Maybe that's what you used before?

    Yes you are right and again egg on face , this is what happens when the brain is tired

  • Got this worked out, it seems that either using the touch or mouse click event on a button object for some reason is not working, however adding a sprite and clicking on that does action the commands that I need it to do .

    I am sure I have used the button object before with similar set ups and not had the problem

  • It is normal for a global variable to be static by default.

    Static means that the value it contains is stored and stays the same between an execution tick to another (which is what you do want from a global variable, for the value it contains to be stored and not reset each tick).

    What prevents from modifying the value is the fact that the variable is Constant (its value cannot be modified at runtime).

    Hi Kyatric

    Thanks for your reply, I had looked at what it was set to but it is not constant so I am really perplexed to why it will not increment in value

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • getting it nearly every time I view a page and even when I tried to post just now I had to re-try numerous times and hoped it did not duplicate the post

  • Hi

    I am using Construct 2 version 242 (beta) and when I have created global number variables , it appears to be setting these as static is this normal because I do not seem to be able to increment these variables now.

    When I look inside of the capx file and then view the event sheet xml , they are set as static="0" but when I look at their settings within the event sheet and double click on one of them, the static box is ticked.

  • How do I install the other required plugin cordova-sqlite-storage ? I have tried copying the folder into the Construct 2 plugin folder and even the behaviour folder but Construct 2 cannot load this because there is no common.js. It does not appear to have a c2addon file to drag into Construct 2 like your plugin

    Please help

  • Right found that the project was set incorrectly to firefox so even though I was changing the main default of Construct 2 to Opera or default I did not register the project held its own setting.

    Now I am really embarrassed

  • My best suggestion is to uninstall opera and restart your computer and set firefox as default as that is what C2 is telling you it is trying to open in.

    So I uninstall Opera and never re-install it? I use Opera as my main browser outside of Construct 2 so doing this is pointless.

    The fault appears to lie with Construct 2 because everything else I use with a browser defaults to Opera.

    Also I do not use Firefox any more and do not want to now so I do not want to keep it installed.

    There must be a setting hidden somewhere that Construct 2 is not changing when it show to put this right.

  • Not worked , re-installed Firefox then tried two methods, setting Firefox as the default browser in Windows but Opera as the preview browser in Construct 2, still opens Firefox, then I set Opera as the default browser in both Windows and Construct 2 but Firefox still opens.

    Finally chose Opera as the preview browser in Construct 2 while it was the default in Windows, still opens Firefox.

    Each time I made a change , I closed Construct 2 and re-opened it. Also applied a save to the project to see if that would make a difference and it has not.

    Is there a registry or INI file that holds the setting ?

  • Reinstall Firefox and your capx should open and then set it to default and set whatever browser you are using to your default browser.

    After that you should be able to uninstall firefox if you don't want it but I keep both chrome and firefox on my system so I can check games in both browsers before releasing them.

    I will give this ago but when firefox was installed I changed the default browser to opera and it still opened firefox not opera.

  • I have been getting the same problem now and changing the browser and saving my project , closing construct 2 and starting it again has made no difference.

    In my case I started using Opera as my default browser as Firefox was my default before, I set Opera as my default within Windows 10 settings and everything defaults to it apart from Construct 2. In the preferences I have set the preview to both default and Opera with no luck at all .

    I have also uninstalled Firefox to see if that makes any difference and because I have done this, Construct 2 is giving me the same error as the OP has shown.

    Any ideas as now I cannot preview any of my projects even if I change the preview to NW.js.

  • >

    > > Did you know that is on YouTube ?

    > >

    >

    > I didn't know this <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> as in how to make this game and with the same effect as I am after?

    >

    I forgot to share the link. Here goes.

    Subscribe to Construct videos now

    Oh yes I have seen that I thought you meant that there was a tutorial based on it sorry for the misunderstanding also thank you for the capx file I will look at this

  • Did you know that is on YouTube ?

    I didn't know this as in how to make this game and with the same effect as I am after?

  • Thats gonna be hard to do. With physics. Sorry for retreading.

    99Instances2Go

    Just to make you aware of what I am trying to achieve and perhaps the way I am going about this could be changed. Basically I have an object lets say that is object_A which moves across the screen and moves down by X pixels once it leaves the screen and comes back around. There are a series of objects_C across the screen like buildings but I am currently using coloured boxes for now, when a mouse click is done anyway on the screen object_B is created from an image point of object A and is dropped onto one of the objects_C.

    When contact is made with object_b and object_c damage is done to object_c and so on.

    I am trying out how things work with Construct 2 and I thought it would be a good idea to base this project on an old 80s game (Not sure if it would be appropriate to release these days but I would anyway due to copyright) called blitz , use to play this on the good old vic 20!!.

  • How do you move object A ?

    Physics is off then on click physics is on and it drops down onto of it

    [quote:3bbrozcc]Object B is getting squashed and destroyed?

    No Object A is destroyed after pushing object B down by X amount of pixels etc does that make a difference to your example ?