Jump to content

gordonramp

Members
  • Posts

    398
  • Joined

  • Last visited

Everything posted by gordonramp

  1. Thanks, I'll ponder that.
  2. Hi Andy, That sounds mathematically complicated. How about having a different image for each resolution?
  3. How can I get a Hud to look the same at any screen resolution?
  4. Hi degac, Generally you make a .phy to go with your object. There is a .phy generator in the SDK /Tools folder called phygen. There are other tools around too including one for 3dsMax.
  5. Sure Aggror, such a video must be very useful. I'm sure people would benefit from it
  6. Thanks for the suggestions Soamp, Although there is a lot of useful information here, I've currently abandoned this idea in favour of 'proximity triggers'. If I can get my head around 'pick object' some time in the future, I'll give it another go.
  7. Am applying this, will let you know the results... Update. When I add the function in step 4 (to an object's class script), I get an error message..'Attempt to index Global object a Nil value'. Aggror, If you have the time, a zipped working example would solve a lot of headache..
  8. That would be appreciated
  9. Hi Aggror, I read through your threads. The 'True,False' approach looks appealing. Did you manage to get it working?
  10. Just a fast question.. Did you place the whole scene into a mesh? Not one mesh but basic indoor scenes are modelled in 3dws and are divided into two or three and imported into the Leadwerks Editor. Then objects are added. Setting a different collision type sounds like an interesting way to do it. I will look at that too.
  11. Thanks Joh, I'm writing my whole game in Lua.. and trying to learn the language as I go. This line from my example code seems to be the issue.. if pick.entity:GetClass()==ENTITY_MODEL then I am able to pick any object as I said but not just one. If use the code as it is then the Player can pick the whole scene which is not good.
  12. Joh, Any chance of a tincy-wincy example of what you mean by that.
  13. Tried a few things but no improvement yet. I just get 'Invalid Method or Field' Mack, I'm running this in the Main loop.
  14. Hi, I'm finally getting back into coding after a break making scenes. I've reached a block here and maybe someone can help out... I want to pick a specific object. The following code I've adapted works but works on any object. Any ideas on how I can make it specific to a particular object (model). Note: at the moment the code will hide and show the mouse. --pick an object if MouseHit(1)==1 then if picked==0 then pick=CameraPick(camera,Vec3(GraphicsWidth()/2,GraphicsHeight()/2,2.0),0,0) if pick~=nil then repeat if pick.entity:GetClass()==ENTITY_MODEL then break end pick.entity=pick.entity.parent until pick.entity==nil if pick.entity~=nil then ShowMouse() picked=1 end end elseif picked==1 then picked = 0 end end-- --Update controller controller:Update(camerayaw,move,strafe,jump,40,10) fw:Update() if picked == 1 then HideMouse() end
  15. gordonramp

    Lua Debugging

    That's a useful improvement. Thanks Lumooja and TylerH too. Also good to know that Lua will continue to be fully supported as I've spent a lot of time figuring out the basics of using it.
  16. Yeah, intuitive is the thing. No coding just placement, tick boxes and sliders. That's what I like about the Leadwerks Editor, it just doesn't go far enough yet. Having such an editor means that the Artist can focus on atmospherics and effects.
  17. gordonramp

    skybox

    Paint Shop Pro 12 works.
  18. Haha. You should have hung in there for the story by the Greek Historian. I guess a delivery like that is not for everybody.
  19. I found this so interesting, I watched it right through.. (and just had to share it). Link
  20. That doesn't sound right. What software are you using to create your level? I'm using 3dws and quite a detailed room is over 100fps.
  21. gordonramp

    Picking up speed

    Good news, thanks Josh.
×
×
  • Create New...