Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Jerczu

Quick questions -

Forgive my ignorance but I just recently got a mac and started working with iOS impact and Xcode.

Is there any way I can play cinematic intro?
How do I implement iAds (or ads of any format)?
Any way to implement swipes?

1 decade ago by Datamosh

Edit: Sorry! IOS Impact! No html layer there! (Forget my answer)

You can use HTML for the intro!
<video src="Mymovie.mp4" controls> </video>

With PhoneGap you can use iAds!
Example: http://www.zeletron.com.br/2010/07/adding-iad-in-phonegap-apps.html
Never tried but should work, maybe someone on the forum provides a more accurate response

Swipe:
Topic: http://impactjs.com/forums/help/support-for-swipe-on-ios
Examples: http://www.html5rocks.com/en/mobile/touch.html

1 decade ago by Jerczu

Yeah I don't think this will work... But thanks anyway... Any way of integrating game centre?

1 decade ago by Arantor

Not directly, as this was covered last time (when I asked, heh) you'll have to bind it in Objective C and create an interface in Obj-C to expose it to JS as a 'native' facility.

1 decade ago by Jerczu

Quote from Arantor
Not directly, as this was covered last time (when I asked, heh) you'll have to bind it in Objective C and create an interface in Obj-C to expose it to JS as a 'native' facility.


Heh any chance you have that solution ready? As I said I'm basically at the very very early stage of getting familiar with ObjC.

1 decade ago by Arantor

Nope, sorry :( I haven't done much other than ask about it and glance over it, but glancing over the iOSImpact files, there is more than one example of a native iOS construct being made available to JavaScript through the native operator - localStorage comes to mind.

1 decade ago by paulh

I havent looked myself, but would this be relatively easy with appmobi?

1 decade ago by Arantor

Probably. Give it a try.

1 decade ago by Jerczu

Well I used appMobi and iOSimpact while you can do much more with appMobi and it's a great solution I prefer "immediateness" of iosimpact and how easy it is to actually make stuff work what takes ages of figuring out in appMobi.

1 decade ago by paulh

@Arantor .. does the swipe motion interact with entities nicely?

1 decade ago by Arantor

I have no idea, ask the AppMobi people, for various reasons I won't use it.

1 decade ago by paulh

fair enough ... just struggling with my code knowledge atm :-(

Swipe is looking scary, lol

1 decade ago by Jerczu

Quote from paulh
@Arantor .. does the swipe motion interact with entities nicely?


Nope as far as I am aware you wont be able to do that.
Page 1 of 1
« first « previous next › last »