dop2000's Forum Posts

  • Which behavior are you using for movement? With TileMovement you can do something like this:

  • Only the first bullet flies away from the character

    Run the project in Debug Mode (Shift+F4). After firing a second bullet pause the preview and then find the bullet in the list of objects on the left. Check how many instances of the bullet are there, check their properties. Maybe the new bullet is invisible, or on a wrong layer, or has wrong coordinates etc.

    Debug Mode is a super useful tool for troubleshooting. If it doesn't help, consider posting your project file.

  • I believe you can just put this script into "On start of layout" event. It will repeat every 0.1s

    But this will not work with Worker enabled. If you need Worker, perhaps you should run this script using "Every 0.1 seconds" event or Timer behavior.

  • What exactly doesn't work? Do you see the "Ammo: 6" text? If not, maybe you forgot to link your event sheet to the layout.

  • Select the entire event, right-click and change it to OR-block.

    But I'm guessing the "On Space Pressed" should not be one of the conditions, it a trigger. So you need to move your conditions into a sub-event:

    On Space Pressed
    
    .... //sub-event
    .... Condition1
    .... OR Condition2
    .... OR Condition3
    
  • if those codes meant anything ? Like js: 43:187

    I think these are referencing some internal files in Construct engine, they are not very useful to you. If you can find what's causing the error and reproduce it in a small project, you should report it.

    i wanted to see if it’s possible for you to help me and how much it would cost

    Unfortunately I'm currently busy working on a large game and won't have time for other projects.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can probably unpack the project into a folder and manually edit the files, removing the second mention of the Brightness effect.

  • By the way, you don't need that second condition (Touch is touching button) on your screenshot. "Button on clicked" should already work with mouse and touch.

  • To add to oosyrag's comment, your event #2 is a top-level event, it will run on every tick. I assume you only want it to run at the start of the layout? Then you need to create a sub-even under event #1 and move it there.

    Here is how you properly use Wait in loops:

    Repeat 100 times
    ... Wait 0.1*loopindex
    ... (put actions here)
    

    But a much easier solution would be using Fade or Tween behavior on the sprite.

  • Local Storage data is saved locally on user's device.

    Perhaps you are doing something wrong, can you show a screenshot of your events where you are saving/loading data with LS?

  • Use this tool to create your own spritefonts with Russian characters:

    construct.net/en/forum/game-development/tools-and-resources-27/sprite-font-generator-v3-64038

  • Mouse On Sprite Clicked
    Sprite Pick Top : Sprite Destroy
    

    Instead of "Pick Top" you can use "System Pick Random".

  • If i load all game images into memory at the start of the Main Menu layout, will they be carried on in the Game layout?

    I tested and seems like if the same objects exist on both layouts, their images will not be unloaded from memory when you switch from Menu to Game layout.

    But if you switch to some other layout without those objects, they will be unloaded.

  • I'm not sure if I understood your question, but usually you pick an instance and then you can access its variables using a simple Object.variable expression.

    Pick Enemy by UID=123 : Subtract Enemy.damage from Player.health