dop2000's Forum Posts

  • Yes, it's possible and very simple: add a new action "Sprite font -> Typewriter text".

  • Compare mouse Y position, if it's close to the bottom of the screen, make menu sprite visible. You can move it up with litetween/sine/bullet behavior if you want.

    When mouse is over white circles, make the sprite with preview of the page visible. On click on circle, go to another layout for that page..

  • The easiest solution would be saving the slider value in a global variable when you exit the layout. On start of the layout, restore slider value and position from that variable.

  • All these effects can be done with LiteTween and Fade behaviors.

    construct.net/en/forum/extending-construct-2/addons-29/behavior-litetween-48240

  • Really nice game, I reached level 5! The enemy AI is pretty stupid, it's easy to lure and trap them once you understand how they move. But I'm guessing with more enemies on the level it will become harder and harder to escape from them.

  • I'm talking about Pathfinding.MovingAngle expression, not sprite rotation angle.

  • You can use Sprite.Pathfinding.MovingAngle expression. If the moving angle is between 90 and 270 degrees, set the sprite mirrored.

  • Try unzipping the .capx file and see if the folder Textures contains the file "SpriteFont.png". If not, create a file with this name and place it into this folder. Try opening this project (.caproj file) in Construct 2 after that.

    If this doesn't help, please share your capx file. Upload it to dropbox or a similar service and post the link here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • tunepunk Thanks! Now I feel like a fool :)

  • you can do something like this:

    For "x" from floor(Sprite.BBoxLeft/16) to ceil(Sprite.BBoxRight/16)
    For "y" from floor(Sprite.BBoxTop/16) to ceil(Sprite.BBoxBottom/16)
    ..Create Dot at loopindex("x")*16, loopindex("y")*16
    

    Where "16" is your grid size.

  • Which behavior do you use for player movement? In 8direction, Platform you can use "Set vector X/Y" actions.

  • Backup your .capx file first, rename it to .zip, unzip to a folder and try fixing the problem by editing xml and caproj files manually in a text editor like Notepad++

    Since you didn't post the error message and didn't share your project file, this is the only help I can offer.

  • I am not sure I completely understand your question.

    4000 sprites is a lot! You need to destroy or disable collisions for dots that are not on the screen. Make collision polygons as simple as possible (rectangular for dots). Remove any effects and behaviors from dots, stop animations.

    If you only need to animate one sprite with dots, then there is no point in filling the entire screen with them of course.

  • If you change the code like this, it cuts the number of collision checks in half:

    Also, you can add other optimization tricks. Say, perform overlapping checks every 2 or even every 3-4 ticks (instead of doing this on every tick). Because LED display is so "low-resolution" it will still look good.

    I tested with 600 dots and 2 rotating Mask sprites, and with all these tweaks I'm getting comfortable 55-60 FPS on my very old Android phone.

    .

    Tilemap method is a bit more difficult and it also relies on overlapping checks. You loop through all tiles inside the sprite bounding box, and for each tile use "System Pick by overlapping point" event to check if the sprite is overlapping this tile. I don't know if this method will be faster or not.

  • You simply need to create/spawn particles object when you want to trigger it.