dop2000's Forum Posts

  • Here is an idea just off the top of my head -

    on collision with wall, remember current object position in variables tempX, tempY. Set a random angle, move object about 20px at that angle, check if it's overlapping the wall. If it is, return it to (tempX, tempY) and repeat.

    If it is not overlapping, then it's safe to bounce at that angle, return object to (tempX, tempY) and set bullet angle of motion to it.

  • Taximan Try eliminating one thing at a time and see how this affects memory usage. For example, try removing ads first. If this doesn't help, try removing half of your text objects (even if your game won't work after that, it doesn't matter, you just need to check memory usage).

    Once you know what's using most memory, it will be easier to find a solution.

  • Since you are passing UID to a function, you need to pick only 1 instance at a time. So you need to add "For each Inimigo_01_walker" loop to the "Every tick" event.

    Here is the best way to organize the events:

  • You can assign ID and change CSS properties with "Form controls" objects (button, text box, progress bar etc.) But if you are planning to add just these objects to the layout and then control them from external scripts, this would be a very weird use of Construct.

  • Add this sprite to a family. Change your event to this:

    On double-click on IconFamily : IconFamily spawn Icon

    Then you'll be able to refer both instances in the same event - set icon.property to (IconFamily.property)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You need to increase the layout size. For example, if your menu height is 200px, make layout size 200px taller. But don't place anything in the bottom 200px of the map, because this area will be hidden under the menu.

  • Does it jump at all? Try increasing jump strength in behavior properties. Also check the position of Origin image point in all animation frames. Ideally, for Platform object the image point and collision polygon should be the same in all frames/animations.

    Changing animations properly in platformer game may be a tricky task, I suggest you check some tutorials, see how other people do this:

    scirra.com/tutorials/all

    Here is one example:

  • I don't think it's possible. You can do Fade, bounce and other effects with Construct behaviors.

    scirra.com/manual/95/fade

    scirra.com/manual/103/sine

  • I'm not sure I can help you further with this.. I would try saving the project as a folder (or simply unzipping capx file), and replacing images from an old backup copy. Or copy all files to another PC and try to open there. Or maybe open all images in a software like Photoshop and save them again with the same name (to restore metadata).

  • Objects on an unused layout don't affect instance counters or anything else. The project is cleaner this way, and you don't have to remember to destroy such instances. So I'm using the Assets layout in most of my projects.

    Of course, there is no point in dumping everything onto the Assets layout, only put objects which you need to spawn during the runtime and which don't already exist on other layouts.

  • Yeah, your entire loop is done in one tick, that's why the progress bar is not updating.

    Try something like this:

    On every tick
     For "outerLoop" from 1 to 200 : Add 1 to X
     if X<=int(TextBoxX.text)
     ...For "InnerLoop" from 1 to int(TextBoxY.Text) 
     ......[do some stuff]
     ......[update progress bar]
    

    This way you'll process numbers in small portions on every tick. If TextBoxX=10000, this will take 50 ticks. And your progress bar will work.

  • I made a demo for another post, you need to install Rex's TimeAway plugin:

    dropbox.com/s/6fmdstyyke9wa9g/TimeAwayL-2Timers.capx