Skip to content

draxel-0 is a Fantasy Console/Computer with hardware-accelerated graphics

License

Notifications You must be signed in to change notification settings

drako0812/draxel-0

Repository files navigation

GitHub Contributors GitHub Releases Downloads GitHub Stars GitHub commits since tagged version License hosted-ninja-vcpkg-autocache

🎮 Pixelly

NOTE: Pixelly is a WIP name for this project. I would like to come up with a catchier name in the near future. I also have not investigated whether or not the name is used for anything else, yet.

Pixelly is a Fantasy Console/Computer which has been developed in modern C++ (up to and including C++20). It currently uses SFML2 for its backend, and Lua via Sol for scripting. Although, I'd like to support both more backends and more scripting languages in the future.

📝 Specifications

🎨 Graphics

Pixelly has a 384x216 pixel screen resolution.

Currently, it only has a 48x27 text display mode, but pixel display modes are definitely planned.

It has a 16-color palette that will be modifiable (but not currently).

⌨️ Input

Currently, Pixelly can only accept keyboard input, but support for mouse and gamepad input is on the todo list.

📚 Documentation

You can find detailed documentation for Pixelly on the Wiki.

🔨 Building

I've spent quite a while trying to make sure that Pixelly is as simple to build as possible, but as additional features are added it's possible it may become more difficult.

This should be how to build Pixelly on at least Windows and Linux:

  • Make sure you have a modern C++ compiler installed (ie. MSVC, GCC, or Clang)
  • Install vcpkg
  • Install CMake
  • Install git
  • Build Pixelly:
    git clone https://github.com/drako0812/Pixelly
    cd Pixelly
    git submodule init
    git submodule update
    mkdir build
    cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=[vcpkg-root]/scripts/buildsystems/vcpkg.cmake
    cmake --build build
    You might also want to pass -DCMAKE_BUILD_TYPE=Release to cmake to build in Release mode.
  • Now you should be able to run Pixelly
    cd build
    
    ./Pixelly.exe
    --OR--
    ./Pixelly
  • After building you should be able to move the contents of the build directory to wherever you want.