farhanx's Forum Posts

  • are you compiling with intel crosswalk ? Or with AGI exported code ??

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Recently i have tested many thing i have tried CocoonJS , Intel XDK using cordova , crosswalk etc etc

    My game requirement were to make the game in html5 including the signup forms etc. To do that i have made my whole APP using APP Framework through intel XDK ...this works great on IOS IPAD , Android and window 8 phones... Now the critical part is came i need to merge my construct2 game canvas in my application which is build in intelXDK....

    At first i have exported my whole construct2 game in crosswalk and then i have merged the js and required html scripts in my intel APP which is made with XDK ... It works fine even on the real device of android ...

    But i am not sure how can i merge my c2 game exported for ios with intel app framework?? Because the exporter i have is cocoonjs which runs my game perfectly fine but exporting to the cocoonjs C2 gave me an index file with just js

    <html>
    	<body>
    		<script src="c2runtime.js">
    		</script>
    	</body>
    </html>
    [/code:3eo5qz5h]
    
    i feel like i am just lost ? Please help ...my simple requirement were to use HTML5 of XDK for all the APP screen and construct2 CANVAS for the game to run...
  • i am trying to simulate if an object XYZ is touched and object B is visible then this object should become invisible otherwise if object XYZ is touched and object B is invisible then object B become visible.... But i am unable to simulate this condition and it handle only one condition ...for e.g. after the object become visible then i am unable to make it invisible using same touch technique....scripts are in my attached image

    [attachment=0:2hvan7rj][/attachment:2hvan7rj]

  • using sine behaviour make the object animate in infinite loop , i want to limit this only one time. I tried the actions but i do not find any property that can help me to animate it only one time...please help

  • intel.xdk.device.setRotateOrientation("any"); use this in the device ready function of xdk ,

    https://forums.html5dev-software.intel. ... =28&t=6550 check this forum

  • Select the project property for the construct2 then go in orientation and select as "landscape" ...in full screen browser I have selected Scale Inner and my window size is 1152X648.

    For android:

    ------------------

    I have followed the crosswalk export which is given by scirra and then update it on the XDK intel project ... but suppose if you export the code into crosswalk and then you build the app using intel cloud service ...after that it will provide you two types of apps ARM and x86 just try the one that works for your android ... install the apk in your android.

    Using above way i am able to see my application starts only in landscape mode and works fine perfectly.... (Remember i am not using APP Browser here to test my app)

    But when i use the same code for ipad , i had to test it with APP Browser of Intel XDK....using that i see only potrait mode and it does not work with landscape...now i dont know how to test the real app by deploying it on my ipad maybe the issue is because of APP Browser which is not allowing to see the app in landscape mode...

    so my question is how you are viewing your APP??? by installing the apk on your android or by APP Browser of XDK?

  • Thanks for the reply, unfortunately I was unable to run my application in landscape. The application only works in landscape only when the user changes in your mobile system rotation, if this does not happen the app only works in portrait mode.

    Thanks for the reply farhanx, thank you.

    If anyone can help more, I'm grateful.

    Att

    Are you testing your app using APP Browser for android??? Because i just tested my application using CooconJS and using that it works fine in landscape mode through its CocoonJS Preview APP. But when i use crosswalk exported code and testing using intel APP Browser in IPad then i am unable to see lanscape mode....

  • some kind of same question i was about to add on this forum and glad you have asked similar one....I have also made my app in "ANY" orientation mode in thought it will automatically change its orientation based on user selected orientation either landscape or portrait ...but when i test it then it shows me only portrait then i selected explicitly the landscape mode but i still see potrait ...

  • Thanks guys for help........ i will look into it ..

  • There are three different layout i have made , each of them has back and forward buttons.

    Clicking on forward button must change the layout from layout1(fadeout) to layout2(fadein) and if on layout2(fadeout) then forward button must take it to layout3(fade in)... I want fade in and fade out effect between these layouts..

    Is there a good way to do that ? I have seen fade in behavior exist in objects but can i use this effect on the complete layout ?? What is the best possible way to achieve this??? Secondly the expression in event sheet does not allows me to change the property of any object''s assigned "fadeout" behavior ... suppose if i am displaying any object from fade

  • I am making my game in C2 but for the configuration part of the game i would like to write in html5 ... for this i am using Intel XDK to design my configuration screen in complete html5...now I would like to know what if i use cordova library and App framework library beside c2 libraries...would this approach make issue in performance ??? I have taken this subject on intel XDK forum where one of the intel support guy told me on the forum that it will not effect any performance as long as i am using crosswalk???? Kindly advice especially those who have tried this approach before and how was the speed and performance came????

  • I have exported my game for "android" through construct2, but now i would like to create some custom pages like "main screen" , "about us screen" etc as aboutus.html and option.html.

    Now my question is how can i connect these pages with my game's index.html file or vice versa making a new index.html page with about us text and then connect that page with my game index file by renaming it as "game.html".

    I am still learning construct2 and I am trying to see the limits of possibilities in c2..

  • I am building my game using Construct2 , but pre-game screens like options , inviting friends and other game setting options i was wondering if i should combine it with phoneGap without losing the application speed?.

    Contact list i cant access using construct2 and browser webview base facebook invitation is much easier to handle the friends list which suppose if i build in phonegap then it will be lot easier for me... So i would like to combine my game which i have made in construct2 with the phonegap application to support option and other game screens , but i am wondering if anyone has ever tried this technique and if yes then does this effect the speed of the application???

    I am thinking when user will click Play button i will call the construct2 html page without phonegap interference.... Please suggest what you think if still it will decrease the game speed ?? ?

    I have searched this topic on tutorial and forum but i am unable to find any appropriate answer ..I would really appreciate if you experts can help me.

  • you have to export your game in HTML5 to run it for facebook.

  • I am newbee in facebook and i have few questions regarding the game that i am building which has to retrieve client's friends once he enters his facebook id and password. The game will ask user to enter his password and id and then it will import all the contact list and save in the game server database. (This way next time when he require to invite any other gamer we will send the other person an invitation on his email) but here is the below scenarios that i am unable to solve yet and required experience suggestion.

    1) Saving his password for future friend retrieval is very bad idea , what would be the best technique to retrieve his all friends by not asking every time facebook password to synchronize his contact list on our server?

    2) The mobile game is not available on web , but still we want to connect with facebook to show scoring on the gamer's facebook wall. But Facebook require to create an APP and provide a hosting url link , i am wondering how is this possible with the mobile APP.. does it mean i must create a simple web page on hosting and then communicate with ajax ???