Questions tagged [flambe]

Flambe is a 2D game engine that makes cross-platform development actually fun. Spend less time dealing with platform-specific bugs, and more time building great games.

11 questions
2
votes
1 answer

How to properly install and set up Flambe?

I have followed the instructions here, created a new project and tried to run it but all I got was a black web page. I'm not sure if the build command worked properly (I've never done it before). Then I tried downgrading haxe to 3.1.3 and reinstall…
Robert777
  • 801
  • 3
  • 12
  • 24
2
votes
1 answer

What is relation between openfl, flambe and awe6

I do know that all three can be used to make mobile games. And can create fast games. But i only know of openfl which i learned is something called nme but improved. So i would like to know couple of things...first simply describe them and their…
Muhammad Umer
  • 17,263
  • 19
  • 97
  • 168
1
vote
1 answer

How to use the trace method in Flambe?

I am trying to use the trace method to print a string on the screen. I thought that Haxe code should work in Flambe, but apparently it doesn't. I tried to run this code but all I get is a black screen: package urgame; class Main { static public…
Robert777
  • 801
  • 3
  • 12
  • 24
1
vote
1 answer

How to properly dispose objects in Flambe?

In this Flambe guide it says: "This dispose function removes this component from its owning entity. You should override the dispose-function in order to dispose objects yourself, to prevent memory leaks." I have 3 questions: How should I override…
Robert777
  • 801
  • 3
  • 12
  • 24
1
vote
2 answers

Flambe HTML Compile Issue

I have just started with Haxe/Flambe, but I seem to have a problem compiling to HTML. From what I can tell it's an internal problem. It compiles to Flash just fine. Here's my console output C:\Users\UserName\Dropbox\Projects\Project\Game>flambe…
user1572808
  • 41
  • 1
  • 2
1
vote
1 answer

FirefoxOS packaged game loading time

We are working on a packaged html5 game for the FirefoxOS marketplace. Our game passes review, except the game shows a black screen before starting. The reviewers said this black screen shows for a very long time. It is my belief that the games…
Larry
  • 239
  • 4
  • 13
1
vote
1 answer

Security Sandbox violation on Haxe http request

I'm making a game using Haxe and Flambe library targeting to flash&html5. I need to access REST-api with http-requests. For that purpose I use Haxe's Http-class. This here is my test code at the moment: public function getRocketStatus():Void { …
Tumetsu
  • 1,661
  • 2
  • 17
  • 29
1
vote
1 answer

In Haxe/Flambe, how do I go about rotating or scaling an Entity, so that its children are rotated at scaled proportionally

I'm basically trying to emulate what you see in many other frameworks like Flash, XNA, etc. If I create a hierarchy of nested entities on stage, how do I rotate, scale, or translate a parent entity and have its children rotate, scale, and translate…
1
vote
1 answer

FlashDevelop - Adding Classpath in Haxe project: 'Class not found'

I want to simply create a reusable "library" for all my future projects that I'm going to be doing in Haxe. I understand there aren't library projects in Haxe, but rather you would just have a collection of source files somewhere and import them as…
Game_Overture
  • 1,578
  • 3
  • 22
  • 34
0
votes
0 answers

Trying to create a new haxe flambe project - Error: should be format.agal.Reg error

I mostly followed this instructions for installing Haxe, Node, and Flambe on my Mac, with the addition of the following patches: CanvasTextureRoot.hx HtmlAssetPackLoader.hx HtmlExternal.hx I can run existing Flambe apps just fine with flambe serve…
zack_falcon
  • 4,186
  • 20
  • 62
  • 108
0
votes
1 answer

What are the best practices for working with keyboard and mouse events in Flambe?

I have read the relevant post in the Flambe guide but couldn't see any use of the clone() function. The APIs of the various event classes (like the PointerEvent class) contain this note: NOTE: For performance reasons, PointerEvent instances are…
Robert777
  • 801
  • 3
  • 12
  • 24