Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'Programming'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Code
  • Games
  • Materials
  • Models
  • Sounds
  • Tools


  • Development Blog
  • Canardian's Blog
  • Beyond Civilization Blog Ext
  • Tyler's Blog
  • macklebee's Blog
  • B-Byrnes' Blog
  • Marleys Ghost's Blog
  • omid3098's Blog
  • Richardsimpo123456's Blog
  • DJDD's Blog
  • Rick's Blog
  • --
  • xtreampb's Blog
  • Economically Disadvantaged
  • Eternal Crisis
  • klepto2's Blog
  • Lazlo's Blog
  • Old Blog
  • Chris Paulson's Blog
  • Davaris' Blog
  • nil
  • Rekindled Phoenix's Blog
  • Flexman's Blog
  • Kattemaksu Online
  • Poking around
  • Marcousik's Creations Blog
  • EVE LBS Studio
  • Rendering puzzles
  • Screen Size Utility
  • Niosop's Blog
  • 1299 RTS Game Project
  • Blitzbat's Blog
  • gordonramp's Blog
  • Andy Gilbert's Blog
  • Marcus' Blog
  • JornAggror Blog
  • diedir's Blog
  • wayneg's Blog
  • Masterxilo's Blog
  • Dave Lee's Blog
  • peubuy's blog
  • OD Arts -Leadwerks Blog
  • The progression......
  • Leadwerks Company Blog
  • The Progression
  • Pancake's Blog
  • Test Blog
  • BLaBZ Blog
  • Pure³d's Blog
  • dreamhead Blog
  • RVL's Blog
  • DB's Blog
  • Toxin Games Development Blog
  • CombatHelo Blog (RSS Import)
  • Foolish's Blog
  • ZioRed's Corner
  • Toxin Games Twitter
  • Shard - Third Initiative
  • Shard's Blog
  • Soamp's Blog
  • Soamp's Blog
  • Laurens' Blog
  • JT`s warehouse district
  • Kennar's Blog
  • KiteFuchs' Blog
  • KiteFuchs' Blog
  • Rachel's Dev-Blog
  • Eagle's Blog
  • zaphos' Blog
  • please delete this blog
  • Afke's Blog
  • Richard Simpson
  • knowledgegranted's Blog
  • EdzUp(GD)'s Blog
  • aGameLife's Kelasel MMORPG Blog
  • tournamentdan's Blog
  • Beyond Civilization Blog
  • smashthewindow
  • AnniXa's Blog
  • AnniXa's Blog
  • Elemental Development
  • DigitalHax Blog
  • Aria's Blog
  • Strogg76's Blog
  • Clackdor's Blog
  • Leadwerks Project Status
  • simpleprogrammer's Blog
  • Pathfinding in LE.2.x
  • Naughty Alien's Blog
  • smashthewindow's Blog
  • Ali Salehi's Blog
  • Jardar's Blog
  • Chris Vossen's Development Blog
  • Scarlet Thread Studios' Blog
  • Kronos' Blog
  • Benton's Blog
  • ChrisV's Blog
  • tjheldna's Blog
  • shadmar's Blog
  • 3D Masons, LLC
  • Andy Gilbert's Enviro Models
  • ParaToxic's Blog
  • NarkLord's Blog
  • ChrisMAN's Blog
  • ChrisMAN's Blog
  • CGMan's Blog
  • The Game
  • Chris Tutorials
  • Leadwerks 3 Experience
  • An Alien Saga
  • klepto2 & Leadwerks 3
  • Inside the mind of eternal insomniac
  • josk's Blog
  • Shader Development in Leadwerks 3.1
  • 3D Coat : Column game making of
  • Einlander's Blog
  • Ginger George's Blog
  • I have a problem
  • Michael_J's Blog
  • nasamydifol's Blog
  • Digman's Blog
  • noesisGUI
  • SavageDogg38's Blog
  • Built from Ruins
  • Remaining Days
  • test_external_blog
  • The Hunt For Food Blog
  • Crazy Minnow Studio
  • CrazyMinnowStudio
  • Guppy's Blog
  • Playing Online
  • Evayr's Blog
  • DerRidda's Blog
  • Karl's Blog
  • whiterabbit's Blog
  • Tinyboss Games
  • abendkleider's Blog
  • sacguccireplica's Blog
  • Arena
  • Imchasinyou's Blog
  • xtom's Blog
  • Lua is better than you think.
  • mdgunn's Blog
  • Crime Closer
  • lxFirebal69xl's Blog
  • Wedmer's Blog
  • Lockdown, going forward.
  • Pump-Action Captain
  • Igor's Blog
  • Dead Anyway
  • Runenrise and more
  • reepblue's Blog
  • ScrotieFlapWack's Blog
  • LUA Musings
  • severjack's Blog
  • mikeporter's Blog
  • miko93's Blog
  • Megalocerous' Blog
  • lxFirebal69xl's Blog
  • aiaf's Blog
  • Lostghbear's Blog
  • echo $BLOG_NAME > blog_title.tmpl
  • johnadam111's Blog
  • Dwarf Beard
  • burgelkat's Blog
  • Charrua's Blog
  • peterpaul's Blog
  • joshmathews' Blog
  • Martin Kearl's Blog
  • Brutile's blog
  • tipforeveryone's Blog
  • Glushchenko Blog
  • Express Lab Games Blog
  • Blueapples' Blog
  • DooMAGE's Blog
  • Structura devblog
  • jen's Blog
  • martyj's Blog
  • Dragonfreak's Blog
  • Brutile's Blog
  • assigmenthelp
  • Case Study Assignment Help
  • How to deal with bad grade ?
  • How to deal with bad grade ?
  • GameDev Blog
  • devcjohnson's Blog
  • devcjohnson's Blog
  • THE WHAT? Blog
  • The Demurian Scribe
  • GUI Editor
  • GUI Tutorial
  • noob_shaders
  • The Seventh World
  • Phodex Games Blog
  • Insect Kingdoms
  • Leadwerks VS Source 2
  • Work in Progress - Scifi PBR Media
  • [C++] First Player game start
  • The Blog of Yue
  • Snowboarding Development Blog
  • Ocean: Rendering in Leadwerks 4
  • The making of Twisted Minds
  • Ultra App Kit (Advanced Custom Widgets)
  • Poking around


  • Software
    • General Discussion
    • Programming
    • Game Artwork
    • Showcase
    • Suggestion Box
    • Bug Reports
  • Platforms
    • Windows
    • macOS
    • Linux


  • Games
  • Tutorials
  • Work in Progress

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





  1. I loaded up the multiplayer example but it did not show any signs of being online. How do you use it ? There was no chat on and no signs of being online just a blank walled off room that has an FPS player to walk around and that is it. I was hoping to see a working small example template of a multiplayer game in action just to see how it is done. Instead all there is is a blank FPS walk around room !
  2. Hey guys, Besides the YouTube videos from the Leadwerks Channel, anyone know of some good LUA tutorials for Leadwerks? Any help appreciated! Thanks
  3. Hi This is probably a noob question regarding the IDE. I had been able to open Lua scripts in the editor in the past; however, a source code window is not available. What am I missing? TIA J
  4. Is it possible to load external modules such as MQTT? If so, is there any documentation on how this can be done? I have a good amount of programming background but haven't done much scripting with Lua until recently. I've read something regarding Lua Rocks; however, the tool is looking for a lua.exe binary. Thanks!
  5. Hi, I pretty often encounter the followning problem: I need something to be called before, or after the Start function of an script. My actual problem is that I have an NPC and his "Load" function (I wrote by myself) is called before the script actually is initiated. The problem is, in the load function some values are set (like npc health) but then the script gets initiated and the script uses the default script value of 100% health and the loading does not work. A workaround I found is to use the first step of the update function but I find this not very smart. Here an example:
  6. Hi, I have a general inventory script attached to every object, which should have an inventory. In the script settings of the inventory script I put an "firstSlotOffset" value, to adjust where the inventory starts to render its slots. In code this looks like that: Script.firstSlotOffset = Vec2(0, 0) --Vec2 "Slot Offs." In the start function I do some calculation: self.firstSlotOffset.x = self.firstSlotOffset.x * context:GetWidth() self.firstSlotOffset.y = self.firstSlotOffset.y * context:GetHeight() The problem is if I load to another map and back to some other map the self.
  7. Just a quick question, I've been exploring the technologies of other engines and I've seen some very unique lighting techniques for global illumination in real-time. Is there any technology implemented within the Leadwerks to allow this feature, or is there any way to implement Nvidia's tech (Voxel-based Global Illumination, as seen in the Unreal Engine) through the use of their GameWorks SDK which requires direct contact to the OpenGL implementation (I believe, don't quote me on this)?
  8. EDIT: Just found out that the error was somewhere else ^^. The below code just works fine. Anyway thank you for the help :). Hi there, I faced some weird behavior, testing and debugging my project. The following shows the structure of my code, it would be very kind of you, if you could tell me if you can find any error, because I dont. Maybe I messed around with global/local/script variables, which I know, often cause such errors. Explanation: Of course this script makes no sense, but it should only representate the structure, because it would be way to complicated to
  9. Hello, I have recently purchased the Leadwerks game engine and Professional DLC. The DLC is installed correctly and I can see the .cpp source files in the script editor. I was about to create a few of my own classes but noticed that although I can open .cpp files in the editor I am only able to save new source files in .lua Does the built in script editor support new .cpp files, what am I missing? Cheers.
  10. 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
  11. I was looking into improving the already implemented flashlight, but unfortunately my limited coding knowledge made me stuck pretty quickly, so here was my idea. Have a flashlight model be a child of the fpsplayer (so it follows the mouses movement), line it up so it looks good, make a spotlight coming out of it, and then implement Hankinator's battery script to work with the new spotlight. Battery script: http://www.leadwerks.com/werkspace/topic/12783-flashlight-battery-tutorial/page__hl__flashlight Problem is, I can't really figure out how to make it so that when the pla
  12. I'm in the process of making my first game, so i went to Leadwerks and started creating things. The problem comes when I want to make that a door opens when 2 pressure plates are activated. So, i wrote this code to create a "switch" that requires 2 inputs to output a signal to the door (in the flowgraph editor), but it doesn't work... function Script:Start() bool1 = false bool2 = false end function Script:Input1() --in bool1 = true end function Script:Input2() --in bool2 = true end if (bool1 == true and bool2 == true) then self.component:CallOutputs("Output
  13. After a long while of inactivity on the forums, I wanted to take the time and share my boilerplate and base game application, in c++, for the Leadwerks game engine. The source can be found here. This project uses V$ 2013, C++11 and Leadwerks 3.X. There are currently no external dependencies outside from the full version of Leadwerks Game Engine, on Steam. If you have any problems setting up the application just let me know. I will gladly assist in any way possible. You should be able to clone/download the repo, drag in the Leadwerks asset folders, and be on your way! What it includes:
  14. Hi, I created a simple cube to animate with two bones on Blender 2.75a, and exported on FBX animation... Importing with Leadwerks and i don't see animation but only with two bones already created, please help me how to see for animation, have i missing it something ? There is a file to check what is wrong.
  15. Hello, There are tutorials with examples for shader ? I want to understand quite deep how it works on Leadwerks. Thanks !
  16. This is a link to the topic in the Programming area, but I am guessing it is really a GNU/Linux matter: http://www.leadwerks.com/werkspace/topic/14289-material-patches-missing-on-model/ Do any other GNU/Linux users encounter this problem with setting up models?
  17. Friendly Greetings! I am an intermediate programmer that just wants to get acclimated with the Leadwerks 3D game engine and the Lua language. Can someone point me in the right direction? Thank you in advance.
  18. I am trying to make it so when you press space it advances to the next map, but am having a little trouble. I have it embedded in the Player (for the ball game template). Here's what I have Script.mapname=""--string "Map Name" if self.levelcomplete then if window:KeyHit(Key.Space) then return Map:Load("Maps/"..self.mapname) end When I hit space, the text disappears and reappers really fast. It's doing something, but I don't know what. Are there any suggestions???
  19. Hello people. I am working on a new Marble Run like game (Because I may or may not have deleted my first one...). I have a few quick questions though 1. How do you add a start menu with a way to start a new game, and a way to choose different worlds. I sort of had in mind a thing like where it would show a picture with a yellow box around it, and you choose world 1 or world 2, but just have no clue what I am doing 2. How do you add a logo-animation at the beginning of the game while it loads (Like how valve has the guy with the valve in his head at the beginning of portal/halflife/ever
  20. I'm trying to create a script that spawns an object every so often at a set time, but I keep getting a script error that says " '=' expected near 'function'". I'm new to programming and have no clue what that means. here's a screenshot of it in context. ANy help would be very appreciated. Script.spawnObject = "" --entity "Object" Script.spawnTimer = 1.5 --float "Spawn timer" Script.timer function Script:UpdateWorld() self.timer = self.timer + (Time:GetSpeed()/100) if(self.timer > self.spawnTimer) then local newObject = self.spawnObject:Instance() newObject:SetPosition(self.entity:G
  21. I have something like: for(j=0; j<columnsNumber; j++) { for(i=0; i<rowsNumber; i++) { bufferMatix[j][i] = sourceMatrix[i][j]; } But it works only when rowsNumber=colsNumber Thanks!
  22. 5 years ago I wanted to learn programming. Still don't know how they make a script for a game. I mean i know how to make make up a website with HTML and CSS. But i guess that is something totally different. A lot of people say that programming is pretty easy once you know the basics. Like Variables Loops and something new I've learned Tables. i mean u can tell me what a Loop is but i will never shake this out of my head >>> --Create a window window = Window:Create() --Create a rendering context context = Context:Create(window) --While loop while window:KeyHit(Key.
  23. How do you program something to appear in the Flow Graph editor with an output and an input?
  24. When I started the engine I thought I should combine the Lua and C++. For example scripts to do on Lua ,game logic and mechanics on C++. But everything you can write in C++, you can also write and Lua and I thought - does it make sense to combine Lua and C++? Are there any advantages in the combination of two languages?
  25. 1. I have been searching in the Internet and found a Rover model: http://opengameart.org/content/mars-rover When I open it up in Blender, it says the rotation is 000, as well as the location. But when I import it inside Leadwerks, it says that the rotation is 90,0,0 (it is rotated right, but it should be 0,0,0). That is why there are some problems with the car script. 2 The car script does not work on the rover, even if all physics are adjusted as same as the prefab car, the rover tires have some weird position and only the starting sound appears to work. 3. So now I taught I will make it
  • Create New...