Giter Club home page Giter Club logo

rdr2wheel's Introduction

RDR2wheel

The Red Dead Redemption 2 wheel HUD is a great way to replace typical mouse and keyboard graphical user interactions. Since Raylib makes using a gamepad extremely easy and I typically make button-heavy GUIs, the goal here is to create a user-friendly template to add the selector wheel to a Raylib project.

RDR2

Still a lot of work to do, but here is a quick recording for those who do not have a gamepad available. (.gif set to not loop, so refresh page to watch again)

05APR2023_Demo

Installation

There are great tutorials for getting setup with Raylib and emscripten

Then, download raygui.h and move it to C:\raylib\raylib\src.
If using VS Code, add "C:/raylib/raylib/src/**" to the C include paths as seen in the .vscode directory.

Usage/Examples

The .py in the root of this repository builds the main.c file in the specified directory and outputs an .html with WASM assets. So far, I have been using it like this:

python .\buildWASM.py -i .\src\ -o .\src\ -c 123456 -n "RDR2 Wheel"

Run Locally

I like to use VS Code with the Live Server extension from Ritwick Dey to develop the WASM .html. For quicker tests, using the Raylib notepad++ F6 command as shown in the tutorial is great.

rdr2wheel's People

Contributors

bradmartin333 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.