Asmodean's Forum Posts

  • Use RegexReplace

    RegexReplace(TextWithTabs,"\t+","gm"," ")
    
  • I like that a lot, especially that you don't use spaceships and asteroids. Music is good, controls with Gamepad is very good. The only suggestion i would have is that the player could wrap around in the playfield but the enemies not. So you could get rid of your pursuers.

    And one last thing, if you use the arrow keys + space for controls some keyboards can have ghosting with that key combinations.

    People already familiar with Construct's JavaScript coding feature will find it much easier to develop addons, and vice versa.

    I have my doubts about that. It would be easier to not handle 10 different files to make an addon. But i will cope with it, as always.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you sure it's not another problem? It works fine for me.

  • Like press once, and done. Instead of holding R down.

    Now I understand. But it should work. Only press R once should work.

  • I like how you have done it. It's really neat and tidy.

    I don't understand what you mean with: I rather just press the button.

    Don't you want an automatic and a manual reload?

  • Your "Every 1.0 seconds" is a subevent. If you press R it will start to wait for 1 second and it will start every tick as long you press R. So your subenvent will not executed. If you release R the subevent won't be executed at all.

    Make it an event not a subevent.

  • If it bothers you, disable it.

  • I wonder if that is a bug that you can't choose a folder in 'Play'. Anyway in 'Play (by name)' you can choose a folder, but you can't pick your audio file directly you have to type the name.

  • The Text object TxtScore is not long enough. If the score is going over 99 to 100 it can't display 'score:' and the '100' in the same Text object. Make it a little bit longer and it should work.

  • Simply download the .c2addon file, then drag and drop the file in to the Construct 2 window. Construct 2 will prompt to ask if you want to install the addon. If you approve the install, you must restart Construct 2 before the addon becomes available.

    construct.net/en/construct-2/manuals/construct-2/installing/third-party-addons

  • Maybe the "Is in preview" condition in System:

    Is in preview

    True when running the project from a preview in Construct, and false when running after being exported. Useful to add debug or diagnostic features for previewing only.

    construct.net/en/make-games/manuals/construct-3/system-reference/system-conditions

  • The problem is that parallax is relative to your scroll position. Already at the start of the game your player position would be for example 60% higher than the trees in the viewport and the other layers would be also lower as the player. You could try an change that in the Editor but I think it would be easier to use z-Elevation. That should give the same effect like parallax. You could give the for example the Trees-Layer -40, the Skyscraper -60 and the Background -80. Then you would have to change back the size and position of the layers in the Editor.

  • is there a way to take that 1,2 example above and translate it to a single value returned?

    With the width of the Tilemap you could use: y*width+x => y*3+x => 2*3+1 = 7 that is 0 indexed, you need to add 1 for your 8.

    y and x have to be 0 indexed and the width is the amount of tiles in X direction.

  • That looks like scanlines. Isn't that exactly what you expect from a CRT-Shader?