ikke2902's Recent Forum Activity

  • (...) However the persistent layout I don't think will help you a lot, as it will make things persist as you switch layouts (...)

    It is ment as an example to show him that it is possible to transport the player from one layout to another

  • 1- I don't know much about this, hope some one else can answer this

    2- This is possible. Open construct 2>New> select Example: Persistent Layouts

  • Are you looking for something like this?

  • Perhaps

    Every X seconds |Set enemy angle to [player.X Player.Y] ?

  • I think you want to have something like

    Enemy is outside layout | Set enemy angle to [player.x player.y]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In event 3, change the Pin action mode to "Only position" instead of "Position and Angle". This fix the problem.

    This might explain why your NME didn't rotate after applying the container.

    [quote:1wpdr1b1]3. If a condition picks one object in a container, every other associated object in its container is also picked.

    You have an event (16) to set the angle of sprite4 to the player. Since NME is in the container of sprite 4 and also have the Pin action mode "Position and Angle" in event (3), NME will pick the angle of sprite4 everytick.

    I find myself enjoying your game. Keep it up! I am looking forward to playing with upgrades and more

  • A small quote from earlier blog post from Ashley.

    [quote:cl8a39t8]Many mobile systems don't support images which are not a power-of-two size (e.g. 32x32, 64x64, 128x128...). To work around this images will be placed in memory on a power-of-two size texture big enough to fit it. In this case the 1920x1080 image will be placed on a 2048x2048 sized texture in memory! This means it uses 16mb of memory - about double, on a system with even tighter memory limits! Construct 2 automatically spritesheets smaller images on export to save memory, but such large images don't benefit from this.

    I recommend to read his full article

    https://www.scirra.com/blog/112/remember-not-to-waste-your-memory

    Hope it clears up your question, cheers!

  • I think you are looking for the container.

    Take sprite4 and add container. Pick NMEturret to add.

    When the base (sprite4) has been destoyd, the NME will be destroyed automaticly aswell.

    Further document can be found here https://www.scirra.com/manual/150/containers

    Hope it helps, cheers!

  • I have used compare to global variable instead of the everytick condition.

    Hope the capx will help.

    note: the Wait 0 seconds action is very important

  • You might want to take a look in the tutorial section if you haven't.

    https://www.scirra.com/tutorials/all

    Use ctrl+f and search for health. You will see many healthbar related tutorials.

  • Take a look at this link at the last post https://www.scirra.com/forum/viewtopic.php?f=147&t=98171. Baodingball made a capx for saving scores.

    Hope that helps

  • A few weeks ago I have the same problem. I also don't know how to use the webstorage correctly. There is a lack of examples on this

    Anyway, here is my capx were I am able to save and retrieve data from the array.

    Run the capx, click on some buttons and do save, refresh browser, click load. Voila, data is back!

    These are event based, so you can use it for On layout load to do the trick instead of having to push the load button.

    ikkez

ikke2902's avatar

ikke2902

Member since 8 Feb, 2012

None one is following ikke2902 yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies