I am working on my first build and I have a paddle in my game that lets you bounce balls off of it. I want the paddle to be a green color but no matter what Ive tried, it just stays black. Any idea why? hers the coding I have in:
paddle = Paddle:new(“Assets/3krpaddle.png”)
physics.addBody(paddle, “static”, paddle.paddlePhysics)
gameGroup:insert(paddle)
paddle:addEventListener(“collision”, ballHitPaddle)
local paddleInteractBox = display.newRect(screenWidth/2, (screenHeight - screenHeight/4), screenWidth*3, screenHeight/2)
paddleInteractBox:setFillColor(0.1, 0.2, 0.3)
paddleInteractBox.isVisible = false
paddleInteractBox.isHitTestable = true
paddleInteractBox:addEventListener(“touch”, paddleTouch)
gameGroup:insert(paddleInteractBox)
I have tried changing the values of the setfillcolor but no luck there.
Thanks!