[Help] - Editing draw function?

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
fatboysraidmcdonalds
Posts: 29
Joined: 07 Dec 2013, 16:14

Post » 08 Mar 2014, 18:49

So, I'm making a mod where you can splitscreen. However, I'm having a little difficulty making the objects display correctly. I need to edit the :draw() function that every entity has. But I don't know where to find this function so I can edit it. Anyone know where to find this function?

User avatar
I LÖVE LUA
Posts: 222
Joined: 12 Aug 2013, 13:19

Post » 09 Mar 2014, 10:12

fatboysraidmcdonalds wrote:the :draw() function that every entity has.
The function for each entity is in its own file.

Exemple: bowser.lua, box.lua, flower.lua, ...

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 09 Mar 2014, 14:26

Splitscreen should be possible without having to edit each entity. I was going to do that to my mod (and maybe I still will).
Just go to game.lua and make the split screen there, using love.graphics.setScissor()...

Post Reply