lionz's Forum Posts

  • The screenshots don't show you opening any event sheets...are they grey when you start a new project or add an event sheet?

  • If you do for each XY value, current value = "monkey", it will look for "monkey". Once found, the array.curY is the Y position of "monkey".

  • Ya seems pretty good, not entirely sure what you mean by smooth though. I made a capx where you click in two spots and it shows the angle from the first click, seems fine! If you're working out the new co-ords after 0.2 secs timer it should work in a similar way. https://dl.dropboxusercontent.com/u/495 ... seang.capx

  • That wasn't meant to sound harsh but imagine if I asked you how do I make an RPG can you tell me all the code and send me a capx. Construct 2 is a tool for making your own games and they can be progressively built and large so it is unlikely you are going to get a response like 'here is a finished snooker game I made for you'. If you have attempted one and need some help in specific areas or you came across a bug then I am sure you will get a response. If you want some general advice then you may get some but my advice would be to start with the manual and look at the tutorial levels if you are new to Construct 2.

  • I can see what's gone wrong here but it's getting a little messy. You should really override everything that happens with the ship's state as primary comparison.

    Space pressed > if ship anim=2 then spawn a laser and set laser state to 0

    > if ship anim=0 then spawn a laser and set laser state to 1

    At the moment every time a laser spawns its state is 2 (default). You have the set state of the laser action under the change ship state event, this is before a laser has been spawned so will not affect anything.

  • Hello!

    From here :

    1. We want to help, but we're not here to make your game for you. It's best not to ask too much!

  • No problem, the link I provided lists possible alternatives in the discussion, check it out.

  • Probably stored in your browser cache.

  • What can be more efficient than calculating the angle of point A to point B? Seems like a fine method to me...

  • Dropbox won't work anymore, I started a thread here :

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Give them family instance variables where 1 is small, 2 is bigger, 3 is biggest or something. When they collide compare the variables, whichever is bigger destroys the other one.

  • You need to include "Structure" in "Store", not "Store" in "Structure".

  • On the overlap event, you can set a variable to box.pickedcount, which will be the number of boxes overlapping the mask.

  • Open documents, you can use the File Chooser object: https://www.scirra.com/manual/182/file-chooser

    Date/time from the device, there is a plugin to grab this data: plugin-system-date-and-time_t63492

  • Create a global variable 'debug'.

    Where your debug events are for displaying debug text, add a condition if debug=1.

    Then toggle debug to 0 or 1 before you start the game to enable/disable debug.