GSquadron's Recent Forum Activity

  • Just create a progress bar and click on it, then drag the click.

    You will notice it makes the mouse pointer change.

    I believe the problem can be solved with CSS added to the engine itself.

    'pointer-events: none;'

  • Update: I fixed the problem by switching the progress bar with a sprite.

    Still I think this kind of problem should be fixed by the engine developers.

  • Just checked it and it is just a text.

    Ok, so it looks like this problem happens only when you drag over the progress bar.

    I found another similar question and they said to make an invisible object on top of it.

    It does not work for me though.

    I also tried the onclick event of the progress bar, to set the cursor of the mouse to normal.

    Unfortunately, it works only for click, not drag.

    Also, just tried the 'every tick' 'set cursor to normal' and it does not work too.

    (even though the cursor seems to continue to show as selecting text)

    Update: I just opened a new project with a progress bar in it without events and seems like to be an issue.

    So now I know 100% is the progress bar.

  • Yeah. That is the only mouse Event I use in the entire game.

    I kind of fixed the problem by making the progress bars and text boxes smaller.

    Looks like it must be both of them, that after drag, the cursor becomes a text one.

    Then the problem happens.

    The problem is not entirely solved, but bit more difficult to happen.

  • Never mind man, I just fixed the problem. Instead of colliding with, make overlapping with, then right click and select invert.

    It does what I wanted it to do.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, so what I found out is that after removing the progress bar completely solves the problem.

    Looks like there seems to be a problem while dragging the click on the bar.

    All enemies have health bar though, also the player has his own health bar.

    How to disable the click on the bar?

    The player has 3 behaviors.

    8direction.

    ScrollTo.

    BoundToLayout.

  • I move the player with WASD and move the mouse to aim, then click to shoot. While moving aim, you might drag the aim and shoot+move makes the player move toward that direction, getting stuck.

    This is the player group. (I cut off 20 and 21 but they were for the door/walls.)

  • Hello,

    I am having a problem when I click on the terrain for a top-down shooter.

    The player is intended to just shoot, but while dragging the click, he starts moving at that direction without stopping if any of the WASD keys is pressed.

    How can I prevent this?

  • Thanks man, the 'trigger once while true' did wonders.

    Now I have a new problem.

    Whenever the enemy collides with the player, I want the player to get his health removed every 1 second.

    Unfortunately, it happens only once.

    I tried adding 'repeat every 1 second' as a sub-event, but does not work.

    Also, how do I do 'not colliding with'?

  • Hello,

    I want to know how can I level up the player (add 1 to the global variable Level) on every 5 kills?

    What about on every 5 + (level * 2) kills?

    For example if I am level 0 I only have to kill 5 enemies.

    Next, I am level 1, so it should be 5 + (1 * 2) = 7 enemies.

    Level 2, 5 + 4 = 9 enemies.

    How can I do this?

    I try to add to the global variable one, but it seems like it adds one on every single tick not just once.

    Update: This got fixed, but a new problem is described below.

  • Hi,

    I am working on a new game with a designer. Have yet to find a name for the game.

    Main idea will be a futuristic shooter defense game.

    Here is the main character costume.

    This is the initial sketch the designer did according to the plan.

  • I really like the simple design.

GSquadron's avatar

GSquadron

Member since 16 Jan, 2016

Twitter
GSquadron has 1 followers

Connect with GSquadron

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies