Skip to content

Instantly share code, notes, and snippets.

View bitbrain's full-sized avatar
⚒️
Forging an RPG

miguel bitbrain

⚒️
Forging an RPG
View GitHub Profile
@WolfgangSenff
WolfgangSenff / gist:168cb0cbd486c8c9cd507f232165b976
Last active September 24, 2024 07:18
Godot 4.0 Migration/Upgrade guide
## For a beginner-friendly version of the following (more advanced users likely will get better use of the below,
## if you're just starting out...), see this new gist:
## https://gist.github.com/WolfgangSenff/0a9c1d800db42a9a9441b2d0288ed0fd
This document represents the beginning of an upgrade or migration document for GDScript 2.0 and Godot 4.0. I'm focusing on 2D
at the moment as I'm upgrading a 2D game, but will hopefully have more to add for 3D afterward.
## If you want more content like this, please help fund my cat's medical bills at https://ko-fi.com/kyleszklenski - thank you very much! On to the migration guide.
@nddrylliog
nddrylliog / cookieclicker.js
Created October 23, 2013 16:01
Dumb automation for CookieClicker
var t = setInterval(function() { $('#bigCookie').click() }, 1);
var t2 = setInterval(function() { Game.UpgradesInStore[0].buy() }, 20);
var t3 = setInterval(function() { $p = $('.product.enabled'); if ($p) { $p.click(); } }, 200);
var t4 = setInterval(function() { $p = $('#goldenCookie'); if ($p) { $p.click() }}, 200);