Profile

pong-together

← Back to repositories | View on GitHub

Pong, but wireless multiplayer.

GDScript 1 0 Updated: 12/15/2025

ceiling.gd

extends Area2D

var ball = false
@export var _bounce_direction = 1


func _on_area_entered(area):
	if area.ball:
		area.direction = (area.direction + Vector2(0, _bounce_direction)).normalized()