Hi, its possible to add isometrics projectiles? to hit on wall on his height Z position ?
this is driving me crazy
i use always monaca to make android apk
i upload few days ago in my Play store my game
today i export apk next version of game and i have this message
after upload
https://www.dropbox.com/s/rrw02j4bj60bp ... 5.png?dl=0
where i can fix this?
Hi maxwell88 that is not so simple. you are going from a sync to async task. More thought needs to be put into it, you can't just go from one to the other. You need to add some more exception handlers, wait timers, possibly hide it in the background, and change your call outs. I highly recommend looking into how localstorage works in order to get a better handle on things. In summary, you can't just switch. There is more too it than that.
Hi maxwell88 that is not so simple. you are going from a sync to async task. More thought needs to be put into it, you can't just go from one to the other. You need to add some more exception handlers, wait timers, possibly hide it in the background, and change your call outs. I highly recommend looking into how localstorage works in order to get a better handle on things.
In summary, you can't just switch. There is more too it than that.
thats why i need help :/
Maybe you will help?
Use reset layout action, it should reset everything back.
when i play in level 1 layout and i need back to menu screen layout with reseted everything, how do that? ?
'something isn't right' hmm not sure what you're expecting anyone to do with that information share a capx?
sorry, i mean sprites or timeline is not reseted to default
i try add option to reset game without preloading
after click on spite 'restart' game and run from begining
i set reset global variables
but always something isnt right
bump
I had only this code for webstorage
Someone wise can change this events to local storage?
https://www.dropbox.com/s/gw6v64x93104m ... .capx?dl=0
thanks
i make something like that
https://www.dropbox.com/s/gt2igmmhx1465 ... 2.png?dl=0
On item exist is only trigger when you check for certain key, you need to add on start of layout -> local storage -> check item -> safe exist. See the screenshot I send you, on it first I check if my 3 keys exist, and if they do I load the saved values from them, if you don't check for key the item exist will not trigger.
On item exist is only trigger when you check for certain key, you need to add on start of layout -> local storage -> check item -> safe exist.
See the screenshot I send you, on it first I check if my 3 keys exist, and if they do I load the saved values from them, if you don't check for key the item exist will not trigger.
https://www.dropbox.com/s/my773lmz733ez ... 3.png?dl=0
can you take look at this?
On my side dont work,
Add the storage plugin to your game( its already in c2 you don't have to download anything). Then when the players presses the button to save the game add 2 extra actions, one toggle the Boolean from false to true, or if its an number toggle it from 0 to 1, then as another action select the local storage -> set item, add a key and the variable you wish to save. When all of this is done, on layout load check storage item for item(key) exits if the key exits then move the load button where ever you want it. Here how I did it on my game Confusion which you can find on the arcade https://s18.postimg.org/leeze1cft/Screenshot_8.jpg
Add the storage plugin to your game( its already in c2 you don't have to download anything).
Then when the players presses the button to save the game add 2 extra actions, one toggle the Boolean from false to true, or if its an number toggle it from 0 to 1, then as another action select the local storage -> set item, add a key and the variable you wish to save.
When all of this is done, on layout load check storage item for item(key) exits if the key exits then move the load button where ever you want it.
Here how I did it on my game Confusion which you can find on the arcade
https://s18.postimg.org/leeze1cft/Screenshot_8.jpg
Develop games in your browser. Powerful, performant & highly capable.
maybe use camera, but prabably user media is always on top even if you set to bottom layer
i can set layer visible or invisible
but its possible to set layer smoothly fade from opacity 0 to 100?
You can keep a Boolean variable to see if there is a load state or not, but then again the value of the Boolean has to be kept in local storage because how else you will know if there is a load state or not( if you close the game Boolean resets to default value).
any tips how do this in event sheet?
Set canLoad=true when save game exists and use an event that tests canLoad and when true set button to visible.
How make this condition?
because in system conditions list i dont see this ?
If you are using local storage to keep the saves, on start on layout you can add a sub event that checks if a key exist in storage, if it does not reposition the load button somewhere out of the canvas like -200,-200.
im using Scirra save and condition 'load save from slot 'mysave'' but not local storage