Hello! I wanted to make a game for the iphone and my friend told me that Corona SDK is a good game engine to help you create games in lua. I am taking some tutorials on how to create games and on one tutorial they gave me this code:
display.setDefault("background", 255, 255, 255) local wall = display.newRect(display.contentWidth / 2, display.contentHeight / 2, display.contentWidth, display.contentHeight); wall:setFillColor(black)
For them, the code makes a black rectangle fill up the whole screen but for me, the white background is still showing with the black rectangle in front of it. Screenshot (16).png 17.31KB 0 downloads I don't know what to do and it is hard for me to figure out what to do because I am a beginner. Please make your answer easy to understand and don't link me to a complicated post. I tried everything. I looked if it was just the device that did it so I tried it on every single other device but it still had the white lines. The device I am using is an iPhone 5 because that is the phone I use in real life. I also don't know the proper section to post this in because I don't use forums that much but since this is a lua problem I am guessing this belongs in the lua section.