kriand's Recent Forum Activity

  • And your code really looks like this?

    This should work fine. But here another option i usually use to prevent the Player from taking several items with one click when they overlap. I store the UID of the targeted object and compare it. That may look like this:

    btw - i uploaded a jpg and a png file and both worked.

  • What does this screenshot show us? How it should look like or how it should not look like? Click on your project in the project line and set 'Sampling' to 'Point'. If that does not help, we need more info.

  • You can open the file and look at it with free C3: editor.construct.net

    I have C2 but i am too lazy to do it again. The code is in both versions the same.

  • Hey

    I dont think that it is impossible. Its just a little more work here and there. Here a modified version of the 'Flying along template'. This is fast made and needs a lot of fine tuning but maybe it will help you or gives you an idea:

    1drv.ms/u/s!Ap_-qxoGKbDcg2Y-t8sZ_hyYbypD

  • System > Pick overlapping point

  • There is an 'on created' condition for Sprites. There you can save the original size.

  • sometimes it is not obvious, but when i put the 'Picked=0'-condition above the 'pick random'-condition it seems to work:

  • In this case you have to store the original size in instance variables and use them like this:

  • just tried it with one sprite and a handful instances and it works perfectly. Try it again or post your your project.

  • Yes. You can create an instance boolean and set it to 'true' when the card was picked. Then add the condition 'is boolean not true' under 'pick random'. Find out where and when you can reset that boolean.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can do it like this:

    Set Sprite Width to Self.Width + Self.Width * 0.1

    Set Sprite Height to Self.Height + Self.Height * 0.1

    I dont think you need a loop for this but i did not try.

  • I wanted to point out that you should use tilemaps to build your stage. If you use too many sprites, it has a negative impact on performance. Tilemaps are much easier to use, especially if you use many tiles. Maybe this tutorial will help you, even with other aspects about platformer.

    youtu.be/WPpNVCd02ww

kriand's avatar

kriand

Early Adopter

Member since 28 Mar, 2017

Twitter
kriand has 2 followers

Trophy Case

  • 7-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies