- Visual Studio 2019 (or newer)
- Git
- Python
- Win flex-bison
- Meson
- DXC, if building the PC version
- GDK Xbox, if building the console version
#include "raylib.h" | |
#include <gst/gst.h> | |
#include <gst/app/gstappsink.h> | |
GstElement* createPipeline(const char* filename) | |
{ | |
GError *error; | |
gchar *pipelineString = g_strdup_printf ("filesrc location=%s ! tee name=t ! queue ! decodebin ! videoconvert ! appsink name=output caps=video/x-raw,format=RGBA,pixel-aspect-ratio=1/1 t. ! queue ! decodebin ! audioconvert ! audioresample ! autoaudiosink", filename); | |
GstElement *pipeline = gst_parse_launch (pipelineString, &error); |
WARNING: This process is EXTREMELY experimental and not officially supported yet!
Thanks to the ongoing work on .NET WebAssembly support, it is now possible to build FNA games for the web!
If you decide to give this a try, be sure to tell us about it in the FNA Discord! I'm happy to help if you run into problems or have any further questions that are not answered here.
/********************************************************************************************** | |
* | |
* raylib 32x32 game/demo competition | |
* | |
* Competition consist in developing a videogame in a 32x32 pixels screen size. | |
* | |
* RULES: | |
* | |
* 1) Use only raylib (and included libraries), no external libraries allowed | |
* 2) The submission should consist of just one source file |
/* =============================================================== | |
* SDEFL | |
* =============================================================== | |
* public domain - no warranty implied; use at your own risk | |
* References: | |
https://bitbucket.org/rmitton/tigr/src/be3832bee7fb2f274fe5823e38f8ec7fa94e0ce9/src/tigr_inflate.c?at=default&fileviewer=file-view-default | |
https://github.com/github/putty/blob/49fb598b0e78d09d6a2a42679ee0649df482090e/sshzlib.c | |
https://www.ietf.org/rfc/rfc1951.txt | |
*/ | |
#include <stdlib.h> |
Before you continue, if you don't know what IMGUI is don't bother reading this post, just ignore it, don't write anything in comments section, etc. If you're curious about IMGUI see bottom of this post, otherwise continue whatever you were doing, this post it's not for you. Thanks!
If you know what IMGUI is, for context read following presentations and blog posts:
- Insomniac’s Web Tools Postmortem
Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.