Git Product home page Git Product logo

haxeflixelovergl's Introduction

HaxeFlixelOverGL

A quick and dirty demo of HaxeFlixel rendering over an OpenFL GLView.

Based on openfl-samples's SimpleOpenGLView (OpenFL GL viewport with shaders) https://github.com/openfl/openfl-samples/tree/master/features/display/SimpleOpenGLView

and

Matt DesLauriers's ShaderLesson6 (point+ambient light normal-mapping without rotation) https://github.com/mattdesl/lwjgl-basics/wiki/ShaderLesson6

with

Robert Basler's Tutorial (getting lighting working with arbitrary object rotations) http://www.gamasutra.com/blogs/RobertBasler/20131122/205462/Three_Normal_Mapping_Techniques_Explained_For_the_Mathematically_Uninclined.php?print=1

Note

This is not optimized, nor even good. But it works. It will allow you to render Flixel sprites atop a GL view containing GL models that use custom shaders.

Dependencies

The following libs were used to make this project:

  • flixel "dev" branch (a.k.a. 4.0.0)
  • openfl 3.4.0
  • lime 2.7.0

Also, this project uses OpenFL "Next" instead of "Legacy."

Contact

If you have any questions, feel free to ping @dcfedor on Twitter, or [email protected]. I may not know the answer, but I can try to help.

More importantly, if you're able to make this better/faster/stronger, I'd love to hear about it. (Or even submit some changes of your own!)

haxeflixelovergl's People

Contributors

dcfedor avatar

Stargazers

flumpus avatar Datee avatar Michael R. Bernstein avatar TheCocce avatar steve richey. avatar Sergey Miryanov avatar Zaphod avatar

Watchers

 avatar Zaphod avatar  avatar

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.