Jump to content

drarem

Members
  • Posts

    234
  • Joined

  • Last visited

Everything posted by drarem

  1. If powers of 2 was obsolete with opengl 2+, why are we still using it with the required opengl4? Case in point, I looked at a PNGs I copied to my image leadwerks folder with resolution of 1600x900. It becomes 2048x1024 as a .tex file according to when i click the info button in assets. This causes some barely noticeable blurriness when downscaled back to a 1600x900 window. Thanks.
  2. If you use and are registered with IRC, and use manners, ask at #blender channel in freenode.net. They are very helpful with questions I have had.
  3. Doing this in the FPSPlayer script after adding it to the root scene helped: self.camera:AddPostEffect("AddOns/Motionblur (Shader)/motionblur.lua")
  4. 1) In the default MyGame, there is a tutorial of picking up and putting things down. If you hit the left mouse button before picking up a box, you have to hit 'E' twice to pick up the object. After picking it up and dropping it, you only need to hit 'E' once to pick it up. Anyone else see this bug, is it a lua script fix? 2) Is there a lua query that will return the graphics modes available? Thanks.
  5. drarem

    Ubuntu 14.10?

    To answer my own question, yes it will.. Xubuntu 14.10 64bit clean install, works just fine, at least the editor and lua samples so far.
  6. drarem

    Ubuntu 14.10?

    Will leadwerks run under newer distro? Thanks.
  7. Where is a leadwerks logo i can use as a part of splash screen? thx
  8. With LUA, should we make a copy of whatever script we are working on if we need to modify and rename, like FPSGun.lua or FPSPlayer.lua? It seems the beta updates tend to overlay the existing lua files and causes breaks here and there. If that's the case I need to rename App.lua and others? Thanks.
  9. Figured something out.. I can call the function and do a return health into my main script. Thanks for all the help. Action.lua .. killc = entity.script.GetHealth() MonsterAI.lu function Script:GetHealth() return health end
  10. How would i define a global var in another script and access from my primary one? I have this in one script after attaching in the Start() local killc = enemy.script.health The drawtext shows 0, but the drawtext in the MonsterAI script shows the correct health.
  11. I need a central bucket where i collect the stats, like deaths, kills, health, etc and display them in the main game loop. I find the above example provided by Aaron Symons works well, but how do I get the stats over to say another script which could save the current game with the stats? Or even just display all the stats in the primary screen renderer? Thanks.
  12. There is a script attached to an entity, but that's the pivot. The math is handled in the MonsterAI.lua and I want to get the health from there. The MonsterAI is 'prefabbbed' with a zombie prefab, not in the scene.
  13. How do I access a variable used in another script (LUA) attached to an object? Maybe wanting to see the monster's health during runtime for example? Thanks.
  14. That's odd, can't reproduce from scratch. I created a blank .PNG, copied to the Models folder, imported it and it worked. I'm probably not doing things correctly, perhaps a texture is already attached to a model and i'm trying to refresh it. I'll keep an eye on this, sorry about that.
  15. Or even if I import the same named model from another folder to a new project, such as in the Models folder it tends to hang. It asks me if I want to overwrite, i click 'yes'. Either that or it's slow on the import and I don't wait long enough.
  16. Redid my model and recreated the test project, now it isn't crashing. I think it has to do with my entity class. Thank you for your help.
  17. Right now I'm AFK from my machine, will put something up when I return. The mesh I start with basic 1024x1024.
  18. Ahh.. understood about the displacement texture. =The box is the 'terrain' that I set as polymesh and is non-moving. I can collide with it with no problems. WIth the built in terrain however, collision causes a crash.
  19. Moved .PNG to model folder, tried to import and overwrite in same project model folder but the editor appeared to get hung up. After 5 minutes I ended the editor program manually.
  20. Thanks, I have a strange error though. I can collide with a plane or imported mesh using polymesh, but with the built-in terrain the demo game crashes on coliision. I created a displacement mesh and added it to the terrain, but it's not being displaced. The texture is also repeating.
×
×
  • Create New...