Git Product home page Git Product logo

egormkn / sdlxx Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 3.0 34.56 MB

:space_invader: Modern C++ wrapper for Simple DirectMedia Layer (SDL2)

Home Page: https://egormkn.github.io/sdlxx

License: zlib License

CMake 4.52% C++ 94.42% Shell 0.01% C 0.98% Batchfile 0.01% Python 0.06%
animation audio directx game game-engine gamedev gui image mixer network opengl physics physics-2d rendering sdl sdl2 ttf

sdlxx's Introduction

Hello World! 👋

sdlxx's People

Contributors

egormkn avatar zem4ik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdlxx's Issues

GUI на Nuklear

Для любой, даже самой примитивной игры, нужен какой-то базовый интерфейс - кнопочки, выключатели и т.п. У SDL по умолчанию нет такой функциональности, и в текущей версии кнопки реализованы мной вручную через отрисовку прямоугольников с текстом и перехват событий мыши. Но есть библиотека Nuklear, которая представляет собой минималистичный интерфейс, и вроде как может работать на чём угодно. Хотелось бы прикрутить её к нашему проекту.

Собственно, есть такие задачи:

  1. Почитать документацию и запустить какой-нибудь пример на Nuklear
  2. Почитать про Nuklear+, тоже попробовать собрать и запустить. Почитать код SDL-фронтенда.
  3. Разобраться, что требуется Nuklear для запуска и отрисовки и написать об этом тут.

Дальше будем думать, как заставить UI Nuklear отрисовываться при помощи 2D рендерера SDL.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.