ramones's Forum Posts

  • The bullet's angle of motion is based on it's x and y velocity. If a bullet isn't moving then what is it's angle of motion? Think about it.

    And you have the bullet property 'set angle' = 'yes' - "Set the objects angle to the angle of motion".

    So when the bullet isn't moving, it's angle of motion = 0 and it's angle gets set to 0.

  • Your key is in a text file 'c2license.txt' and you put that file in your C2 folder or in my documents.

  • Alt-F4 works for me when it won't close like that. Don't need to go into task manager.

  • You'd need to set the bullet speed before setting the angle of motion. If the speed = 0 then the angle of motion = 0.

  • You don't need the extra quotation marks if you're storing it in a variable or in a file.

  • You do not have permission to view this post

  • Here try this:swipeDrawLine.capx

  • https://dl.dropbox.com/u/8367729/construct/example/bugreport/spriteSpawnArray_r118.capx

    Sprite spawning an Array tries to set the Array's angle.

  • You're setting NewTileUID inside a trigger event and triggers don't run inline with other events. I found by experimenting that the triggers run before the normal events.

    When you click the mouse, the 'on clicked' trigger runs setting NewTileUID, then the normal events run setting it back to -1 before checking to see if it's not equal to -1. It would work if you swapped the order of events 1124 and 1128.

  • Are you using r118? There was a bug fix related to 'on collision' and container picking.

  • It's working fine Gamezilla. The thing is that deleting the index removes it from the array.

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/deleteIndex.png" border="0" />

    First time you hit 'Q' it deletes index 3 (99 44) and the array looks like this:

    0: 150 300

    1: 450 300

    2: 750 300

    3: 40 420

    As the 'After Delete' column shows, index 3 is now (40 420)

    Hit 'Q' again it deletes index 0 (150 300), index 0 is now (450 300) and array =

    0: 450 300

    1: 750 300

    2: 40 420

    Next deletes index 1 (750 300), array =

    0: 450 300

    1: 40 420

    Next deletes index 1 (40 420), there's no index 1 now so it shows (0 0), array =

    0: 450 300

    Next deletes index 0, array size = 0 now, index 0 = (0 0)

  • This works:

    http://www.mattepainting.be/test/index.html

    There's a difference between http://mattepainting.be and http://www.mattepainting.be. You can't make AJAX requests from mattepainting.be to the www subdomain. You should make your requests relative like

    AJAX request "index.txt"

    or "../index.txt"

  • Use the Viewport top/bottom/left/right values instead. WindowWidth/WindowHeight don't work well with scaling.

    x = (ViewportRight("layer") - ViewportLeft("layer")) / 2

    y = (ViewportBottom("layer") - ViewportTop("layer")) / 2

  • Create object at X:

    choose(random(-400, 0), random(800, 1200))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Congrats. You need a free demo or a video though. I've no idea what the gameplay is like just looking at the screenshots/description.