Questions tagged [openfl]

For questions relating to the OpenFL software development kit.

OpenFL is a free and open-source software framework and platform for the creation of multi-platform applications and video games.

OpenFL projects are written in the programming language, and may be published as standalone applications for Adobe AIR, Microsoft Windows, macOS, Linux, iOS and Android, or to the web using Adobe Flash and HTML5.

275 questions
2
votes
1 answer

Why my rebuilded openfl/lime 2.9.1 for haxeflixel always ingores my own androidmanifest uses permissions?

I use haxeflixel that create lime build android applications. I rebuild lime 2.9.1 from source that lime can make android target sdk version 26, as google said soon be minimum version for playstore. This is the original article . As result i can…
2
votes
0 answers

why "type not found" inside haxeflixel project, when i try to "import assets.manager.FileLoader;"?

i use haxeflixel and syntax import assets.manager.FileLoader; after this i have error "type not found" my steps 1- terminal "haxelib install assetsmanager" ... done 2- Project.xml 3- inside PS.hx "import…
2
votes
1 answer

Haxe: openfl test works but not lime build

I'm in the process of moving all my projects to individual modules in IntelliJ rather than having one module in the entire git repo, and my IntelliJ builds stopped working. I notice it uses lime builds even though my module is set to openfl (and…
2
votes
1 answer

Haxe - SQLLite Crashing in Android target

i want to use use Sqllite datbase in my Android Game i am developing with Haxe - OpenFl but the app keep crashing when i am trying to query the database. If this is not possible or have any other ways to deal with data in Android kindly let me know…
Sim
  • 382
  • 2
  • 13
2
votes
1 answer

OpenFL - Provide time to shader

I just create a shader and it depends on the current time. My fragment is something like this: varying vec2 vTexCoord; varying float vAlpha; uniform sampler2D uImage0; varying float time; void main(void) { vec4 color = texture2D(uImage0,…
Matías González
  • 1,366
  • 3
  • 15
  • 30
2
votes
1 answer

Getting Error loading templates, please run 'flixel download'.?

i am getting, Error loading templates, please run 'flixel download'. after a fresh install on a windows pc. Everything is freshly installed. I tried : i am confused what to do next ?
Sim
  • 382
  • 2
  • 13
2
votes
1 answer

Image import in Haxe / OpenFL

I want to import an image using Haxe, my image is big but it is 8 bits and it weighs 89kb. The problem occurs when I import it, because the size of the memory grows by 35mb. I suppose it is reserving memory for a 32bit image. Any idea how to import…
Matías González
  • 1,366
  • 3
  • 15
  • 30
2
votes
1 answer

How to apply transform to graphics in OpenFL

I'm converting a JavaScript library to Haxe. In this library, there is an animated effect constructed with many of shapes. So I used the OpenFL library to render shapes. But now I have a technical problem with transformation. Some of the shapes has…
rener172846
  • 431
  • 1
  • 6
  • 19
2
votes
1 answer

Neko server, Neko/OpenFL client: std@socket_read exception

I'm beginner in the sockets and I'm writing a simple app to get started with. Server.hx: package; import neko.Lib; import sys.net.Host; import sys.net.Socket; class Main { static function main() { var s:Socket = new Socket(); …
Gulvan
  • 305
  • 2
  • 12
2
votes
1 answer

Waiting for the end of an animation in Haxe/OpenFL

I'm making a turn-based game using Haxe + OpenFL + swf + Actuate (I'm targeting js). One of the most important gameplay aspects is using abilities. Each ability has an animation and, of course, it takes time for this animation to play. I want to…
Gulvan
  • 305
  • 2
  • 12
2
votes
2 answers

How to export (save) data in OpenFL (Haxe) via XML(?)

In AS3 I could write the following: fileReference = new FileReference(); var xmlStage:XML = new XML(); var xmlObjects:XML = new XML(); var j:uint; var scene:SomeScene = ((origin_ as SecurityButton).origin as SomeScene); var…
c.c.
  • 181
  • 7
2
votes
0 answers

Lime 5.2.1 / Android 4.3 : dlopen fails on stpcpy

I'm trying to build an empty HaxePunk project for Android to test the build chain, and while I'm never getting any error, all my attemps have crashed at run time with the same error message : Error: dlopen failed: cannot locate symbol "stpcpy"…
Matrefeytontias
  • 592
  • 1
  • 4
  • 13
2
votes
1 answer

Convert Dynamic Object to StringMap

I'm saving a StringMap to SharedObject using OpenFl Save to SharedObject SO.data.users_arr = new StringMap(); SO.data.users_arr.set("user1",{varOne:1,varTwo:2}); Retrieve from SharedObject var users_arr : StringMap =…
Antipirina
  • 75
  • 5
2
votes
0 answers

haxe send email smtp

I am trying to send an email through my app and have been looking at mtwin Smpt. After entering all my my login info I get this error: Error : SmtpAuthError(Authorization with 'login' method not supported by server) mtwin.mail.Smtp.send(…
Frank
  • 21
  • 2
2
votes
1 answer

How to make FlashDevelop show line error and where it happened with Haxe?

I've been using Haxe for a while and I'm debuging with the Windows target (OpenFL). When I put a try/catch somewhere it just says for example "Null object reference" - it doesn't say the line number and the class, so I have to keep putting traces to…
Thiago Sabin
  • 137
  • 1
  • 12