[Help] - Editing draw function?
- fatboysraidmcdonalds
- Posts: 29
- Joined: 07 Dec 2013, 16:14
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?
- I LÖVE LUA
- Posts: 222
- Joined: 12 Aug 2013, 13:19
The function for each entity is in its own file.fatboysraidmcdonalds wrote:the :draw() function that every entity has.
Exemple: bowser.lua, box.lua, flower.lua, ...
- HugoBDesigner
- Posts: 2188
- Joined: 19 Sep 2012, 02:23
- Contact:
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()...
Just go to game.lua and make the split screen there, using love.graphics.setScissor()...