Skip to content

Instantly share code, notes, and snippets.

Privacy Policy for Arturito Productions

At Arturito Productions, accessible from, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by Arturito Productions and how we use it.

If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us.

This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in Arturito Productions. This policy is not applicable to any information collected offline or via channels other than this website.


fguillen /
Last active April 3, 2024 00:59
Godot preload and cache Shader Materials to avoid freeze in play mode
# Create a Scene with a Node
# Add this script to it
# Add the Scene to the Autoloads
# Fulfill the material Array with all the Materials that are causing freeze
# It also works with Materials from ParticlesSystems
extends Node
# Load the array through Inspector
fguillen /
Last active February 1, 2024 10:49
My Godot VS Unity compare list

Godot is worst (IMO)

  • No way to disable a node (godotengine/godot-proposals#370) neither in code :? (
  • Poorer script editor: No multi-cursor (possibility of integrate with VSCode)
  • No realtime Node/Component values on play mode (only explicit external variables)
  • Separate play window and When pause play mode the game screen is hidden
  • Less reactive editor interface. Drag and drop textures
  • Many tricks in KinematicBody like "is in floor" passing a special value to UP in move_and_slide
  • Using -1 to mean Default :?
  • External variables changes don't get activated until you blur the field
fguillen /
Last active March 7, 2024 17:41
The check box of the juiciness (A list of juicy elements to add to your videogame to make it feels good)

Visual embellishments (VEs) are design elements that support information already conveyed by other means. In games, this concept is known as juiciness, and refers to the provision of redundant feedback in situations where a single player action triggers multiple non-functional reactions.



  • Bounce animation (deformation)
  • Bounce effects (particles)
  • Scale based on velocity (lengthen in the direction)
fguillen /
Last active June 6, 2023 10:30
Godot GD script template with the order of the code sections
# meta-name: Code style template
# meta-description: Empty script with the order of the code sections
# -- 01 @tool
# -- 02 class_name
# -- 03 extends
extends _BASE_
# -- 04 # docstring
fguillen /
Last active August 3, 2022 22:10
Create SSL certificate using

How to create a ssl certificate using letsencrypt in your mac for your own domain

Install certbot

brew install certbot

Generate the certificate

using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
/// <summary>
/// Helper class to define a Tile and the associated treshold value on the perlin noise
/// </summary>
fguillen / SingletonScriptableObject.cs
Last active February 18, 2022 12:21
Singleton Scriptable Object for Unity
using UnityEngine;
// From here:
// Use it:
// 1) Create a subclass:
// public class MySingletonSO : SingletonScriptableObject<MySingletonSO> {}
// 2) Create the new Asset into the /Assets/Resources folder
// 3) Access to it:
// MySingletonSO.Instance
fguillen / Utils.cs
Created December 16, 2021 21:09
Utils library for Unity projects
using UnityEngine;
public class Utils
public static float AddNoise(float value)
return AddNoise(value, value / 2.0f);
public static float AddNoise(float value, float delta)
fguillen / Rails_Implementing_Invitation_Code_mechanism.diff
Last active October 1, 2021 15:03
Rails - Implementing Invitation Code mechanism
commit a656816e7d9498d32b52c6c9455e535466623ad9
Author: Fernando
Date: Fri Oct 1 12:23:37 2021 +0200
Invitation workflow
diff --git a/app/controllers/admin/invitations_controller.rb b/app/controllers/admin/invitations_controller.rb
new file mode 100644
index 0000000..93652c0
--- /dev/null