— If you will put a tree in every layout, This will be 100 original tree and the image memory will increase. If you have 10 trees in one layout, This will consider one tree in the image memory. I don't think it will be a good idea to have 100 layout.
—
If you will put a tree in every layout, This will be 100 original tree and the image memory will increase.
If you have 10 trees in one layout, This will consider one tree in the image memory.
I don't think it will be a good idea to have 100 layout.
Well I'm not sure why, but when I duplicated a Layout 35 times, my image memory did not increase.
Thanks for the info everyone. This has saved me precious time and a headache.
Just use an array and save the data locally using Webstorage.
I used just Webstorage at first, but I was unable to add multiple webstorages values to get a grand total. So I loaded the webstorage values into a global variable to be able to add multiple levels scores together.
Are you going to make 100 layouts?
Yes, each one being 1280, 720 in size. You can see the entire level on sceen.
Develop games in your browser. Powerful, performant & highly capable.
This type of data doesn't belong into global variables. It should saved to a file, and managed as arrays at runtime! You just need to use the AJAX object and to create a text file into the file folder of your construct project. Good luck going forward! Nathan
This type of data doesn't belong into global variables. It should saved to a file, and managed as arrays at runtime! You just need to use the AJAX object and to create a text file into the file folder of your construct project.
Good luck going forward!
Nathan
Thanks for the info...I will look into AJAX
I am making a 2d platform puzzler. I plan on having over 100 levels. For each level, I need to save the players Best Time, High Score, Deaths, Restarts, etc...
My question is, how many Global Variables can it handle before slowing down the game?
SEGamestudio, the timer seems to be working fine on the PC. Are you playing from a phone? If so which one?
Samsung galaxy note 2. I like the concept.
Bug: restarting or re-entering level does not reset timer. Controls can be backwards if phone is flipped upside down.
Webgl works in C2 preview on sgalaxy note2. Not when exported.
i was getting 60 fps with the xdk version 505 and the stable crosswalk build. After updating to 714 today, my framerate and performance took a major hit. Every build they come out with, makes my game run even worse...