Skip to content

SmallJoker/OpenEdits

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
doc
 
 
src
 
 
 
 
 
 
 
 

OpenEdits

preview image v1.0.8-dev

A 2D game block building inspired by Everybody Edits. Code structure inspired by Minetest practices.

The project direction can be found in doc/DIRECTION.md.

Gameplay

Hotkeys

  • W/A/S/D or arrow keys: move player
  • Space: Jump
  • LMB: Place the selected block
  • RMB or Shift+LMB: Block eraser
  • Mouse scroll: Zoom in/out
    • Warning: Rendering performs pretty badly. Do not scroll out too far.
  • 1-9: Hotbar block selector
    • Use RMB to drag & drop a block from the selector into the hotbar
  • / or T or Enter: Open chat box
    • Enter: Submit
    • ESC: Cancel and close
    • Tab: Nickname autocompletion
    • Up/Down: Previous chat message / empty chat message
  • E: Toggle block selector
  • G: Toggle god mode
  • M: Toggle minimap

Chat commands

  • See /help

Permission/player flag examples:

  • /fset FOOBAR tmp-edit-draw temporary edit access (until rejoin)
  • /fset FOOBAR godmode persistent god mode access (after the world is saved)
  • /fdel FOOBAR owner removes all persistent access except for "banned"
  • /ffilter lists all players with any specified flags

Command line arguments

  • --version outputs the current game version
  • --unittest runs the included tests to sanity check
  • --server starts a server-only instance without GUI

Available archives

Linux

  1. Extract the archive to any location
  2. Run AppRun.sh
  3. In case of issues: run with gdb. Debug symbols are included.

Windows

  1. Extract the archive to any location
  2. Run the executable
  3. In case of issues: use a debugger such as x64dbg

Compiling

Dependencies

  • CMake (cmake-gui recommended for desktops)
  • Irrlicht-Mt : GUI/rendering library
  • enet : networking library
  • Threads (phthread?)
  • SQLite3 : auth & world saving

Debian/Ubuntu:

sudo apt install libenet-dev libsqlite3-dev

Project compiling:

cmake -B build

Headless server compiling

  1. Install the required libraries
  2. Put the IrrlichtMt headers (include directory) somewhere
  3. cmake -B build -DBUILD_CLIENT=0 -DIRRLICHTMT_BUILD_DIR="/path/to/irrlicht/include/"
  4. cd build -> build make -j -> start ./OpenEdits-server

Licenses

Code: LGPL 2.1+

Fonts

DejaVu Sans bitmaps (Bitstream Vera license, extended MIT)

Images

Images that are not listed below were created by SmallJoker (CC BY 4.0).

DailyYouth (CC BY 3.0)

IconMarket (CC BY 3.0)

About

Self-hostable 2D block building/physics game heavily inspired by the flash game Everybody Edits

Resources

License

Stars

Watchers

Forks

Packages

No packages published