atraczyk / 2d-engine Goto Github PK
View Code? Open in Web Editor NEW2D Game Engine C++ OpenGL
2D Game Engine C++ OpenGL
Can anyone show me how to install
Since this project seems dead and many people may be interested.
I fix this vector crash on Visual Studio myself and share it right now.
It is all due to the wrong convertion from
2d-engine\Platformer\tile.h
search function named
void update()
you will see
currentAtlasFrame = static_cast(looped ? 0 : frames.size()) - 1;
This is wrong,should be
currentAtlasFrame = static_cast(looped ? 0 : frames.size() - 1);
Another vector crash occured when you holding a shell run and jump cancel another shell.
This is an animations frame out of boundry problem from
2d-engine\Platformer\entity.cpp
search
AnimationFrame* Entity::getFrame()
replace
return &frames->animations[animationState][currentAnimationFrame];
with
return &frames->animations[animationState][currentAnimationFrame % (frames->animations[animationState].size())];
Hello,
I'm using VS2019.
How do I link your project?
you did not give install instructions
thnx
Would love if there was a tutorial that went through both developing and building a simple "hello world" example with this engine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.