Jump to content

SpiderPig

Members
  • Posts

    2,340
  • Joined

  • Last visited

Posts posted by SpiderPig

  1. I updated Leadwerks 3 this morning, created a new C++ project, opened it in VS 2010 Express and upon running it just crashes with the error ;

     

    Unhandled exception at 0x00e4e9c4 in MyProject.debug.exe: 0xC0000005: Access violation reading location 0x00000024.

     

     

    So I commented out all of the camera movement code to see where I'd end up, and I got a new error ;

     

     

    A buffer overrun has occurred in MyProject.debug.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program.

     

    For more details please see Help topic 'How to debug Buffer Overrun Issues'.

     

     

     

    Any Ideas?

  2. This may be a dumb question; but with mobile, how to rotate the game depending on which way you hold the phone? Should it be automatic or is it programmable by using "GetOrientation()"? if so, I've printed the results of "GetOrientation()" and it returns 0 regardless of pone orientation.

  3. I'm not sure if I'm setting up the character controller wrong or if it is a bug, but when I set the controller to move in a specific direction, it seems to wander slightly off track. If you compare the character to the lines on the floor model you can tell it's not moving exactly up,down,left or right.

    I created an example project and have attached it... dry.png Keys are W,A,S,D

  4. Hi, I'm getting the following error in lua; 'attempt to index global 'Map' (a nil value). sad.png

     

    function App:Start()
    
    --Set the application title
    self.title="MyGame"
    
    --Create a window
    self.window=Window:Create(self.title,0,0,1024,768,Window.Titlebar+Window.Center+8)
    --self.window:HideMouse()
    
    --Create the graphics context
    self.context=Context:Create(self.window,0)
    if self.context==nil then return false end
    
    --Create a world
    self.world=World:Create()
    
    --Load a map
    return Map:Load("Maps\start.map")
    end
    

×
×
  • Create New...