Giter VIP home page Giter VIP logo

haxefs's Introduction

HaxeFS - PhysicsFS Bindings for Haxe

I've known about PhysicsFS for a while now but I never made the connection in my brain to actually integrate it into Haxe.

So I did.

UPDATE: I decided to try and make this a linc library. Not official yet, but trying this new structure!


Pre-Release

Really. This is not in a state I would call "stable", "safe", or "good."

Please make pull requests and improve my messy code! Most of this project is being done during my spare time at college, so I don't have all the time I would like to clean things up.

If you want to test this out: haxelib git haxefs https://github.com/AaronShea/haxefs.git

What's PhysicsFS?

The Official Site is better at explaining that than me.

In short, it's a hardware abstraction for your application. You can mount folders and archive files into a virtual UNIX file system like structure. For example, I can mount blah.zip as /assets/images and access them by finding the file I want in /assets/images.

Why?

I found that OpenFL embedding was not able to handle large files, and I didn't want to have all the assets (images, sounds, etc.) required for my game to be laying out in the open. You can even apply some encryption to the archives if you like, you just may need to modify PhysicsFS a bit. I can pack everything into one or more zip or LZMA archive files and "mount" them into the structure. Then I can easily access the assets without worrying about the compression or underlying archive structure.

Docs

TODO - this library is nowhere close to done yet!

haxefs's People

Contributors

ashea-code avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

swimming92404

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.