I have a layout that is a splash screen that is set as the First Layout in the properties. It's supposed to show for 2 seconds and then switch to the second layout. It works fine in the browser preview but it will not work when I use cocoonjs to make an APK and load it into the phone. It shows the first layout and then just a white screen. Anyone have a solution or explanation for this?
Found the solution:
Rename your CAPX to zip. Unzip and edit the "*.caproj" file. in the line 11 : "<saved-with-version>16900</saved-with-version>" , change 16900 to 16800 for r168 for exemple. Save and re zip.
Rename your CAPX to zip.
Unzip and edit the "*.caproj" file.
in the line 11 : "<saved-with-version>16900</saved-with-version>" , change 16900 to 16800 for r168 for exemple.
Save and re zip.
Whenever I open my files that I saved in 169 i get the following error:
Could not open project because it is from a newer version of Contruct 2. The project was saved in release 169 or newer. Your current release is 168. Try downloading the latest version of Construct 2 to open this project[/code:2ggh2xlx] Is there a way to open the file in 168 or am I out of luck?
rexrainbow
Whenever I try your instbank2 basic.capx, I get this error when I press the spacebar:
I appreciate you responding to my questions. You are a big help
A0Nasser
Another Question:
If I have an image that is 256x256 and I size it in properties to 128x128, when it loads in the game will it take the memory of a 256x256 or 128x128 image?
Develop games in your browser. Powerful, performant & highly capable.
I am looking for ways to make my game faster and was wonder this question.
Do 10 separate sprites use the same amount of memory as 1 sprite with 10 frames?
Is the hotfix included in the latest download form the github repo, or do you still need to install it after installing the official download?
Open the index file in notepad. Look for this line in the code:
<script> // Issue a warning if trying to preview an exported project on disk. (function(){ // Check for running exported on file protocol if (window.location.protocol.substr(0, 4) === "file") { alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)"); } })(); </script>[/code:e7eqmyc3] Delete that and that error message will go away. Now I am not sure if bugs will pop up in the future but it will definitely make the error message go away.
I see 2 plugins that might help you in the Completed Plugins section of the forum:
[Plugin] System date and time
[PLUGIN] Date to string
If you need help installing the plugins refer to this:
Hope this helps you.
I think you would have to gather the difference in time between plays. Something like save the current time/date and the next time the user open the app compare the current time to it. Then convert it to seconds and do the calculations on how much their score should have improved in that amount of time. This of course lets the user cheat if they change the time on their device.
I want to create a button that gives a random prize when clicked. Some items should be super common to get (like 20% of the time that is what you get. And some items should be super rare (like only 0.1% chance to get the item).
Member since 12 Mar, 2014