Muzzle is a Open-Source C99 Game Framework
#include <Muzzle.h>
#include <stdio.h>
#define SCREEN_WIDTH 1280
#define SCREEN_HEIGHT 720
Applet blank_window;
void OnAppletUpdate()
{
while (keep_applet(blank_window.window_handle))
{
begin_drawing();
clear_screen(GRAY);
end_drawing(&blank_window);
}
}
int main(void)
{
blank_window = InitializeApplet(SCREEN_WIDTH, SCREEN_HEIGHT, "Muzzle [CORE] - Blank Window", MUZZLE_FALSE, MUZZLE_TRUE);
StartApplet(&blank_window);
QuitMuzzle(blank_window);
return 0;
}
- Creating a Window
- Clearing the Screen
- Drawing Rectangle
- Keyboard Input
- Mouse Input
- Sprite Rendering
- Drawing Circle
- Loop
- Text Rendering
- Font Loading
Step 1: Install all submodules
You can do this by typing git submodule init
and then git submodule update
Step 2: Build GLFW or get library files from pre-compiled binaries
Step 3: go into an example, and run cmake