dop2000's Forum Posts

  • Try these links:

  • The link is right there, just remove spaces.

  • Your link is not working - error 403 Forbidden.

    Try opening it yourself in different browsers.

  • Could you share your capx?

    Because I tested the code I posted above and it works.

  • On your first level you have thousands of small objects (trees, trunks, shadows, plants, AttackReach sprites etc.), many of which have Chipmunk or Solid behaviors and are part of various collision checks.

    There are ~70 thousands collision checks performed on every tick and these objects are responsible for about 90-95% of them.

    You will never get good performance with this approach.

    I would recommend using a single solid tilemap as a landscape collision map and disabling collisions for all those small objects.

    To identify what is causing performance issues, you can delete objects one by one and see if it improves the CPU utilization and FPS in the Debug Mode. Do the same with events - disable groups of events and see if performance gets better.

  • Your image is not loading.

    Check out the Shadow Light object - in C2 click "New project" and search for templates with the word "Shadow"

  • Add another condition to your touch events, something like "Touch.Y<(layoutHeight*0.9)"

    This will ignore touches in the bottom 10% of your layout.

    If you want to allow players to keep one finger on the screen, you will need to process multiple touches:

    loop from 0 to TouchCount, compare Touch.YAt(loopindex)

  • You can use .PinnedUID expression:

    System Pick object1 by comparison object1.Pin.PinnedUID=object2.UID

    ...object1 is overlapping object3

  • waltg

    To open a project saved in newer version, unzip it to a folder, open .caproj file in Notepad and edit this line:

    <saved-with-version>25600</saved-with-version>

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try Swirl effect.

  • I would never understand why people create several fancy start screens and add 40+ megabytes of music and animations, before coding basic game mechanics. Doesn't it annoy you when you have to listen to the same music and go through the same screens hundreds of times every day?

    You could have at least removed all that unrelated stuff before posting it here, as a courtesy to those who are willing to help you.

    1. You are spawning targetspr in event #27 on every tick while 3 conditions are met. If you just want to spawn this sprite once, you can add another condition:

    targetspr.count=0

    2. Not sure which sound you are talking about. When I press Z, the "jump" sound is played immediately.

  • How do you move this object with mouse - with drag and drop behavior? Or setting position to mouse x,y on every tick? Or using some other method?

  • Not all EPS files have binary data, some are entirely plain-text.

    You can modify your script to look for the "%%BeginBinary" tag and if it doesn't exist - process this file. If this tag is present - skip the file and edit it manually.

  • You should decrease it if you want to shorten the jump.

    Player is jumping

    or

    Player is falling -> Set vector X to clamp(self.Platform.VectorX, -20, 20)