Code Monkey home page Code Monkey logo

3d-haxeflixel's Introduction

3D-HaxeFlixel

TUTORIAL 1 IS OUT‼️:

Watch the video

Credits 🟢

Info 🔵

This uses the Away3D frame work from OpenFL and makes it renderable in HaxeFlixel as a FlxSprite. With some rendering workarounds in the FlxView3D and Main File, this is possible.

Away3D uses View3D as its primary container so that is what the FlxView3D works with.

There is a planned implemanation of Away3D using a more HaxeFlixel like syntax to make the coder easier to work with.

Limitations 🔴

  • Can not render a model with more then ONE texture (can have specular and normal maps).
  • Only supports the follow file formats; .obj, .awd, .3ds, .ac3d, .md2, .md5, .dae, .dfx.
  • Amount of View3Ds allowed limited to FlxG.stage.stage3Ds.length (preformance dependent in some cases). Use Flx3DUtil.is3DAvailable(); to check if a 3D Instance is available.

Requirements 🟡

  • The Away3D OpenFL Library; openfl install away3d
  • Adding the Library to your Project.xml; <haxelib name="away3d"/>

3d-haxeflixel's People

Contributors

lunarcleint avatar neeeoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

3d-haxeflixel's Issues

Enabling system cursor disables 3D from rendering

unsure of why it happens, i looked and i can't pinpoint the issue, but disabling the flixel cursor in any way (including but not limited to FlxG.mouse.useSystemCursor = true) seems to completely disable FlxView3D from rendering

Waaah!

Snimak ekrana 2023-06-07 192320

'openfl' is not recognized as an internal or external command, operable program or batch file.

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.