Skip to content

Instantly share code, notes, and snippets.

View Pickachu's full-sized avatar
🔥
Destruindo tuto

Heitor Salazar Baldelli Pickachu

🔥
Destruindo tuto
View GitHub Profile
@conorbuck
conorbuck / angle-between-points.js
Created May 5, 2012 22:51
JavaScript: Find the angle between two points
var p1 = {
x: 20,
y: 20
};
var p2 = {
x: 40,
y: 40
};
@angus-c
angus-c / advice.js
Created June 3, 2012 20:12
an advice functional mixin
//usage
withAdvice.call(targetObject);
//mixin augments target object with around, before and after methods
//method is the base method, advice is the augmenting function
withAdvice: function() {
['before', 'after', 'around'].forEach(function(m) {
this[m] = function(method, advice) {
if (typeof this[method] == 'function') {
return this[method] = fn[m](this[method], advice);
@marco-martins
marco-martins / jquery.transliterate.coffee
Created April 4, 2014 09:39
Plugin that will replace diacritic characters with the closest-looking characters
# File: jquery.transliterate.coffee
# Author: Marco Martins | https://github.com/skarface
# Version: 1.0
# Info:
# Prototype based on Backbone.Paginator plugin that will replace diacritic characters with the closest-looking characters
# Credits: https://github.com/backbone-paginator/backbone.paginator/blob/master/plugins/diacritic.js
#
# Usage: String.transliterate()
# e.g 'Jérôme'.transliterate() => Jerome
@raysan5
raysan5 / custom_game_engines_small_study.md
Last active July 21, 2024 06:51
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