dop2000's Forum Posts

  • What do you mean you can't find jump?

    Press Up key and the character will jump. If you are using custom controls, use "Platform Simulate Control: Jump" action.

  • WackyToaster

    Could you recommend a good reliable server to get the time from? And how do you do this - with some JS script?

  • I'm not a fun of the new design either, hope it will get improved or customization options will be added.

    But the design doesn't bother me as much as the fact that lots of old posts are now unreadable. Thousands of code examples, links to projects and different resources, tutorials, screenshots - tons of very useful information collected over almost 10 years - all this is now lost??!

  • Have you tried "Set angle towards position Mouse.X, Mouse.Y"?

    The image in your spotlight sprite should be facing right with Origin point at its left end.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are lots of ways to pick an instance of Timemap object.

    If you know their UIDs, you can pick by UID. You can pick top or bottom instance, Nth in the order of creation etc..

    A popular method is to add an instance variable ID, set ID=1 to the first tilemap, ID=2 to the second tilemap instance and then simply pick one with the required ID:

    Tilemap compare instance variable ID=2 -> Set tile ....

  • > EDIT: many old posts are now completely unreadable. For example, the FAQ:

    > construct.net/forum/construct-2/how-do-i-18/-how-do-i-frequently-asked-que-41236

    This link actually "translated" to construct.net already, so i could access (FAQ).

    I can open that post too, but I'm talking about what's inside it - all links, screenshots and formatting are completely broken.

    I really hope that this is just a temporary issue and will be fixed, because Construct forums has been the greatest knowledge database created by thousands of people over many years. And if this update kills it, this will be a terrible disaster...

    Tom, please tell us that all old post will be fixed?

    If not, could you at least keep the old forums (at scirra.com) alive? You can make it read-only, but please keep it accessible!

  • Looks like some comments for the past hour or so disappeared..

    Try this file:

    dropbox.com/s/up42tkyv7r3oumn/IDPractice-share2.capx

    There are lots of problems with the code, I fixed the most obvious few.

  • Congratulations on migrating to new forums!

    Could you please add "View my posts" link? I used it every day to keep track of my topics and answers. Can't imaging using this forum without it.

    EDIT: many old posts are now completely unreadable. For example, the FAQ:

    construct.net/forum/construct-2/how-do-i-18/-how-do-i-frequently-asked-que-41236

  • Have you tried "Line of sight"?

    In C2 select New Project and search for "Line of sight" in the list of templates.

  • Simply add another condition to your "Button on click" event: "Button is visible"

  • You do not have permission to view this post

  • Use Timer behavior.

    Or you can create an instance variable TimeLastHurt and do this:

  • So to my understanding, I should continue reducing them in layout to keep that sharp look for both small and large screens?

    Yes, if you don't mind using more memory.

    Also, some images (pixel-perfect, vector graphics) may visibly lose in quality when resized in C2.

    Returning to my example from the previous comment - on 1080p screen the second image with 250x250 original resolution may look slightly better, than the 500x500 image scaled down to 50%.

  • I think this is true if you want your images to look better on a higher resolution screen.

    For example, let's say you make your game for 1080p screen and put two identical images on the layout - one is 500x500px resized down to 250x250px (resized on layout), another 250x250px (real image size).

    On a 1080p screen both images will look the same.

    On a 4K screen the first image will look slightly sharper than the second.

    But it will also use much more memory.

  • I think the best practice is to target one screen resolution (high enough, but not crazy high) and prepare all images for this resolution.

    So you export images in the correct size from some external program, import to C2 and use them without resizing.

    When you scale down images in Sprite Editor, you reduce their quality.

    When you scale down images on the layout, you also reduce their quality and wasting video memory.