Skip to content

Instantly share code, notes, and snippets.

@kaliatech
kaliatech / custom_game_engines_small_study.md
Created May 1, 2020 21:59 — forked from raysan5/custom_game_engines_small_study.md
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

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 or Unity for their games (or that's what lot of people think) because d

I believe the article was originally written by fede.tft.

It appears they have copied source code to github and updated it for C++11: https://github.com/fedetft/serial-port

Introduction

The serial port protocol is one of the most long lived protocols currently in use. According to wikipedia, it has been standadized in 1969. First, a note: here we're talking about the RS232 serial protocol. This note is necessary because there are many other serial protocols, like SPI, I2C, CAN, and even USB and SATA.

Some time ago, when the Internet connections were done using a 56k modem, the serial port was the most common way of connecting a modem to a computer. Now that we have ADSL modems, the serial ports have disappeared from newer computers, but the protocol is still widely used.

In fact, most microcontrollers, even the newer ones have one or more peripherals capable of communicating using this protocol, and from the PC side, all operating system

@kaliatech
kaliatech / gist:ef02fa0b2021678333729bf4994fd0f8
Created August 21, 2018 21:01 — forked from ITSecMedia/gist:f008f2ccb692277dfc12e6853e8da6fb
simple vue.js 2.0 example to add dynamic values in gohugo.io static websites.
=== rest.php ===
some php that creates html output
=== put in your app.js ===
$( document ).ready(function() {
var url_api = 'http://www.domain.com/api/rest.php';
var header = new Vue({
@kaliatech
kaliatech / ImgDiffPercent.java
Last active January 30, 2017 22:52
Percentage Image Difference - Java
// https://rosettacode.org/wiki/Percentage_difference_between_images#Java
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
import java.io.IOException;
import java.net.URL;
public class ImgDiffPercent
{
public static void main(String args[])
// Stub and Mock with assert and computed return
1 * srvc.myRepo.save({ it.machineTxt == "Test machine txt." }) >> { args ->
assert args[0].machineTxt == "Test machine txt."
return args[0]
}
@kaliatech
kaliatech / 0_reuse_code.js
Created March 13, 2014 12:50
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console