I am trying to display an image title titlepage_Bianca(1).png on the screen, using the code:
-
local Petnapped = require( “Petnapped” )
-
Petnapped.start()
3.
-
local titlepage_Bianca(1) = display.newImage( “titlepage_Bianca(1).png” )
-
titlepage_Bianca(1).x = 160; titlepage_Bianca(1).y = 195
All of the desired files are there, however when I try to run the project in Corona it comes up with the error:
e:\Petnapped\main.lua:4: syntax error near ‘=’
I tried the exact same thing with the physics example in the sample projects and it works with the same format. I have no clue how to fix this; any ideas?