Giter Site home page Giter Site logo

Comments (6)

brodavi avatar brodavi commented on May 26, 2024

the last string on the stacktrace above should be [underscore][underscore]id[underscore][underscore] ... I guess surrounding a string with two underscores in github markdown makes it bold.

from ash-haxe.

nadako avatar nadako commented on May 26, 2024

Yeah, the problem with neko is that functions (listeners) can't be stored in object hash as keys, I'll look into it, gotta think out an efficient way to map listeners to nodes on neko then.

I don't think that the second issue relates to the first somehow, but it's more interesting, because HTML5 seems more important than neko to me. Could you provide an example which reproduces behaviour you're getting?

from ash-haxe.

brodavi avatar brodavi commented on May 26, 2024

Okay, I did some more testing. Keep in mind I am running a 5-year old netbook under ubuntu.
Haxe-Ash Asteroids demo just shows a blank screen. HaxeDungeons shows the hero sprite, but nothing else. Both of these act the same under Chrome and Firefox.

There is a Haxe-Ash experiment I cobbled together that runs pretty well in Firefox, but has 'ghosting' issues in Chrome, where a bitmap is sort of just left hanging somewhere on the Canvas. If you think it would help, I can create a github repository and put it up.

from ash-haxe.

brodavi avatar brodavi commented on May 26, 2024

oops

from ash-haxe.

nadako avatar nadako commented on May 26, 2024

Okay it looks like in HTML5 build of Asteroids background is not black anymore for some reason, so the game draws white on white, hence the "blank screen". It works actually :) I will look into it. Looks like it was changed in some new version of NME.

I didnt do any testing of HaxeDungeons on HTML5, so it doesn't work for real, maybe I'll check it out, but I'm not working on HaxeDungeons at all currently (busy with RL).

The bug with ghosting and stuff doesn't really seem to be related to Ash, more like to NME itself (I bet you're using it as well), because Ash doesn't have any code working with display or NME at all.

from ash-haxe.

nadako avatar nadako commented on May 26, 2024

The problem with HTML5 background was fixed in NME git haxenme/nme@555d6fa

If you don't mind, I'll close this issue.

from ash-haxe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.