Well check the performance in the debug mode, see what events take the most, how much collisions per second you have, are the images you use to big or to large?
Develop games in your browser. Powerful, performant & highly capable.
You cant add buttons using HTML, but you can use the button plugin to place the button on the screen, and you can keep all the date you need for it in instance variable, you can also style the button using css.
maybe use the sine behavior to move the hero in an arc?
Don't use special effects to change the color, that's the worst thing you can do performance wise. Upload the tilemap 6 times each with different color.
you don't fetch and update date with php, use Json with ajax call, or MySQL date base.
You can use a loop, or the repeat system expression, and every repeat change the x,y position of the sprite.
You can check in the debug more to see what events take the most CPU usage. If it gets over +90% its an processing issue rather then graphical rendering, you probably have to many collision checks per second, to many bullets flying on the screen, or to many enemies calculating path to the player etc etc.
Its seams you are new to construct 2, so you can start by reading the manual, and checking some tutorials for top down games
https://www.scirra.com/manual/1/construct-2
https://www.scirra.com/tutorials/37/beg ... onstruct-2
There is a problem on certain devices if the size of the image is larger then 2000x1000 pixel's, try reducing the size and test again.
You posted the topic on the wrong sub forum, this side of the forum is for construct 2 only.
For construct 3 post your topic here
Use a random function on start to generate the Y,X axis and save the values in a variable, after is generated call a function to spawn those sprites, for the y axis just put the y value, and for the x one increment it by 10 after each spawn.
Maybe change the sprite? What kind of images are you using in a first place, that can be loaded in another browsers, what is the size of the image?
Member since 18 May, 2017