Firstly Construct 2 video plugin is useful for small videos, you can try to preload video, instead of autoplay to improve some lag.
but if you want to show video like your example page, consider uploading it to youtube and embed into construct 2.
Include browser object
on button click > browser object > execute Javascript > then put the below code:
"window.open('market://details?id=com.mycompany.gamename','_system');"
Including the quotes
Replace com.mycompany.gamename with your game ID
To make it perfectly smooth... you can do couple of things here,
Instead of my quick methods of simply jumping to positions, you can use car behaviour, or try giving every tick for moving and give some animation frames while its switching positions
Here....
drive.google.com/file/d/0Bzn2vfEvU3rYajBZOWFTWnpmblE/view?usp=sharing
The 2 else statements are clashing together,
Here, I made an example for you
drive.google.com/file/d/0Bzn2vfEvU3rYeDdCazNpc3BTTGM/view?usp=sharing
Something like this ? I quickly commented what I did in the file, you can further refine it according to your preference.
drive.google.com/file/d/0Bzn2vfEvU3rYSW8ya0lzZC1jRDQ/view?usp=sharing
Did you give permission to use storage in your build ?
Provide the capx file. Would be easy to solve all your queries
Develop games in your browser. Powerful, performant & highly capable.
You can use RexRainbow's Swing plugin: scirra.com/forum/behavior-swing_topic46029. html
(I cant post links yet, remove the spaces)
You can do something like.... when system chooses the cost, save the cost and time/date on local storage,
and then compare the current time/date with the previously saved one.
If its less than 24hrs, display the saved cost, and if its more than 24hrs. choose new cost and then overwrite the local storage with the new data.
You can utilize RexRainbow's time plugin for it: c2rexplugins.weebly.com/rex_time_awayl.html
bump... anyone ?
Well, exporting apk with cordova does take some extra MBs, but it wont be too big....
Also you'll get the latest cordova CLI version, with with latest OS compatibility.
Member since 11 Feb, 2016