Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- doesn't work
- if itemView[11] == "itemSprite" then
- layout.elements.Item11: play("itemSprite")
- pickUpHighlight.alpha = .4
- else
- pickUpHighlight.alpha = .4
- --------
- /Users/eric/Documents/CRPG/scene_game.lua:542: in function 'drawTerrain'
- Runtime error
- /Users/eric/Documents/CRPG/scene_game.lua:575: attempt to index global 'pickUpHighlight' (a nil value)
- works...
- if itemView[11] == "itemSprite" then
- layout.elements.Item11: play("itemSprite")
- -- pickUpHighlight.alpha = .4
- else
- pickUpHighlight.alpha = .4
- print ("play Item11")
Advertisement
Add Comment
Please, Sign In to add comment