dop2000's Forum Posts

  • Here is a simple way of doing this:

  • You mean like this?

    Go to URL "http://website.com?name=" & sPlayerName

  • I think what OP is asking is can you assign 2 tags to the same audio.

    Yeah, that's what I meant. For example, if you want to play sounds with tags like "laugh:enemy", "scream:enemy" and "scream:player", and then mute all screams, you can't do this. You'll need to associate these custom tags with each sound using an array or something similar.

  • This effect is enabled by default. You need to disable the outline effect on start of the layout, or in "On SpriteFont Created" event. And then you can enable it for a selected instance.

  • I use this tool

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

    It allows to add different outlines, shadow etc.

    If you already have a spritefont and can't re-generate it, you can try this effect:

    construct.net/en/make-games/addons/265/outline

  • Yes, generally it's a bad idea to mix Physics with other movement behaviors. Sometimes they may work fine, but in games like Pinball or Arkanoid this will definitely cause problems.

    In Physics you can actually stop objects immediately by setting their velocity to 0. You can even fully control them with only "Set velocity" actions, without forces or impulses.

    .

    There is a simple trick you can use - create a clone of the paddle sprite, make it invisible and give it MoveTo or 8direction behavior. Control the PaddleClone sprite, and on every tick set physics velocity of the real Paddle to the PaddleClone speed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is not possible. If you want to keep track of which sounds are playing, you need to save their tags in an array.

  • "ditching the template" may not be a very good advice, there are plenty of game templates on Scirra store that are old, but still great. Just last week I helped to replace WebStorage in an old project, and I actually enjoyed playing that game.

    Rigel11 I advise you first familiarize yourself with the Local Storage plugin. Check the official templates and tutorials.

    The main difference between WebStorage and Local Storage is that WebStorage is synchronous, meaning that you can access any item from the storage immediately: Set level to WebStorage.LocalValue("currentLevel")

    Local Storage is asynchronous - you request an item, and then you have to wait for it to be retrieved. You need to use "Wait for previous action to complete", or "On item exists/get" events.

  • I've had the same issue with the Desktop build for at least a month.. Don't know how to fix it.

  • Why do you have a condition "Is overlapping Spike at offset"?

    Two conditions "Has wall on the Left" and "Has wall on the Right" should be enough for this AI to work. Also, make sure that the origin image point is in the middle (horizontally) of the sprite.

  • This doesn't make sense. Are you sure you don't have other events (maybe in other included event sheets) that can create this doctor sprite?

    Add a debug message using "Browser Log" into event 2, check browser console - will you see this message?

    If nothing helps, you can email me your project and I'll fix it for you.

  • Your "Shuffle" button doesn't work because you used the wrong object name in the event - Button instead of Button2

  • It's difficult to tell what can be wrong.

    When debugging complex issues like yours I use Browser Log a lot. I would add debug output to all critical events, printing the array values, instance UIDs, variables etc.

    Then run the game in debug mode, pause before and after the function call, open the browser log, inspect the contents of the array, check positions of the black squares etc.

    Also, I don't see a "Pick by UID".

    It's not under System object. It's Virus -> Pick by unique ID

  • You can use either "Pick by evaluate" or "Pick by unique ID", it doesn't matter.

    What exactly doesn't work? I don't see any mistakes on your screenshot.

    If you are not sure if the function gets called, add debug output to it - for example Browser Log "Green distortion for "&Virus.UID

    Run the game, press F12 to open Console and check the browser logs.

  • My go-to website for free sounds is freesound.org, but there's a lot of garbage there. Here are some other resources:

    romanluks.eu/blog/list-of-50-websites-with-assets-for-game-developers

    skyesaudio.com/blog/2019/4/1/the-ultimate-free-sound-effects-list-free-to-download

    reddit.com/r/gamedev/comments/fmfekg/supporting_the_gamedev_community_in_this

    If you are willing to pay, just google what you are looking for, there are lots of websites like audiojungle.net etc. with high quality sounds.