neutrinox's Forum Posts

  • Yes I have placed them manually.

    They won't reappear because of the persistent behaviour. This is what I want when the player visits other layouts like shops, because the collected coins should not re-spawn simply after the player has visited a shop. But when I try to restart the layout from the Game Over screen (also resetting all global variables at the same time) the coins that the player collected are still gone. I would like to have the collected coins re-appear if the player restarts the game at the game over -screen.

  • Hi!

    I have a mario-like platformer and the player can collect coins from levels. I solved the problem of the coins re-spawning after entering rooms (other layouts) by giving the coins the persist behavior. But now I can't figure out how I can reset the coin positions after game over.

    In other words, how do I force items that have persist behavior to reset?

  • Thank you very much, that sounds like what I'm looking for! I will check it out asap.

  • Hi!

    Sorry I might not have been clear enough. I'm looking for a way to do this for a certain amount of seconds. The enemy thing was just an example. I'm trying to use that as an example of how to make something happen for a limited amount of time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi!

    What would be a good way to make an enemy walk left for say 5 seconds and after that walk right for five seconds?

    I'm controlling the enemy currently with platform controls and on every tick -->simulate control -->left. I can't seem to figure out a good way of making it move for a limited time only.

  • I had amazing experiences with a group of 16-18 year old students. They had never done any programming, but I they seemed to really love Construct! I'm looking forward to teaching this software to many more people in the future!

  • Hi!

    I have two layouts, main and shop.

    When player enters the shop from the main layout, and then again exits the shop, the position of the player resets to the beginning of the main layout.

    I tried to set the position in the event sheet of the shop like this:

    button-->on clicked-->player sprite-->set position to (4000,1000);

    system-->go to main layout;

    That didn't work; the location of the player still resets to the beginning of the level.

    How could I make the player appear outside the shop door when he exists?

  • I had to slice it up because otherwise I got errors from crossing the 2048x2048 image size boundary. I need such a big background without repeat because the game happens in a real place (photograph).

  • Hi!

    The background is a photograph and every pixel is unique so I can't make use of repeated tiles.

    Was the tutorial you are referring to called:

    "supporting-multiple-screen-sizes"?

    I'm not sure which part of that tutorial applies to my situation.

    How would you approach adding multiple background slices together without leaving small gaps in between?

  • Hi!

    This is my very first Construct 2 project and I'm wondering how I should load up my background.

    I have a huge background image (originally something like 8000 x 1000 px) which I have sliced into 1024x1024 chunks in Photoshop.

    How can I now accurately place these slices as a background in Construct 2 without leaving any gaps between them? I tried to use the "tiled background" feature but couldn't figure out how to load multiple images side by side..