Skip to content

Instantly share code, notes, and snippets.

View scriptsengineer's full-sized avatar
🔨
Building a sentry

Rafael Correa scriptsengineer

🔨
Building a sentry
View GitHub Profile
[configuration]
entry_symbol = "steam_multiplayer_peer_init"
compatibility_minimum = 4.1
[libraries]
macos.debug = "osx/libsteam-multiplayer-peer.macos.template_debug.framework"
macos.release = "osx/libsteam-multiplayer-peer.macos.template_release.framework"
windows.debug.x86_64 = "win64/steam-multiplayer-peer.windows.template_debug.x86_64.dll"
windows.debug.x86_32 = "win32/steam-multiplayer-peer.windows.template_debug.x86_32.dll"
windows.release.x86_64 = "win64/steam-multiplayer-peer.windows.template_release.x86_64.dll"
@scriptsengineer
scriptsengineer / stats.gd
Last active November 24, 2022 16:44
Stats.gd
class_name Stats
extends CanvasLayer
@export_node_path(Container) var container_path := NodePath("Container")
@onready var container: Container = get_node(container_path)
var stats : Array
var labels : Array
@scriptsengineer
scriptsengineer / pixel_perfect.gd
Created April 18, 2022 17:36 — forked from CowThing/pixel_perfect.gd
Pixel perfect scaling script for Godot 3.1
extends Node
"""
An autoload singleton for pixel perfect rendering of the game.
Set this script as an autoload.
`base_size` - Is the target size of the viewport. The viewport will scale up to fit the largest
possible integer multiple of this size within the window.
`expand` - If true the viewport will expand to the edges of the window after scaling up.
@scriptsengineer
scriptsengineer / SHorizontalLayoutGroup.cs
Created November 28, 2021 15:26 — forked from codorizzi/HorizontalOrVerticalLayoutGroupEditor.cs
Unity - Smooth Layout Group (using DoTween)
using UnityEngine;
namespace GameAssets.Scripts.Utility.SLayout
{
[AddComponentMenu("Layout/SHorizontal Layout Group", 150)]
public class SHorizontalLayoutGroup : SHorizontalOrVerticalLayoutGroup
{
protected SHorizontalLayoutGroup()
{}
@scriptsengineer
scriptsengineer / UDPSocket.cs
Created September 7, 2019 03:47 — forked from darkguy2008/UDPSocket.cs
Simple C# UDP server/client in 56 lines
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace UDP
{
public class UDPSocket
{
private Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
@scriptsengineer
scriptsengineer / app_.gitignore
Created May 18, 2015 23:03
Projeto de testes de fragments android.
/build