Skip to content

Instantly share code, notes, and snippets.

View rfaile313's full-sized avatar

Rfaile313 rfaile313

View GitHub Profile
@rfaile313
rfaile313 / main.c
Last active May 27, 2020 22:22
Bicc Boii (@rfaile313) Raylib 32x32 Game Jam Submission
/**********************************************************************************************
*
* 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
@rfaile313
rfaile313 / main.c
Last active April 28, 2020 16:59
Raylib Basic Window Example
#include <raylib.h>
int main(void)
{
// Initialization
//--------------------------------------------------------------------------------------
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
extract () {
if [ -f "$1" ]
then
case "$1" in
(*.tar.bz2) tar -jxvf "$1" ;;
(*.tar.gz) tar -zxvf "$1" ;;
(*.bz2) bunzip2 "$1" ;;
(*.dmg) hdiutil mount "$1" ;;
(*.gz) gunzip "$1" ;;
(*.tar) tar -xvf "$1" ;;