Quick Links: Gideros Home | Download Gideros | Developer Guide
Camera plugin not working
  • Tried to test functionality of the Camera plugin. This is the short sample code I tried it with:

      
    local tex = Texture.new("tex.png")
    stage:addChild(Bitmap.new(tex))
    camera.start(tex)


    It errored with the message "attempt to index global 'camera' (a nil value)", even though I added the "Camera" plugin. What am I doing wrong?
  • hgy29hgy29 +1 -1 (+2 / -0 )
    Maintainer
    at first sight I think you miss
    camera=require 'camera'

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with OpenID

In this Discussion

Top Posters