balls = {}
function Ball:init(x, y, skin)
self.skin = skin
self.x = x
self.y = y
self.width = 8
self.height = 8
self.dy = 0
self.dx = 0
end
function addBalls(x, y)
local ball = Ball:init(x, y)
table.insert(balls, ball)
end
GD50 falls under CS50 (maybe it's the other way around, but you get the point).
Their tutorials were "great" back in the day, but they were posted at a time when Love2D was about to get a backwards-incompatible update. So, the spoon-fed nature of the tutorials collapsed as time goes on.
Even looking at the recent comments for their Pong Tutorial, beginners struggle because of a conflict with today's version Love2d, and the version of push.lua they were using at that time.
Add to that the people who don't even realize that push is an external library someone else made, and is not part of löve either...
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.