Asmodean's Forum Posts

  • Ahh, sorry zenox98 I read it wrong. I read every second, not every 60th of a second. That is even higher what I observed.

  • zenox98 did you miss a zero in the amount of collision checks per second?

    emoaeden

    1. the scoring took a huge amount of cpu-time. Try to disable the scoring group and you will see it.

    2. I have up to 6000 collision checks per tick, that would be up to 360.000 collisions checks every second with 60 FPS. There has to be a problem with your collision checks.

  • Don't use the inspect tab to measure your cpu usage. Use the profile tab or use cpuutilisation as expression in a textfield. The inspect-tab has a high cpu usage if there are many objects by itself.

  • Maybe the answer is to easy:

    x= 6,879

    round(x*100)/100

  • You could try with setting a range of tiles. If you pick the upper left corner of your object with x=Sprite.X-Sprite.Width/2, y= Sprite.Y-Sprite.Height/2 (Origin had to be set in the middle of the sprite) and the multiple of the tiles to the sprite: width = sprite.width/tileWidth height = sprite.height/tileHight:

    Sprite| Is overlapping Tilemap -> Tilemap|Set tiles at (Tilemap.PositionToTileX(Sprite.X-Sprite.Width/2)),Tilemap.PositionToTileY(Sprite.Y-Sprite.Height/2)) with area ceil (Sprite.width/32) x ceil(Sprite.Height/32) to tile 1

    The tile width and height is in this example 32.

  • Try:

    Sprite| Is overlapping Tilemap -> Tilemap|Set tile (Tilemap.PositionToTileX(Sprite.X),Tilemap.PositionToTileY(Sprite.Y) to tile 1

    sprite is your collisionbox, tile 1 is the number of the tile you want in exchange.

  • Rename the soundfiles and replace the # with another character. It seems that there is a problem with # characters in filenames.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • try ...->AJAX|Override MIME type with "text/plain; charset=utf-8" before you call an AJAX Request.

  • I made an example, but I'm not quite happy with it.

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

    I saved the settings of two different ListViews as a JSON. First with Item1,2,3 second with Item4,5,6. The problem is, you save not only the items in it, you save the whole settings of the ListView. So you have set the position of the ListView after loading the JSON or you have to put the ListViews from where you save your datas, on the position where they should be, like I have.

    Maybe there is a better solution with arrays and a loop.

  • I like it very much. The difficulty is a little unbalanced, it's hard direct from the beginning and the controls on mobil is horrible.

    Even on my Acer Tablet I have 30-35 FPS and now slow downs as far as i get, but fullscreen doesent work, overall it looks great.

  • Try:

    object1 on collision object2 ----------- destroy object1

    --------- globalvariable1="a"|globalvariable1="b"|globalvariable1="c"=1 ------- subtract 3 from globalvariable2

  • 12 is Better Than 6?

    Subscribe to Construct videos now
  • Something like that?

  • You don't have assigned any event-sheet to MainMenu or LevelEditor and the only event-sheet you have in this project is nearly empty. If I assign this event-sheet to LevelEditor the only event for LevelEditor in it, does what it should do in the LevelEditor.

  • Try this: