haden Posted June 10, 2013 Share Posted June 10, 2013 Hi there, I am using Haxe NME to make my first Html5 game and I wanted to know if there are other developers who are using Haxe to make there games. Specifically, are there any problems/limitations I should be looking to when using Haxe ? Quote Link to comment Share on other sites More sharing options...
Ezelia Posted June 10, 2013 Share Posted June 10, 2013 haxe is excellent to target flash / windows / android and iOS but it's very bad when it comes to HTML5if your game use lot of Sprites you'll get horrible performance , this is due to the fact that haxe create a canvas object for each Sprite, so you end up with too many canvasif you feel confortable with how haxe handles things use Pixi.js it's very close and use almost the same logic haden 1 Quote Link to comment Share on other sites More sharing options...
haden Posted June 10, 2013 Author Share Posted June 10, 2013 haxe is excellent to target flash / windows / android and iOS but it's very bad when it comes to HTML5if your game use lot of Sprites you'll get horrible performance , this is due to the fact that haxe create a canvas object for each Sprite, so you end up with too many canvasif you feel confortable with how haxe handles things use Pixi.js it's very close and use almost the same logicThanks Ezelia, I guess I will stick with Phaser then as I am used to Flixel. Quote Link to comment Share on other sites More sharing options...
Aduros Posted June 14, 2013 Share Posted June 14, 2013 Take a closer look at Haxe! I'm biased, but Flambe (https://github.com/aduros/flambe) delivers really great performance, compatibility, and tooling compared to NME's HTML5 target. haden 1 Quote Link to comment Share on other sites More sharing options...
haden Posted June 14, 2013 Author Share Posted June 14, 2013 Take a closer look at Haxe! I'm biased, but Flambe (https://github.com/aduros/flambe) delivers really great performance, compatibility, and tooling compared to NME's HTML5 target. Thanks Aduros, I will give Flambe a try and see how it goes. Quote Link to comment Share on other sites More sharing options...
nem0ff Posted June 14, 2013 Share Posted June 14, 2013 Aduros:Flambe looks great, but without Bitmap Flash renderer, with Stage3d only, you in fact lost big and well-established desktop Flash market Quote Link to comment Share on other sites More sharing options...
Ezelia Posted June 14, 2013 Share Posted June 14, 2013 Aduros:Flambe looks great, but without Bitmap Flash renderer, with Stage3d only, you in fact lost big and well-established desktop Flash market if HTML5 output have good performance you can use it for desktop Quote Link to comment Share on other sites More sharing options...
nem0ff Posted June 14, 2013 Share Posted June 14, 2013 if HTML5 output have good performance you can use it for desktop HTML5 desktop games will not give you the sponsors money. Stage3d flash games dont get sponsorship too Quote Link to comment Share on other sites More sharing options...
Antriel Posted August 20, 2013 Share Posted August 20, 2013 I started using Haxe with createJS and so far it looks promising. I'm just getting into the html stuff thought, but Haxe is definitely better than JS at least for me haden 1 Quote Link to comment Share on other sites More sharing options...
Ezelia Posted August 20, 2013 Share Posted August 20, 2013 @Antriel if you only use Haxe to target HTML5 games, use TypeScript instead.the only case where haxe usage can be justified is when you are targetting more than one platform. Quote Link to comment Share on other sites More sharing options...
Antriel Posted August 20, 2013 Share Posted August 20, 2013 And maybe also when I do know Haxe and don't know TypeScript Also a lot of my code, I might reuse, is in Haxe. Using Haxe will also make it easier to port the games if I will need to someday.Does TypeScript have better performance than Haxe or why would I want to use one over another? Quote Link to comment Share on other sites More sharing options...
plicatibu Posted October 12, 2013 Share Posted October 12, 2013 I started using HaXe Nme (mainly because of flash ). It's a wonderful framework. The worst thing is its support. Despite singmajesty efforts, the majority of questions don't get an answer (or at least don't get an answer that solves the doubts ). Again, HaXe/NME is a great framework and if you fell comfortable digging into source code and figure solutions by yourself, it's the best tool you can pick. singmajesty is a very valuable guy into Haxa NME community. I'd like there were more guys like him. Quote Link to comment Share on other sites More sharing options...
lordkryss Posted October 14, 2013 Share Posted October 14, 2013 haxe is excellent to target flash / windows / android and iOS but it's very bad when it comes to HTML5if your game use lot of Sprites you'll get horrible performance , this is due to the fact that haxe create a canvas object for each Sprite, so you end up with too many canvasif you feel confortable with how haxe handles things use Pixi.js it's very close and use almost the same logicI think you're confusing haxe with openfl, haxe is the language, openfl is the framework to display stuff with the flash API.You could use haxe to make games with whatever js library you have and probably get better performances (or at least spending less time to write the code).Also I'd advice to check out flambe, it's really easy to start with and has good performances (the game i'm making works on mobile without big problems). Quote Link to comment Share on other sites More sharing options...
relaxx Posted October 19, 2013 Share Posted October 19, 2013 Is there any alternate haxe framework exists with comparable speed and quality like flambe? Quote Link to comment Share on other sites More sharing options...
YellowAfterlife Posted October 19, 2013 Share Posted October 19, 2013 Is there any alternate haxe framework exists with comparable speed and quality like flambe?To some extent, yes. Game-side logic (such as entity/component management) would have to come from other sources though. Quote Link to comment Share on other sites More sharing options...
relaxx Posted October 20, 2013 Share Posted October 20, 2013 To some extent, yes. Game-side logic (such as entity/component management) would have to come from other sources though.Thanks, do you have any playable game example? I tried to build NME's example PiratePig with bitfive backend, compiled ok but as a result I got white screen with some broken symbols and sprites:) Quote Link to comment Share on other sites More sharing options...
Antriel Posted October 20, 2013 Share Posted October 20, 2013 I just used createjs, worked quite good. There are even externs already made for it. Quote Link to comment Share on other sites More sharing options...
YellowAfterlife Posted October 21, 2013 Share Posted October 21, 2013 Thanks, do you have any playable game example? I tried to build NME's example PiratePig with bitfive backend, compiled ok but as a result I got white screen with some broken symbols and sprites:)I haven't made any separate examples (though I may soon), but most HaxePunk examples run quite fine with no or little modifications. Other than that, bitfive is primarily intended for use with applications and frameworks that use a single (or a few) Bitmap objects to represent the game on screen. This also is the preferred way of building games for mobile, since older devices are not able to handle too much dynamic DOM objects at once. One other thing to watch out while building is that you also need to provide OGG versions of audio files for game to work correctly in browsers without direct MP3 support (such as slightly earlier versions of Firefox). I just used createjs, worked quite good. There are even externs already made for it.CreateJS is indeed pretty good, but still problematic to use if you want to target both Flash and HTML5 from single codebase. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.