GithubHelp home page GithubHelp logo

sendan4 / patata-engine Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 4.03 MB

Motor tonto y simple para videojuegos. mirror of https://gitlab.com/Sendan/patata-engine

License: MIT License

CMake 15.28% C++ 70.46% Meson 14.26%
cpp20 game-engine gamedev linux opengl windows cmake game-dev game-development meson

patata-engine's Introduction

Español English

Motor Patata

Motor Patata es un motor 2d sencillo y ligero con el enfoque en el desarrollo de videojuegos.

Soy novato en C++, estoy haciendo este proyecto para aprender y pasarmelo bien desarrollandolo, Asi que no esperes ver un codigo de profesional.

Otro de los objetivos es la portabilidad, quiero que este se pueda ejecutar en dispositivos antiguos (No tan antiguos), en los modernos y en varios sistemas operativos.

⚠️ Aun no esta listo para su uso

Ejemplo de su uso

#define SDL_MAIN_HANDLED
#include <SDL.h>
#include <PatataEngine/PatataEngine.hpp>

int main(int argc, char ** argv) {
	Patata::Engine Patata("", 1280, 720);

	bool run = true;
	while(run) {
		SDL_Event event;
		while(SDL_PollEvent(&event)) {
			// Patata Events
			Patata.HandleEvent(event);
			// Your Events
			if (event.type == SDL_QUIT) {
				run = false;
				break;
			}
		}

		// Your Render Functions

		Patata.Render();
	}

	return 0;
}

Sistemas Operativos Compatibles

Windows GNU/Linux
x86_64 x86_64

Metas

  • Portabilidad en la distribucion de los binarios (Linux distros)
  • Hacer el motor portable
  • Menu Propio de ejemplo
  • Gestion de la configuracion
  • Configuracion en caliente
  • Salida del Audio
  • Renderizador con Vulkan
  • Renderizador con OpenGL
  • Crear una Mascota
  • Decodificar, Cargar y Renderizar imagenes (AVIF)
  • Reproducir secuencialmente animaciones de sprites
  • Soporte Apropiado de Wayland (Linux)
  • Crear un logo o simbolo

Dependencias usadas en este proyecto



Espejos Oficiales

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.