lionz's Forum Posts

  • Just a quick one as I don't use physics too often.

    I've set my player up with platform behaviour. The physics objects move around as expected. I seem to be unable to push physics objects though unless I also give the player the physics behaviour, which has weird results. I assume there is a way to do this without giving the player the physics behaviour.

    What's the usual way for allowing the player to push objects, do you have to simulate it yourself with object move x,y on player touch etc? Or are all the cool kids adding the physics behaviour to the player?

  • You probably have some overriding idle animation logic. But yes this is kinda impossible without the .capx, cut it down and link!

  • Yar as above, 'turret is visible' condition on the shooting event.

  • Set Layer Visible event. If it's a story where you dismiss layers which is what I'm imagining then you can just run a function where it sets different layers visible/invisible in order. There's probably many ways to do what you want here. You might want something else entirely though as this doesn't really relate to the subject 'how do I number layers?'

  • Clearing browser cache will clear any local save data. I don't think you're supposed to access it locally though, not without some kind of code workaround. To do the pre setup save states wouldn't you just create them all on a first load? The name used for the save state is just an HTML tag it won't appear as a local file in a search, all data should be in a cookie file somewhere.

  • The logic looks reasonable but we would probably need a project file to look at.

  • Ah yes, might've noticed that with the project. Well done for guessing that

  • Do you have events that move them back to their original positions later on in the project? I'd have to see the .capx file I think because this looks fine to me. Provide a cut down version if you can showing the issue, via dropbox or something similar.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's not great, quite laggy.

  • Link a button to browser close action for exit. For pause, you could create a browser alert?

  • That should work so there must be an error with the event. Please link to a screenshot or project file of some kind and this can easily be resolved.

    Also just a guess from not seeing the project, you seem to want to set the position of multiple sprites but probably only have a single instance on the event sheet so my guess is that a single sprite is just moving around and then hits the final position you set. You need to create multiple sprites and set their positions accordingly, depending on what you want to happen of course. You may have set this up correctly though and there are other errors, it's hard to assist with guess work.

  • As a cookie for the specified browser.

  • Can you elaborate on what the bugs are?

  • I use the progress bar which is built-in and then you can customise it using css for different statuses. Or you can just have a sprite that expands its Y+1 every tick so it looks like it is progressing/loading.

  • https://dl.dropboxusercontent.com/u/495 ... slots.capx is how I would do it without slot arrays. Mmmm instance variables.