Tag Info

New answers tagged

0

You'll want to set up a collision map. IE take your background picture and make a copy of it. Color everything that is passable with one color (IE: black) and everything that is impassible with another color (IE: white). Then when doing collision detection, check your characters future position against your collision map, if your characters box contains any ...


0

Yes, this can be done using node-webkit. One example of this in the real world is a game called Lava Blade which is available on both Windows and Mac.


0

I have created a simple Phaser Project Template on github https://github.com/gamecook/phaser-project-template that walks you through how to use Phaser with NodeJS, TypeScript and Grunt for automatically compiling a build of the project to deploy to a server.


0

I usually have an array of solid tiles and a function to check collisions against them. function inArray(needle, haystack) { for (var key in haystack) { if (haystack[key] == needle) { return true; } } return false; } var solidTiles = [3, 6, 14]; function (isSolidTile(x, y) { //x and y are pixel coordinates, not tile ...


0

I have tried the "Impact Engine" (http://impactjs.com/) worked OK on PC (FF), tablet (Android) and telephone (Android). Added NodeJS and made a multiplayer game with it and I was very satisfied with the engine, very clean code, very easy to tinker with the core. You can use it (my multiplayer game) to check out the compatibilities on other platforms if you ...


0

There are multiple options available to you. PlayN — Some parts of original Angry Birds was developed with it. LibGDX PhoneGap — This, though, is not an engine, but a framework that could be used to create a game-engine. Cocos2D-X — But this is limited to 2D* only. There are a few I know and have heard of, and support HTML5, Android, OS, Desktop**. * ...


1

Here is another tutorial you can look at: http://www.nodebeginner.org/


2

There are two possible ways to do this. The "fast" hack is to call your game's html page from an iframe. This is not recommended because of the iframe implications and cross-browser differences regarding attributes and, more important, you will not be able to capture input from keyboard. The best way is to create the div and give it the id 'enchant-stage'. ...


3

You could definitely get any game to work using any framework, engine, or language. The question isn't "Can you?", the question is "Should you?" HTML5 would require quite a lot of solutions to problems that other languages would not have. Until HTML5 gets more powerful, I'd say "No, it is not" to your question. However, don't be surprised that it will be ...


0

Well as previous answer says, PhoneGap is a solution. Even if he doesn't have mac. PhoneGap hhas own build system


8

Yes. There are many ways to wrap an HTML5 game for distribution on iOS. Solutions include CocoonJS, Game Closure, PhoneGap, and Ejecta. Examples of HTML5 games on iOS include Onslaught! on iPad and Biolab Disaster on iPhone.


3

You can do this: http://blog.forecast.io/its-not-a-web-app-its-an-app-you-install-from-the-web/ Deploy your web app and provide an easy way for the user to make it a web clip.


0

If you want to port your game to even more platforms Nokia has a web tool application for porting to Symbian S60 devices... Web Tools for S60 They also have a newer one, which probably supports more HTML5 but I have yet to try it out... Web Tools 2.3 for Series40 The SDK in the first one is fairly good as it also comes with a simulator so you can get an ...


1

Have you checked out CocoonJS? It's by far one of the best ways to get hardware accelerated HTML5 games on iOS and Android plus they have a cloud compiler where you can upload a single zip and it will build out for multiple platforms.



Top 50 recent answers are included