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

9 years ago by svoop

This looks very promising, great job! I don't mind the price tag, however, the game devels might want to get a few cents from the players, too. Putting a game on a webserver for free playing is trivial, but do you have strategies in mind to package games for the various app stores?

9 years ago by dominic

Well, as mentioned in the other thread, Titanium or PhoneGap seem to be reasonable solutions for that.

9 years ago by abritinthebay

Adobe AIR is one method too... though not quite as DRM friendly.

9 years ago by MobileMark

I'm trying to integrate impact into appMobi right now. They are a Titanium competitor I believe. Their GUI is a lot easier to understand and it's free to make Android apps.

9 years ago by MobileMark

Just a quick update to anyone interested, the appMobi integration worked perfectly. As long as you code impact to pre-render the background, it's like butter. Already have a working alpha of my game on an Android device.

9 years ago by ceej

MobileMark: Would you be able to give us a working example? Or just the code to render pre-render the background?

Many thanks,

CJ

9 years ago by MobileMark

I found the code and many helpful mobile tips on this page: http://impactjs.com/documentation/impact-on-mobile-platforms

my code looks like this:
init: function() {
	// Bind with touch instead of keys

	ig.input.bindTouch( '#buttonLeft', 'left' );
	ig.input.bindTouch( '#buttonRight', 'right' );
	ig.input.bindTouch( '#buttonJump', 'jump' );
	ig.input.bindTouch( '#buttonShoot', 'shoot' );
		
	this.loadLevel( LevelTest );
	if( ig.ua.mobile ) {
		for( var i = 0; i < this.backgroundMaps.length; i++ ) {
			this.backgroundMaps[i].preRender = true;
		}
	}		
},

this code is inserted in the main js document in the game folder. Hope that helps.
Page 1 of 1
« first « previous next › last »