Jump to content

reepblue

Developers
  • Posts

    2,483
  • Joined

  • Last visited

Everything posted by reepblue

  1. Please show an example of how you wish to do something. You might need to find another way of your implementation.
  2. With LE4, dofile isn't exposed. To call the lua script, you need to use "import" instead. This will run the lua script and put all the functions and variables in memory.
  3. I had some worries about the lua bindings with the new pointer system myself, but glad a new library does the job. I might look into Sol for my personal projects. The VSCode implementation seems really neat. My only criticism is that it ruins the "All in one package" model you have created for the current version if you decide to not do your own script editor. Regardless, VS Code is really nice, I use it all the time. I just wish it opened as fast as notepad or notepad++. I haven't had the time to really play with Leadwerks at all as of late. But I'm always looking forward to what's new in the engine. Oh yeah, as a kid I got called anti social because I liked to be on the computer a lot while being in the comfort of my home. I went to roller skating at a place last weekend and noticed that mostly everyone there was on their phones most of the time. I on the other hand left my phone in the car so it wouldn't get broken. The idea that people paid money for admission for a social event, to be on their phone is disgusting. Anyway, glad everything is working out.
  4. Hello, thank you for purchasing Luawerks. You can reset the settings to default by deleting the cfg file under users/AppData/GAME. Once you click apply, all settings in the panel get saved into memory and saved when the game closes. You can change the default window size by editing GraphicsWindow.lua. For any future questions about Luawerks, feel free to contact me.
  5. Hey all, I'm playing with VR and I wanted to create something you'd find in Robo Recall in which the player can change the direction they want to face after a teleport. I did the becon rotating and it was all ready to go until I found out that no matter If I rotated the camera or player, OpenVR took priority on what was north south east and west. Is there a way to do this in lua and/or C++? I have a Oculus Rift with very limited play space so I wanted to have this feature for playing around.
  6. Ahh, did not see your edited post. Mind posting that snip on the documentation page then so no one else looks like an idiot?
  7. From the documentation, it makes it like you can call specific functions after each animation. Working now, gotta make some adjustments though.
  8. I've uploaded the needed files to replicate this bug. If you press "T", the model will do it's attacking animation but the test function will fire as soon as you press "T", and not after the animation is done. Watch "Done!" pop up in the log in the script editor as soon as the animation starts! endhookbug.zip
  9. I guess an additional function of the sprite class would be better. The goal is to not have the user manually do the math to make a beam or cable. You're suggestion is much better than mine, but I can't easily add functions to existing classes so I was stuck making a new class.
  10. Please add/refine this class and put in the next Leadwerks update please. beam_class.zip
  11. I tried both the Rift and Vive and I find the Rift to me more ideal as not everyone has the space to do full room scale VR. I had issues playing Job Simulator, but I could play Robo Recall just fine (Minus me punching my ceiling light from time to time :)) The god ray effect on the Rift is AWFUL. I didn't notice them at first, but when I did, I thought my device was defective.
  12. I wasn't having any issue with my Rift before. I noticed that when I manually set the Tracking space to Roomscale it fixed the lens. I'll let you know.
  13. This is a side effect of the real time lighting system. All modern engines have this issue and ways they try to mute it; most commonly baking the lighting. A while back, Josh was experimenting on filtering out but this resulted in everything looking grainy. The code is still in the shaders commented out if you want to experiment with it.
  14. I've been waiting for this and the vertex tool for years now.
  15. No, he needs to do this: Use the dropdown to select the version that's installed.
  16. Luawerks has been updated to easily transform any game into a Seated VR compatible one. All what's needed is the application to be launched with "-vr". All what has been added is the tweak discussed here. While Luawerks isn't really ideal for Room scale VR, seated on the other hand works better. The center tracking call gets called every time the game gets unpaused. At this time, the UI doesn't work with VR. Keep in-mind that there might be some tweaking to your game to make it 100% VR compatible. For example, if you launch the FPS template map in VR, the bullets should be based on where the player is looking not the mouse position. Don't want have VR? No problem, this only effects the core files (Window, System, Time) and has no other changes to the UI. VR mode is just a bonus. Of course, you can force it to always boot into VR mode. About Luawerks Luawerks is a Lua framework for video games developed on the Leadwerks Game Engine. It supplies developers with additional functions, handles the game loop and allows them to debug their code with a developers console. With all that out of the way, you can focus on making your game fun! You can purchase Luawerks from the Leadwerks Workshop Store for $9.99. For documentation and bug reporting, please visit the GitHub page.
  17. After an update (When ever you pushed that) lens flares are fixed, but only when vsync is enabled.
  18. With my RX480, the lens flare flickers and vanishes. Disabling culling just downright makes it invisible. This might be a bug, didn't test it with my other machine yet.
  19. Only issue I ran into is the MSBuild version being wrong. Just make sure the project is set to the compiler version your VS installed.
  20. It's been quite a while since I posted here. All is well, and I now have some time to talk to you on where I've been and what I wish to do in the future. I started a job back in August and my enormous amount of free time dwindled to a few hours a day. However, I now have an income to support myself and buy new toys. I wanted to get into the Linux ecosystem and further distance myself from the Windows world. So for about $300, I've built a PC with an i3-6100, 4GB of DDR4 Ram, put it in a Mini-ITX case and ran Linux off an SSD. I love the machine, but there isn't really much I can use it for. I didn't put in a GPU in it due to driver inconsistencies, so everything runs off the integrated GPU, which can run HL2/Portal at 60fps at 720p; neat! I always wanted to dabble into programming for 2D. While working on 3D games is fun, working on 2D games can go a lot quicker and require less resources and as a solo developer that sounded dandy being the limited time I have now. I decided to buy a Raspberry Pi, and use SDL as my drawing library. I will not go into full detail, but the base operations are done, they just need the kinks worked out. Anyway, here is a tablet I assembled. I have two of em! I had to buy an element 14 PSU and it was cheaper to buy it with another Pi than stand alone; which in the end worked out as programming on that screen is dreadful. All in all, my last few months have been me doing that. I never really booted my new Linux machine nor my Windows PC. About a week ago or so, Josh contacted me about a concept I uploaded privately and how he wants it on the new game page. Although I don't think the prototype is good enough to be up there (it crashes, slow loading, etc), I'm definitely interested on picking it back up, and maybe opening it up as some sort of community project thing. All the code is done, it just needs optimization really. I accidentally deleted my source files but Josh was kind enough to decript the zip file. That got me interested back in that Mini-ITX PC I've built back in September. I have a RX480 in the closet that my neighbor gave me a while back (And thank frick, cause those GPU prices are ridiculous these days), and I didn't put it in any PCs before because of the rumblings of poor drivers on Linux, and I was happy with my 750ti for the most part. But I was thinking, maybe if I upgraded the processor and RAM, and installed windows on it I can make PC that's more powerful and smaller than my current Windows PC. Newegg for better or worse is (or was) having a Intel Sale and I got a i5-7600k for $200. I also picked up another 4GB of ram (cause prices are high on that too) in which bumps the machine from a dual core with 4GB of RAM to a Quad-core with 8GB of RAM! All I really need is a new Windows Licence and I'd like to keep my Linux install so I might buy a fresh SSD, but I think I'll just reuse the current one I have. I really hate that I went full circle back to windows, but as long as I keep using Linux and get more and more comfortable with it, if I have to jump ship, I can comfortably do so. I'm just not ready to abandon Windows completely right now. Today, is when I realized that I finally have a machine that can do VR. I decided to look at prices for the Rift and Vive to see if the prices went down as the demand settled. And to my luck (again for better or worse) Oculus was having a sale. I decided to go for it as I really don't have the space for full room VR, but now that Leadwerks is coming out with official VR support, I'd like to finally experiment with it! So my biggest worry is jamming everything in that small case. Yes, I have a modular power supply, and everything is still tight! Really hope I can fit the GPU in there!
  21. Wait, I thought you said lua's garbage collection would get in the way of VR? Shouldn't this be done in C++ or you're prototyping this first?
  22. Looking back on it, it's not done, but should get you started.
  23. Use a timer system like seen in TriggerDelay.lua Script.delay=1000--int "Delay" Script.activatetime=0 Script.maxHealth = 100 Script.healthRate = 2 -- 2 hp per second.. function Script:Regen() self.activatetime = Time:GetCurrent()+self.delay end function AddHealth(health) self.health = health end function Script:UpdatePhysics() if self.activatetime>0 then if Time:GetCurrent()>self.activatetime then self.activatetime=0 self:AddHealth(self.healthRate) end end end
  24. I think a while ago I did a sway system like how weapons in Source games behave. In which the gun is static unless the player is moving.
×
×
  • Create New...