mimiha
Make sure .NET is up to date - 4.5.
The Sine extremes actually seem to occur at 0.25 and 0.75, so switch to two conditions:
CyclePosition>0.25 & Trigger once -> sound
Else CyclePosition>0.75 & Trigger once -> sound
http://www.blackhornettechnologies.com/Construct2Stuff/mekonbekon_SineExtremes.capx
LocalStorage has nothing to do with preloader. Just make sure you can not move to the next layout until Exists comes back with yes or no. After that, you are good to go.
Loading from the browser is not a valid test for a phone. The phone may take longer. Give my suggestion a try.
Ok, that's good. However, it is inconsistent now with setting the text in an action. If I have "One\nTwo\tThree" in the properties, I get newlines and tabs working. If I set this via "Set text", I get: One\nTwo\tThree
Should I log this as a bug?
Again, are your events organized to only read them after you know for sure they have been loaded?
It's certainly easier to see if they loaded or not; just add a text object and populate with the JSON data to confirm the load on the mobile unit. Once you've confirmed that, if things don't "work", you know the issue is something else.
It's recommended that you use a dictionary to store many items, so you only need one Set and one Get to get all of your data. Note: the Get is not necessary. If the item exists, you can get it immediately in "On exists". You should also check for "On missing" to set your defaults, or at least to know that the exists-check is done and you can now use the values. Are you holding off using those values further in the code until you know Exists has finished? It can take longer on a slower device.
Ashley
bump
Develop games in your browser. Powerful, performant & highly capable.
Did you upload both arm & x86 apk files?
Edit: x86 gives you 100s, arm gives you 1000s.
http://www.blackhornettechnologies.com/Construct2Stuff/brmarko3_array.capx
You are pushing on the front, so just address X at 0.
You can't have 0 height or depth. Start with 0,2,1
The power-of-two sizes are an optimization. You can read about this here:
https://www.scirra.com/manual/166/sprite-font
https://www.scirra.com/blog/ashley/30/y ... -sizes-now
You can always crop the image manually, if you want. You'll need to test if this causes any issues.
The C3 spritefont's default character set has two backslashes. This is different from C2, and I can't find a good reason for it. Using a single backslash seems to work fine (on Windows & Mac) for both the character set and the Text value. Two backslashes do seem to escape to a single one, but if the single one works anyway, this is really confusing. Unless there is some different issue on Linux (which I can't test), I don't see the need for it.
Click on the Store menu at the top of the site.