RustMeUp

u/RustMeUp


r/retrogames•

I got nostalgic for Chip's Challenge and rebuilt it as a hobby project with modern controls, smooth movement, widescreen support, community levels, and an optional low-poly 3D mode using the original sprites.

Mostly I just wanted to replay a childhood game without fighting the original input handling 😄

You can play it in your browser with keyboard, gamepad, or mobile touch controls: :-)

Chip's Challenge DX ☺️

34

r/rust•

My goal is to create a plugin in Rust. Plugins for this application come in the form of .dlls that are loaded by the program. It requires that you export certain symbols which will be called to complete initialization.

Basically program launches -> looks in addons folder -> loads the dlls and checks for certain exported symbol -> call that exported symbol with some information.

My first attempt I just make an empty lib.rs and in Cargo.toml I specify:

[lib]
crate-type = ["dylib"]

After building this with cargo build --release and inspecting the shared library, I notice that it 737KB in size and exports a ton of standard library functions (all of them?).

This doesn't se

33