WesleyDeveloper9's Forum Posts

  • Hello Construct 2 users,

    Do the Game developers need the "Web Storage" object to create a High Score? Can we also create a High Score with the "Local Storage" object because the Web storage object is not available in the Data & Storage section in the "Insert New Object" window?

    This is the picture of my "Insert New Object" window and as you can see only the "Local Storage" object is available:

  • To Maverick1912:

    Ok, I have found the solution by adding a new sub-event. Thank you for your assistance.

  • To Maverick1912:

    I have run my game in Debug mode and the value of the "MothershipEnergy" varable equal to 0, like the picture indicates (Check the information within the red rectangle):

    And this is what the Debug mode is saying about my Audio file but I don't know what it means:

  • Greeting Construct 2 users,

    I want a piece of music to play after the explosion of a mothership. According to the following picture can you tell me why the music is not playing? The music file that I am talking about is in the red rectangle in the picture:

    Tagged:

  • To AllanR and plinkie:

    I have found the solution I wanted the spaceship to move and I have included the code in the red rectangle, inside of the image below and it works. If there is a problem I will contact you again guys, thank you for your support.

  • To plinkie:

    - does PlayerPoints = 5?

    Answer: This means that when the "Player's Points" text object displays the number "5" the rest of the action occurs.

    - is the bullet behaviour enabled on the mothership?

    Answer: Yes the bullet behaviour enabled.

    - does it have speed so it can move?

    Answer: Yes the bullet behaviour has a speed.

  • Hello Construct 2 users,

    I tried several codes to make a mothership move from the top of the screen to the bottom. But it doesn't work. I wonder if my scrolling background is causing some confusion and this is the reason why that the Mothership never move from the top of the screen to the bottom. Or it's maybe something else. This is the code that supposes to make the mothership move from the top of the layout to the bottom, tell me what's wrong with my code:

  • To AllanR:

    Thank you for the solution that you have suggested to me, it works!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Greeting Construct 2 users,

    I have included codes in my Event Sheet that allows the player to shoot automatically while he or she is dragging the spaceship (the sprite that represents the player). But unfortunately, the spaceship is shooting too many laser rays at once. What kind of code and variable can I add to the current code in my event sheet, so the spaceship can shoot a reasonable number of laser rays? Here's a picture of the code in my event sheet:

  • To plinkie:

    A) You are saying that my background is not beautiful enough? Do you know where I can get a background with a better appearance? If yes tell me.

    B) Can you give me an example of a code that will allow me to prevent an object to access the white area at the top of the screen (an x,y coordinate)?

  • Greeting Construct 2 users, I have two issues:

    Problem 1:

    I have included the DragDrop Behaviour to my spaceship sprite. I have placed codes in the Event Sheet that makes the spaceship shoot when the player drags the spaceship in the screen. But unfortunately, the code is not working (the spaceship is not shooting when I am dragging the spaceship). Can you tell me what's wrong with my code, by observing this picture?:

    Problem 2:

    When I preview my game and I drag my spaceship to the top of the screen, I can reach an area where there is no background and the background is white. Can you give me a suggestion to remove this flaw in my game?:

    This is the code that allows the background to scroll and repeat endlessly the image in the background:

  • Ok Thank you I have solved the problem.

  • To Lancifer:

    Do you think that it's possible to reduce the visible area (dotted lines)?

    Thank you!

  • To Lancifer:

    How can I stretch the layout to fit over the dotted-line box? Tell me the steps I have to follow.

    Thank you!

  • To Lancifer:

    If you observe the previous images that I have submitted, my image is already over the layout but when I preview my layout the image appears at the left side of the screen. I was wondering how I can make my image appear at the center of the screen just like this picture for example: