BUG WORLD :D

This commit is contained in:
pennyrigate 2023-09-15 21:24:41 -04:00
parent 9ff570e869
commit b0795001c0
11 changed files with 347 additions and 0 deletions

15
menus/sockbug.gd Normal file
View file

@ -0,0 +1,15 @@
extends AnimatedSprite
export var speed = Vector2(100,0)
# Called when the node enters the scene tree for the first time.
func _physics_process(delta):
position += speed * delta
if position.x > 300:
position.x = 0
if position.x < 0:
position.x = 300
if position.y > 252:
position.y = 0
if position.y < 0:
position.y = 252