For more about me, my website is the best place to go.
Programming Languages: Python, Go, C++, RISC-V Assembly
Human Languages: ๐ฌ๐ง ๐ฉ๐ช
A simple framework for writing a 2D game using Modern C++
For more about me, my website is the best place to go.
Programming Languages: Python, Go, C++, RISC-V Assembly
Human Languages: ๐ฌ๐ง ๐ฉ๐ช
This is more efficient, will use less textures and will work with WASM!
E.g. for objects, don't load twice
Eg in AnimatedSprite.cpp split textures function, don't use move on retval
This will be a breaking API change (similar to the Tmxrenderer change) but will ensure that we don't pay a virtual-function price for every frame.
Currently SDLGame handles the "magic" of initialising SDL (and the various SDL submodules), creating a window, creating a GL context and initialising the APG logger. This has two effects:
By moving SDLGame's constructor logic out into a separate class which owns the SDL/GL context, we add an extra initialisation step before getting a working screen, but the gains outweigh the losses.
It might be possible to avoid a breaking API change by creating an entirely new game class, perhaps using CRTP... but it might be cleaner, given that APG is not widely used, to just break SDLGame.
Currently, there's no support for using a SpriteBatch to render a rotated sprite.
Especially in Texture::tempBind, could provide a good speed increase.
glTextureParameteri(id, texType, paramName, paramVal)
http://www.opengl.org/registry/specs/EXT/direct_state_access.txt
http://docs.gl/gl3/glTexParameter
Some classes (e.g. texture, abstract TmxRenderer, etc.) have dependencies on SDL/GL/both when they shouldn't.
Remove + improve.
See AnimatedSprite.hpp
Currently there are too many concepts of ownership, split across different classes and resources. This could be centralised, for the resources where that makes sense - texture IDs, sound resource IDs, etc.
Both WASM builds and native builds
V1 is bundled with emscripten but V2 doesn't seem to be; using V1 doesn't work.
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.