Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on July 17, 2019 at 10:08 AM

New Paste 1 (Text)

extends "res://Scripts/Skills/skill_main.gd"

var counter = 0
var GRAVITY = 5

var directional_force = Vector2()

func _ready():
	speed = 100

	# The bomb should shoot up and land at incoming_mouse_position's position
	velocity.x = incoming_angle.x  
	velocity.y = incoming_angle.y
 
	print(incoming_mouse_position.distance_to(global_position))
	
func _process(delta):
	velocity.y += GRAVITY * delta  
	global_position.x += velocity.x * delta * speed
	global_position.y += velocity.y * delta * speed
	
	
	if global_position.distance_to(incoming_mouse_position) < 10:
		queue_free()