Giter Club home page Giter Club logo

raylib.jl's Introduction

Hello! The name's irishgreencitrus and I'm mainly working with Godot, Svelte and V. I switch between a lot of projects all the time so don't expect a lot of activity on any one repository. I'm more interested in learning new things than sustaining a project full time which is why my repos probably look a bit scattered

Find me elsewhere

Itch.io

@irishgreencitrus:matrix.org

Current System

You can click on these to see my config!

NixOS Neovim

My proficient languages

Python JavaScript C Go Zig

My less proficient languages

Kotlin Julia Nix Rust

Some stats

raylib.jl's People

Contributors

irishgreencitrus avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

raylib.jl's Issues

Use the Raylib_jll package

The current way of setting up the library is not platform independent, automatic or self-contained. The setup.jl script requires at least a globally installed git and GNU make, which is available on Windows only with MinGW. Even then, depending on your environment (e.g. Windows x64), it still may break by an arbitrary error on raylib's build system.

Instead, I would suggest using the Raylib_jll package, which already provides autogenerated binaries for all platforms.

Raylib_jll can be added by using using Pkg; Pkg.add("Raylib_jll"), or by creating a new package that uses it as a dependency.

This method has some caveats though:

  • The Raylib_jll package is still at raylib 4.0. Though that should be easily solvable by updating the build script on Julia's Yggdrasil monorepo.
  • When using the wrapper with Raylib_jll, for some reason the window isn't terminated properly after exiting. This proves to be fixable simply by using CloseWindow() later. This can be made automatically by using atexit() in a module, demonstrated on GLFW.jl
  • The previous fix can only be achieved by including the entire wrapper on a new module, as it was done on GLFW.jl. This will require a complete new library overhaul which is an entire different issue/PR.

I've forked the repo and included some changes on a separate branch. If you accept the suggestion, we can update Raylib_jll to 4.2.0 and then create a PR to use it here, then slowly transition the entire wrapper to a module.

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.