Profile cover photo
Profile photo
Jeremy Sachs
257 followers -
Big-city programmer with a thirst for knowledge and a heart of pyrite
Big-city programmer with a thirst for knowledge and a heart of pyrite

257 followers
About
Jeremy's posts

Post has attachment
If anyone here is targeting HTML5, I could use your help testing a feature improvement! :-)

Post has attachment
Jeremy Sachs commented on a post on Blogger.
Sorry, Google, but I can't stop pronouncing this like "pinochle".

Post has attachment

PRO TIP: if you're targeting Flash and HTML, add some kind of distinct visual indicator to each one.

Why? Because Adobe Scout won't record any telemetry from your Flash game if you're running your HTML game by mistake. :-P

My OpenFL project has custom text boxes. So keyboard events are important to me. It's weird, then, that KeyboardEvents dispatched from the stage have no charCode in the HTML5 target.

I'm planning to deal with this by making a TextField, setting focus to it and listening for text input events instead of keyboard events. But shouldn't the KeyboardEvent charCodes be working for this target? Has anyone else tried anything like this?

Post has attachment
Last Friday I mentioned work I was doing on a general-purpose cross-platform 3D API for my side project.

I'm happy to report that I've added Stage3D support to the API, which completes the Flash/JS/Native trifecta as far as rendering is concerned.

I'm using some code that Ronan Sandford contributed to NME; he and I think it would be better to develop an OpenFL backend that supports Flash 3D than to maintain a library for people to use on top of OpenFL. If anyone has considered collaborating on something like that, here's a chance to pipe up. :-)

Finally, while 3D rendering is done, my native builds are still complicated by two missing features in openfl-native that I request– support for UTF-8 regular expressions, and an implementation for GL.readPixels() . I'll bring these up with Granick, but if anyone else knows their way around NDLLs, I'd be interested in hearing how we can add these features ourselves. :-D

#opengl   #stage3d   #glsl2agal  

Post has attachment
My NME Stage3D project took about six days to bring to OpenFL's GL API and HTML5 target. Native works pretty well too, though it's missing GL.readPixels().

The source for the Stage3D and openFL.GL versions is on GitHub: if anyone wants to compare notes, let me know and I'll post the link. :)

Post has attachment
Photo

Post has attachment
My collection. Happy Autumn.
Photo

Post has attachment
Alien language written on the buses. What's up with that?
Photo
Wait while more posts are being loaded