-
Posts
2,340 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by SpiderPig
-
-
What's the correct way to handle GetKeyValue() & SetKeyValue() in Lua now, so I can make custom keys?
-
That fixed the problem. Thanks.
-
Here's MyProject.zip, just in case you need it.
-
Hmm, I wonder what I'm doing wrong then... I might try a clean install later and see if that works.
-
Roger that. Thanks.
-
Didn't work, I cleaned the solution and the project.
-
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?
-
self.world:Clear() in Lua throws an error....
attempt to call method 'Clear' (a nil value)
....or is that what you meant by you forgot to tag it for lua?
-
Awesome, Thanks!
-
Aggror's correct. I want to load different levels as the game progresses. Currently if I load level 1 then load level 2, both levels are merged....I may have to figure out a different method.....
-
I mean I can load a map with Map:Load () which returns its success as true or false...
But is there a Map:Release () function? Or a way to easily remove the contents of that map from the game?
-
Can you free / release a loaded map?
-
They are materials. They are in the materials/developer folder.
-
Okay, so if I'm understanding this correctly, GetOrientation() doesn't detect which way the user is holding their device... that would be the job of the accelerometer, yes?
-
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.
-
Ah, that's the Character Rotation... half of it's name is not visible perhaps that's why I didn't pick it up.... actually I've noticed that any properties text that's above a certain length gets moved to a new line and is chopped off...
Any way it's fixed now, thanks.
-
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... Keys are W,A,S,D
-
Works perfectly now. Thanks
- 1
-
I copied "NDK Builder.launch" from the template into my project and got a different error...
"Errors running builder 'Integrated External Tool Builder' on project 'Test'.
The file does not exist for the external tool named NDK Builder."
EDIT : @ Josh, Okay
-
Thanks. Now I am getting this error when I build my project in Eclipse...
"Errors running builder 'Integrated External Tool Builder' on project 'Test'.
The builder launch configuration could not be found."
-
I have the same error, except it shows in the editors console window...
-
Okay, Hope it's an easy fix!
-
Hi, how to set up an object to only detect a collision? I have tried the "trigger" option which works fine until I save it as a prefab and then use the prefab which results in a physical collision...
-
Hi, I'm getting the following error in lua; 'attempt to index global 'Map' (a nil value).
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
GetKeyValue() & SetKeyValue() in lua
in Programming
Posted
I mean in a script attached to the entity, so when I call SetKeyValue() from C++ I can perform Lua code on that entity.