does everything have to be inside of like a .draw function? like player.draw. if i wanted to make a map completely out of shapes, do i have to name it map.draw? i really dont know. im confused.
sorry if im not making sense.
making things work
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: making things work
The only mandatory function name is the global love.draw, and that's only mandatory if you don't redefine love.run in a way that changes it.
It's customary, but not mandatory, to name the individual functions called by that one 'draw' too. Calling them depends on you, so you can call them however you want.
Some libraries may have certain naming requirements. If you're using a third party library, check that library's details.
It's customary, but not mandatory, to name the individual functions called by that one 'draw' too. Calling them depends on you, so you can call them however you want.
Some libraries may have certain naming requirements. If you're using a third party library, check that library's details.
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot] and 3 guests