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 Montana

Hi

If im building a game with an eye to bringing it to IOS & android will impactios handle cs3 and html5 functionality, so i can overly divs, use mouseclik , styls semi-transparent curved corners and use jquery?

Thx

1 decade ago by fugufish

@Montana - no android port yet, but the iOS one works great. Yeah you can use jquery ( it's like a web browser packaged into an app form, so many things will work the same ). Keep it mind to test a lot, because directly translating a web game to mobile without the correct gameplay feel will probably end up being a disaster

1 decade ago by Montana

Many thanks for the reply :-) Im writing form scratch just wanted to check before i started a div based menu into the game structure.

1 decade ago by dominic

Woah, I think there is a misunderstanding here: if you use iOSImpact, you can't use HTML/CSS. iOSImpact just implements the Canvas API to draw stuff. There's no browser running - so no DOM.

If you run your game in Mobile Safari or through PhoneGap, you can use HTML/CSS.

1 decade ago by TylerAppmobi

@Montana You could also use appMobi :D

You'd be able to style with HTML/CSS and would have access to Direct Canvas which accelerates performance. You can read more about Direct Canvas here: http://www.appmobi.com/?q=node/167

1 decade ago by fugufish

sorry for the mix-up, all DOM related stuff can work when you have a webview container, so appMobi is a good choice.

If you want to go the iOSImpact route, then make in-game menu buttons, as shown this link http://impactjs.com/forums/code/button
Page 1 of 1
« first « previous next › last »