Search found 1 match

by river2056
Sun Nov 28, 2021 5:12 am
Forum: General
Topic: Object-Oriented Programming in Love2D(Lua)
Replies: 1
Views: 4806

Object-Oriented Programming in Love2D(Lua)

I got interested in Love2D and Lua and decided to give it a try. So in order to get familiar both with Lua and Love2D, I code out an easy sample: Project Struture: demo |-ball.lua |-main.lua ball.lua ``` Ball = { x = 0, y = 0, xSpeed = 0, ySpeed = 0, ballRadius = 0, r = 0, g = 0, b = 0 } function Ba...