Skip to content

Instantly share code, notes, and snippets.

@raysan5
raysan5 / custom_game_engines_small_study.md
Last active July 30, 2025 14:42
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

WARNING: Article moved to separate repo to allow users contributions: https://github.com/raysan5/custom_game_engines

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like [Unreal](https:

@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active July 17, 2025 10:31
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
import org.junit.contrib.java.lang.system.internal.CheckExitCalled;
import org.junit.contrib.java.lang.system.internal.NoExitSecurityManager;
import org.junit.jupiter.api.extension.*;
import org.junit.jupiter.api.extension.ExtensionContext.Namespace;
import org.junit.jupiter.api.extension.ExtensionContext.Store;
import org.junit.platform.commons.support.ReflectionSupport;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@thiagokokada
thiagokokada / [Arch Linux] auto_upgrade
Last active June 9, 2018 05:33
Get e-mail notifications of updates in Arch Linux
Auto-upgrade Arch Linux or get e-mail in case of failure.
@wmealing
wmealing / C-states.md
Last active July 11, 2025 01:43
What are CPU "C-states" and how to disable them if needed?

To limit a CPU to a certain C-state, you can pass the processor.max_cstate=X option in the kernel line of /boot/grub/grub.conf.

Here we limit the system to only C-State 1:

    kernel /vmlinuz-2.6.18-371.1.2.el5 ... processor.max_cstate=1

On some systems, the kernel can override the BIOS setting, and the parameter intel_idle.max_cstate=0 may be required to ensure sleep states are not entered:

@prwhite
prwhite / Makefile
Last active July 10, 2025 14:33
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@ddebin
ddebin / converter.php
Last active December 27, 2015 09:28
Ce script convertit un backup/export DotClear ("blog-backup.txt" flatExport) en posts markdown pour Octopress/Jekyll (ou autres) et en un fichier de commentaires WXR (WordPress eXtended RSS) pour import XML sur Disqus.
<?php
// --
// - Ce script convertit un backup/export DotClear en posts markdown pour Octopress/Jekyll (ou autres)
// et en un fichier de commentaires WXR (WordPress eXtended RSS) pour import XML sur Disqus.
// - Il faut installer le plugin "flatExport" dans DotClear pour récupérer le "blog-backup.txt"
// cf. http://plugins.dotaddict.org/dc1/details/flatExport
// - Vous avez besoin de Pandoc d'installé sur la machine pour la conversion vers Markdown
// cf. http://johnmacfarlane.net/pandoc/
// --
@nikos
nikos / build.gradle
Created December 17, 2012 17:30
Simple (aka minimal) Gradle script to create ZIP archive file and upload to nexus repository (as snapshot or if you modify the version to release)
apply plugin: 'maven'
group = 'de.sample'
version = '0.1-SNAPSHOT'
description = 'My cool tool ...'
task customZip(type: Zip) {
from ('.') {
@andrioli
andrioli / .gtkrc-eclipse
Last active August 3, 2023 14:18
Config to make Eclipse Juno icons and tabs look small and nice in Linux
# Create a new file in your home directory called .gtkrc-eclipse
# call eclipse with this command:
# Gtk2 forced:
# export SWT_GTK3=0
# env GTK2_RC_FILES=/usr/share/themes/<YourTheme>/gtk-2.0/gtkrc:/home/<YourUser>/.gtkrc-eclipse '/path_to_eclipse/eclipse'
# In your Eclipse directory find the file 'e4_default_gtk.css'
# In this file there's a CSS class: