Skip to content

Small C++ game-engine (2D and minimal 3D) (GL+GLFW+AL+glm)

Notifications You must be signed in to change notification settings

MihailRis/nictophobia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nictophobia

Basic information

Small C++ game-engine (2D and minimal 3D) (GL+GLFW+AL+glm)

  • status: in-development
  • current dependencies: GL, GLFW, GLM, libpng, libfreetype
  • standard: C++17

Project also contain subprojects:

  • miocpp - C++ implementation of MIO storages interface
  • necore - nictophobia engine itself
  • nictoscript [in-development]

Right now the engine contains:

  • assets:
    • assets management
    • raster images loading (png)
    • bitmap fonts, vector fonts with Freetype
  • text rendering, simple text formatting
  • user input handling, key-bindings
  • files subsystem (miocpp)

Build (Linux):

mkdir build
ln -s res build/res
cd build
cmake ../
make

# then run
./nictophobia

Text formatting

^ character used as prefix for formatting modifiers.

example: draw bold text with ^btext that must be bold^b

modifiers:

  • ^b - toggle bold mode

  • ^c - reset color to initial

  • ^r - reset formatting

  • ^w - text waving effect

  • ^s - text shaking effect

  • ^#hex_color_code - set color

    examples:

    • ^#FF0000this text is red^c
    • ^#FFFFFF80this text is white with 50% opacity^c
    • ^1#FF8000^ 024^c - way to separate modifier from text digits (will output 1024 without spaces)

About

Small C++ game-engine (2D and minimal 3D) (GL+GLFW+AL+glm)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published