Search found 1 match

by goopdev
Sat Aug 27, 2016 2:38 am
Forum: Support and Development
Topic: Having trouble drawing each object in table
Replies: 6
Views: 1886

Having trouble drawing each object in table

Hey, I'm making a test project that draws ten objects in a table. The problem is that it only draws a single one of the blocks that I instantiate: https://i.imgsafe.org/0fcda01852.png Here's the code: texture = nil -- Block class Block = {pos, colorIndex} function Block:new(x, y) self.x = x self.y =...