Construct 2 converting to HTML - construct-2

I need your help.I recently discovered contruct 2 and I´m not the best at using it.So my problem is, I exported my game to HTML5 and when I open it it says that for security reason it won´t open only if I upload it, the game as some bugs that I can only be sure it´s something wrong if doing it on a website otherwise the game puts all my layouts one over the other and that´s the only way that I can be sure that nothign is wrong with it.
Thanks for reading!!! :D

To test your game just run it with "play" button (you have to open the first layout and then press "play"). You need a web server to test the exported game

Your game works if you upload your game to internet server and it get URL address to it (for example: http://example.com/index.html). When you go to game URL in your browser you can play your game (I hope so).
If you have Github create new project, upload game (html) file (and it's assets) and then get URL address for that project. Please ensure game file is main site.
I'm tried this myself. And I hope this will help you.

Related

How i show React tables/API?

Hi Guys i was trying to do and API From this video link https://www.youtube.com/watch?v=gpfP60KjmZU&t=2s , but it doesnt work for me i did exactly the same thing as this guy but in a new version i changed some things of course because the Switch is different in this version but when i run my API the tables dont show like in 47:25 in the video is just the blank page with the menus but is not appearing any tables if anyone can help me im new to react and im trying to make this register table work if anyone can help me i appreciatethis is what my page looks like this is how i need to look like,if anyone wants the print of the code im gonna put the tabs and ask me which one you want a and i send ask me the tab i click and i send the print i answer quickly

Show React Native app in "Open in" dialogue of another app

I'm new at creating React Native apps and I would like to know if there is a doc or a package that allow us to open my app from an external one by clicking on the "share" button, that open the "open in... / share" dialogue modal
Thanks by advance
EDIT :
I have read the instructions given in the following link : React Native Share Extension
but the thing is that it asks to edit some Java files for Android, and other ones for iOS. Since I'm working with javascript files, where am I supposed to find the files the documentation tells me to edit ?
There is nothing built-it to do this, but there's also some useful packages for doing that, the catch is that you will need to write some native code to make it work
first there is React-native-share-extension forn handle share intents, and for more advanced stuff there is react-native-deep-link for handling for example an url of a video, or a download url, or a mail intent .
Both packages requires to edit native ;-;

How to create tutorial when the first time open an app?

Some apps got tutorial when the first time open.It seems cool.
I'm trying to create an opening tutorial that consists of four panes for my AngularJs app.
I build my app with css3 and html5 ,use cordova to generate apk.
How to create tutorial for my app when the first time open it?
Is there any solution?
Thanks a lot!
Sorry maybe I didn't make myself clear.The app is almost done,and splash screen has done.
But I need few pages or images on the first time run.
Use database. For example if you use localStorage, inside the deviceready function
check=localStorage.getItem('first_time');
if(check.length<0)
{
startTutorial();
localStorage.setItem('first_time','NO it is old');
}
After the first run value will be changed and tutorial will be shown once.
You can use other databases like indexedDB or webSQL.

Whats the best file location to download content to?

I am building a WPF application and while im not a newbie, I am not an expert either. My WPF application streams images from a website when connected to the internet. If a user selects the image, I would like to save it to the hard drive. The user would then reuse the image later on when loading the application if it isn't connected to the internet. I will be querying a folder to see if its there in a saved location as well.
I question where the best location is to save it? I think it might be document settings and then application data, but Im not too sure.
Thank you in advance.
For behind the scenes data i usually use the local app data, you can get the directory like this (in case you did not know):
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
I create some root folder there for the application to store the data in, cleanup can then just be done by getting rid of the whole folder.

Create link that adds vCard direct to Address book

I'm in the process of building a mobile site (for Iphones and Androids... I think Blackberry is out of it)
Here the problem I'm with. We want to have a link that, when clicked, automatically adds the contact in the .vcf file to the address book of the mobile device (with some confirmation of some sort that the iPhone/Android must already be handling by itself)
The solution I've tried would be to create a link, directly pointing to the .vcf file. It didn't work. My iTouch was even asking what to open that file with... and the Contact app was not even in the list.
I've heard that a Card of that sort would do exactly what we want if it would come from an email... thing is, we are building up a webpage here.
We use HTML5, no PhP (not yet, could be added later for this problem) and there is no CMS involved.
[UPDATED - Sep 2013 - iOS7 now supports direct download of VCARDs from we page and import into native contact application]
Complete solution using VCALENDAR file with emebedded VCARD file is published here
iPhone: how to get safari to recognize a vcard?
which includes link to my blog with full source code on the subject at
http://mobicontact.info/iphone/download-contact-from-web-page/
I hope this is of some help...
Firstly, iPhone doesn't support vCard. There is no way to download a contact file from the web. What you could do is create a simple page which contains links to the phone number, like this:
Call Dave
Secondly, to get an Android (or other device) to recognise the vCard, you need to set the header to the correct MIME type
Content-Type: text/vcard
You should be able to configure your server to send all files of .vcf as text/vcard.

Resources