Search the Community
Showing results for tags 'code'.
-
Just some background: i am making a game for a research project for school. I have no prior experience with coding so I'm a bit dumb Here's my question: How do i code in my animations? there are a lot of little things out there but they don't help me, i would appreciate it if someone were to explain it to me for my specific case. i have all of the animations done, i made them in blender. so far the only code i have is from these two posts, however i've moved the camera so that it is from a third person view: this whole animation thing has really been demotivating
-
I discovered that there can only be one eventqueue in leadwerks. I wanted local eventqueue instances, so I created a lua based version of EventQueue called EventQueueEx It is initialized as such: MyQueue = EventQueueEx:Create() It is used EXACTLY the same as the Leadwerks version.
-
- script
- eventqueueex
-
(and 3 more)
Tagged with:
-
Hey there, Just wondering if there is a place to find scripts made by others that are ready to use? I know Leadwerks comes with some, but I'd like to play around with some others too. I've had a quick look around, can't seem to find any or maybe I just missed them all completely. Thanks
- 6 replies
-
- Scripts
- programming
-
(and 2 more)
Tagged with:
-
This is a query more than anything. As I read the documentation both Script:UpdateWorld() and Script:UpdatePhysics() are both initiated by a single call to World::Update(). In fact the physics is a child of world and is always(?) invoked. So it appears that the separation is more a conceptual one rather than a functional one. The only reason I can think of is by putting all physics in UpdatePhysics then if (I'm not sure) that is invoked first you would know that all physics updates have been applied before you do any other world level checks/logic. So is that it or am I missin
-
I've been staring at this code for way too long and now I need different brains to look at it. This is the beginnings of a 3rd person character controller. I am now working at adding mouse look features but there seems to be a bug when the camera is at specific angles, notable y45 and y270. At those specific locations the camera glitches out. I will give it another try tomorrow, and no I don't want to create a pivot and anchor the camera to it and spin that --[[ Title: Third Person Controller Author: Einlander Start Date: 1-30-2016 Version:
-
SetColor(1,1,1, 0.5) don't work(For each models in fame). I've tried everything. Help, please. What am i doing wrong?
-
Did anyone know, how to create effects like in ?Code sample, if possible
-
If you now, fast objekts skip collision check and move through other objekts. Have engine any standart methods preventing it?
-
When i create surface it look like it does not reflect light — very-very dark. What parameter setting it?
- 10 replies
-
- C++
- Programming
-
(and 3 more)
Tagged with:
-
What i need to setup qraphics to model like in editor? Open GL support all af this, but i don't know how turn on this methods
-
Have anyone code exapmles with buffers using? In wiki it is VERY old
-
Hi. How to check collision whith trigger and other objects and return this objects adress? In C++
-
- C++
- Programming
-
(and 2 more)
Tagged with:
-
So, i want create models in real time via set vertices of this model, but model class have not similar functions
-
So, i wanna project image that "see" camera at other place. How i can do that? I think, it have function simple fo this goal
- 3 replies
-
- Cameratexture
- C++
-
(and 2 more)
Tagged with:
-
I thought you should know that the last update rendered the default fpsplayer code unable to look up or down. I have my own fps code I use, but thought I should tell you. Thank you.
-
Hey so I have been messing around with the map changer that came with leadwerks (copied it and renamed it so I have the original still) to choose between random seed maps (initial starting areas the rest is generated) but when it tried to change maps it crashes or gives me a lua stack overflow issue. Is there something wrong with my code? Here it is. --[[ This script will act as a trigger to change the current map. Place this at the end of your map to make the player progress to the next level. ]]-- Script.mapname={} Script.mapname[0] = "" --string "Map Name" Script.mapname[1] = "" --string
-
I believe this is a bug. When I put a pick-up code on an item (weapons collectables ect) and choose the mesh for it to represent, the (in case of the weapons) mesh chosen will show close to the pick-up mesh. Also if you have a weapon equipped then the mesh doesn't disappear when you pick up the pick-up. here is a pic of what appears with the pick-ups ( a few steps away)
-
Hello everyone, I am creating a game where the player has to use physics to navigate the level, such as stacking objects to create stairs to get to a point, etc. In said game, the player can accidently drop objects off the level or get them destroyed by other forces. I would like to implement a feature where the player can hit a key and the level and all scripts, lighting, etc. is reloaded. This code must be in C++. How can I do this? Please help. Thanks.
-
It's the holiday season again. As the forest air reaches freezing temperatures, I break out the ice shaver for my windshield. It's a time for celebrating family, sharing thanks for what we have, and behavior sets. That's right, fuzzy-logic for AI in-game. Since the world designers for the game won't have access to the direct behaviors, (nor the programming skills to code such things) I've managed to find some use for the custom Entity keys on objects in the Sandbox! Each entity will have actions assigned to a set of situations. Think of it like 'IF' statements that world builders have acce