dop2000's Forum Posts

    • Post link icon

    Thank you for the honest answer. I have a couple of remarks, hope you will not consider them "trolling".

    - you said "Don't show unique icons" works around the issue completely, thereby providing a workaround;

    "Don't show unique icons" is not a workaround. I would rather live with 10 seconds lag than without unique icons. When you're working on a big project, you have lots of objects with long names, and the list looks like this:

    ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa... ObjectNa...

    It takes ages to find the right object, as you need to click every one to see its full name. And it makes it much harder to read event sheets. So no, this is not a workaround, it's disabling a very important feature.

    And anyway, this only helped me, others say that event dialogs are still slow even without the unique icons.

    then this seems to have a relatively minor impact

    Trust me, it's not minor. Try using a software for 10 hours a day where almost every action causes a lag, sometimes small, sometime big and you'll understand.

    And I'm sick or rebooting my laptop...

    But most importantly - if you strongly believe that this is a windows issue, can you please log a bug report with Microsoft?

    I think it's your duty as a developer, since your software product is hitting this bug and affecting us, end users (who paid you money for said software product).

  • Use CSV2Array plugin:

    When you select the first random frame, get image number from the array for this frame.

    Then pick the second random frame, get the second image number from the array. If both numbers are the same, repeat the last step. (Using While loop)

  • Once particles are fired, you can't control them. Only if you scroll the entire layout.

  • I suggest SVC - create an Excel spreadsheet with all animations and frames. Save as CSV, import to C2 project, load to array.

    It may look like this:

    Sprite1, Animation1, 1, 5, 7, 11, 32, 56, 18, 2, 42, 61

    Sprite1, Animation2, 7, 4, 0, 11, 32, 90, 20, 3, 61, 11

    ....

  • Not sure what you mean by "rounded angle".

    Here is a simple method - define two image points on each frame:

    Then do this:

    Cannon spawn Bullet at image point 2

    Bullet set angle to angle(Cannon.ImagePointX(1), Cannon.ImagePointY(1), Cannon.ImagePointX(2), Cannon.ImagePointX(2))

    Bullets will shoot in the direction from image point 1 to image point 2.

  • No, not possible. One container - one instance of each object.

    You need to remove the cannon object from the container and add SpaceshipUID instance variable.

    When your spaceship is created, create 2 instances of cannon and set Cannon.SpaceshipUID =Spaceship.UID for them.

    Now you can identify which cannon belongs to which ship and vice versa.

  • Sorry, it works in C2, but apparently not in C3.

    Have you tried remote preview in another browser (Firefox)?

  • Are you sure your variable is not Text type?

    This works fine for me:

  • It's likely I won't be using tilemap anymore, so it won't be as easy as snap. I want to be able to create the walls at runtime, so the layout can be different, and the walls are automatically placed. It'll mean combining either normal sprites or tiled backgrounds with tilemap offset.

    I would still use a Tilemap (or several). You can make them invisible and put sprites over the tiles. Use tilemaps as solid obstacles for other behaviors, for collision detection, pathfinding, LoS etc. You can create different tilemap layouts and load them from JSON string for each ship. Tilemap basically works as an array, so it will make many things easier.

  • You do not have permission to view this post

  • You can turn scaling off (Fullscreen in browser: Off) in project settings.

    However, using browser's scrollbars is not recommended in games, it's better to set up your own scrolling system.

  • You mean something like this?

    set activeColor to rgb(22, 33, 44)

    Text set font color to activeColor

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Sir. I am also thinking about this. i think this is not possible since if i double tap the system will first register a single tap and perform that action.

    Regards

    It's possible, but may not work too well.

    You can start an "average" strength jump on single tap, then wait for about 0.5 seconds and if there was no double-tap registered, make the jump higher by increasing VectorY (for example Set VectorY to Self.Platform.VectorY*1.5)

    If double-tap event was registered, decrease VectorY (Set VectorY to Self.Platform.VectorY/1.5)

  • You do not have permission to view this post

  • Now I just need to figure out how to set the destination to a grid, rather than the mouse X & Y. If I recall correctly, it's something like: X % 2) * 32... but I honestly don't remember. Will need to search around again.

    Use TileMap expressions: SnapX, SnapY, PositionToTileX, PositionToTileY, TileToPositionX, TileToPositionY