minor tweaks

This commit is contained in:
derek
2024-08-08 15:14:15 -05:00
parent 5b618f1ab8
commit b140e59ddd
9 changed files with 37 additions and 32 deletions

View File

@@ -5,40 +5,28 @@ var start_position
const SPEED = 3
const SCALE_SPEED = 80
var taunts = ["tee hee",
var taunts = ["hows your gut now you big cup of dumdum juice?",
"you're all tit and no nipple",
"you might be the shit, but i'm the wet wipe",
"ruh roh raggy, retard!",
"you look gay when you die.",
"maclunkey!",
"did i do that?",
"eat a bag of dicks",
"better luck next time",
"that's gotta hurt",
"did i do that",
"who? me?",
"another one down for me",
"niiiiiiiiice",
"the trick is to not get hit",
"try winning?"]
"schwing!",
"go fuck yourself",
"hee hee",
"stop trying",
"yowza!"]
# Called when the node enters the scene tree for the first time.
func _ready():
start_position = position
var rand_scale = randf_range(.5,1.5)
scale.x = .5 * rand_scale
scale.y = .5 * rand_scale
scale.x = .5
scale.y = .5
text = taunts.pick_random()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
#scale.x = lerp(0,1,SCALE_SPEED * delta )
#scale.y = lerp(0,1,SCALE_SPEED * delta)
#position.y += SPEED * delta
var position_diff = clamp((position.y - start_position.y)/5,0,1)
modulate = Color(1, 1, 1,1 - position_diff)
outline_modulate = Color(0, 0, 0, 1 - position_diff)
if position_diff == 1:
queue_free()
pass