Skip to content

yannis300307/NumcraftRust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
logo

Numcraft Rust

Numcraft Rust is a (WIP) cube sandbox game running natively on Numworks calculators on both Epsilon and Upsilon firmwares.

Screenshot

image screenshot

Numcraft running on actual N0110 Numworks on latest Epsilon (more than 40 FPS on N120) and on the Epsilon simulator.

Note that this is not the final result but the current state of the project.

Current project state

[See Roadmap below]

The program runs at 10-20 FPS on N0110 and 30-50 FPS on N0120. It runs perfectly on the simulator (it depends on your hardware though).

Support

NumcraftRust should run on both N120, N115 and N110 models. You will get better performances with the N120 model (N110 and N115 have the same CPU clock speed and same RAM). It can run on both Upsilon and Epsilon.

Roadmap

Here is the current roadmap for the project :

  • Fix the raycaster
  • Textures
  • World deletion
  • World creation settings
  • Save system with compression
  • Collisions
  • Better world generation
  • Main menu
  • Creative menu to select multiple blocks
  • Menu to select between multiple worlds
  • Lighting engine
  • Mobs
  • Survival mode

If I have the time:

  • TNT
  • Redstone
  • Commands support
  • Make a tool to convert Minecraft schematics to Numcraft structures
  • Structures such as Villages
  • Upsilon / Omega compatibility
  • Mini games

Good ideas but I will never have the time to do that :

  • Mod support
  • Multiplayer (impossible at this point in time)

Known Bugs:

  • Weird beahaviors in the negative coordinates
  • Rendering issues with the block selection marker
  • Can randomly crash on start on N0120. You have to reset your calculator before downloading a new version (I can't do anything about that, it's related to the OS)
  • Rendering issues and memory corruption if too many triangles are shown at the same time on the screen

Setup the build environment

For Debian based Linux distros

You can use the new installer. Run bash ./setup.sh and the installer should install everything for you. (Not widely tested. Use it at your own risk.)

Other distros and Macos

To build this app, you will need to install an embedded ARM rust compiler, the Arm GCC compiler as well as Node.js. The SDK for Epsilon apps is shipped as a npm module called nwlink that will automatically be installed at compile time. Make sure that arm-none-eabi-gccis in your path.

For more explanations on how to install the c sdk, follow this guide.

You might need to create a Python venv in the epsilon_simulator folder to install the pip packages on certain Linux distros.

Then, you can set up the dependencies as follows :

brew install rustup node # Or equivalent on your OS
rustup-init
rustup target add thumbv7em-none-eabihf
cargo install just # Similar to makefile

Build the app

just build

Build and send the app to an actual calculator

Connect the calculator to your computer and run

just send-epsilon

for Epsilon or

just send-upsilon

for Upsilon.

Run the app on the simulator

just sim

The simulator inputs will be automatically remapped for a better experience.

Use w, s, a and d to move the player, shift and space to go up and down, arrows to turn the camera, return to place a block or select in a menu and backspace to break a block or to go back in a menu.

You can speed up the simulator build by setting the job number.

just sim 5

Legal info

NumWorks is a registered trademark. This project is not associated or affiliated with Mojang Studios.

About

A Minecraft like game on vanilla Numworks.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •