Zaoeyo's Recent Forum Activity

  • Ashley

    Thanks ! i will solve the problem ,really help!

    ThunderZ

    Thanks for taking your time! Main post has the Bitmaps .

  • ThunderZ

    About 5 maps , I uploaded the .capx file , download link in the main post .

    Ashley

    I do have many small tiles , but only about 5 kind of map image ,the WebGL is on.

    I have uploaded the .capx in main post .

    I tried to decrease the tile number , the fps up to about 25 - 35 ,maybe make a big map using PS,and import into C2,will get the right result,but it will increase the size of the game,and isn't convenient.

    Thanks for your answers !Still trying to figure out a best solution.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • did you set the Animation to "Loop"?

    Double-Click your sprite ------choose Animation in Animation panel-------in left panel will show a option called "Loop" ------ choose "Yes" .

  • Hi Constructors, I'm new to Construct 2 , and I made a game with some pixel tilemap as Land and Sky , When I tested the game on Chrome PC, it worked very well ,but I used CocoonJs on my android Nexus 7 , the FPS drop to 15-24 . Then I delete the tilemap , it worked fine on android again (FPS 50-60) . So the problem has something to do with the tilemap or its settings.My tilemap images are very small , about 1KB,made with PyxelEdit

    This is my Project settings :

    Pixel Rounding : On

    Window Size : 720p

    Fullscreen in browser : Letterbox integer scale

    Use High-DPI display : Yes

    Sampling : Point

    Clear Background ; No

    Capx Download: dropbox.com/s/nsj0bc26hke7t4v/Sugar.capx

    BitMaps: dropbox.com/s/vc8v87ifci0hehi/SugarPicture.rar

    It was solved , thanks !

    Solutions:

    Ashley

    that's a very inefficient use of tilemaps. Since you're just using it to repeat a single image, it would be far, far more efficient to use the Tiled Background object.

    If you run it in the debugger you can see it reports 441 draw rects for that tilemap, mainly because every tile is different and there are no areas of the same tile. This means it's about the same work as drawing 441 sprites. If you used a single tiled background object, it would take 1 draw call, which would be approximately 400 times more efficient.

    ThunderZ

    How amazing bad use of tilemap and C2.

    As Ashley say use tiled background.

    Exemple :

    1 pixel color gradiant for your blue background (non alpha) + 1 tiled sprite for 'clouds' with alpha. (the size you want placed at top of the gradiant sprite).

  • Hi Constructors , I got a problem about Variable .

    I want to compare like ScrollXLeft and a number ,or ScrollXLeft and ScrollYLeft

    If ScrollXLeft = 0 then ......

    Or

    If ScrollXLeft > ScrollYLeft then.....

    Thanks !

    ------------------------------------------

    I found the solution :

    add variable : Panleft = 0

    Set value ; Panleft = (any system variable)

    then using system----Compare value

Zaoeyo's avatar

Zaoeyo

Member since 29 Nov, 2013

None one is following Zaoeyo yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies