fm4fanAT's Forum Posts

  • I think we need more information to help you.

  • Your link is broken (need 500Rep points)

    You can write your whole URL between [code]www.hereisyour.url

    [/code:wz4idrnq]

  • Want to share your capx?

  • Works fine on my 2 maschines

  • You can also include Event sheets in existing ones.

    So make one global event sheet (without layout) and include that in every event sheet you need it (like for functions or on start of layout)

  • Here is a version that doesn't change the order

  • first example

    No, only the one card you drag gets a new position (that's what the instance variable is for). Except - this is the flaw - if you overlap with two cards, two of them get a new position - could be easily fixed, but version 2 is better and so there is no need for that.

  • didn't like the version I made.

    So here is the better one - that doesn't have flaws

  • Here is a version (not the best, but works)

    just make an instance variable to objCards

  • I'm not sure if this is your problem

    if you start dragging then you store the XY as a variable and if on drop is overlapping with objCard then set position to variable.

  • Here are 2 ways to do it

    1. Event objEnemy > is NOT "on-screen" | system > create objEnemy

    Here you check if the object is on-screen and invert it. Then you run a loop for how many new enemies you want to spawn (the loop number could come from a variable)

    2. with a variable

    For every enemy you destroy you subtract 1 from your variable. If 0 then create new enemies and add 1 to your varEnemy

  • ZephyrKing THX for showing a video

    [quote:2uygutdt]Ms edge runs my game so smoothly compared to chrome and other browsers it actually pisses me off

    That reminds me of some performance issues I posted before.

    C2 games have troubles on 2 of my 3 PC's.

    Here a lot of the time Edge runs smooth and Chrome or NW.js sucks

    You can try the performance test from Ashley to see how your PC tests

    http://www.scirra.com/demos/c2/sbperftest/

    Here it all depends on browser and the computer

    My gaming rig and the i3 laptop drop around 180 frames and score worse than a MotoX mobile

    The i5 laptop 0 drops

    W10 i3-5010U, 4GB Laptop - has some major issues with HTML - but otherwise a great and fast Laptop

    W10 i5-6500, 16GB, GTX960, SSD Workstation - has also some issues with HTML - otherwise perfect

    W10 i5-5200U, 8GB, SSD Laptop - no issues at all

    Still didn't figure out what is wrong with (especially on my Skylake workstation) - when I try a test like http://www.kevs3d.co.uk/dev/canvasmark/ my computers behave like they should.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • want to share your capx?

    You find some performance tips in the tutorial section

    here some points

    • Place objects using the same blend modes or effects on the same layer
    • make sure all those objects are placed on their own layer
    • Dont Changing Text objects every tick (specially large text objects)
    • Avoid large areas of overlap between objects
    • Avoid objects with large areas of transparency

    and of course it depends on the computer - but if you play other games that run smooth, then it's your project.

  • persist layout?

    There is an example if you make a new project and search for persist