Jump to content

codeape

Members
  • Posts

    183
  • Joined

  • Last visited

Everything posted by codeape

  1. Thanks Aggror and cassius Tried PhysicsSetPosition() and added physics type Entity.RigidBodyPhysics and mass 1. Now it works but the movement is not very smoth like when I used SetPosition. I need to trim this
  2. Hello I like Leadwerks ... and have a lot fun with it ... however I am playing around with the Steam Leadwerks (Lua) and try to make a simple "top down shooter". I have watched some tutorials and I thought I did this right. I create my player (currently a cone) like this: --Player self.coneMat = Material:Load("Materials/Developer/greengrid.mat") self.cone = Model:Cone() self.cone:SetMaterial(self.coneMat) self.cone:SetPosition(0,1.75,0) self.cone:SetRotation(90,0,0) local shape = Shape:Cone(0,0,0, 0,0,0, 1,1,1) self.cone:SetShape(shape) --Player movement speed self.moveSpeed = 0.1 I have created a floor and 4 walls in the editor and the walls have "Physics mode : Rigid Body" and a shape size that corresponds to the wall size (used the "Fit Shape" button in the Physics tab). The player movement code looks like this: -- Player movement local xMod = 0; if self.window:KeyDown(Key.D) then xMod = 1 * Time:GetSpeed() * self.moveSpeed elseif self.window:KeyDown(Key.A) then xMod = -1 * Time:GetSpeed() * self.moveSpeed end local zMod = 0 if self.window:KeyDown(Key.W) then zMod = 1 * Time:GetSpeed() * self.moveSpeed elseif self.window:KeyDown(Key.S) then zMod = -1 * Time:GetSpeed() * self.moveSpeed end local curr = self.cone:GetPosition(true) curr.x = curr.x + xMod curr.z = curr.z + zMod self.cone:SetPosition(curr, true) curr = self.cam:GetPosition(true) curr.x = curr.x + xMod curr.z = curr.z + zMod self.cam:SetPosition(curr, true) The cone go through the walls. What am I doing wrong?
  3. As I remembered, I registered with the same email that I use on KS and mailed admin that I am a backer.
  4. Now when the steam release is done, as a KS Pro level backer will I be able to see the rest of the forum soon?
  5. I just bought a Nexus 7 and I want to test it out. Are there any Leadwerks based games you know of on Google play that you can recommend? Thank you
  6. Hello Here Josh, are the amount of 3800 icons sizes are 32x32 and 16x16: http://www.fatcow.com/free-icons These icons are licensed under a Creative Commons Attribution 3.0 License. Have fun =)
  7. I like Valve http://www.gamesindustry.biz/articles/2013-12-04-valve-joins-the-linux-foundation
  8. NVIDIA Is "Taking Linux Gaming Serious": http://www.phoronix.com/scan.php?page=news_item&px=MTUyNjE For example, with the latest Linux vs. Windows NVIDIA comparison, the $1000 USD Titan was running at effectively the same speed between operating systems. Maybe I will go for a Nvidia card this time.
  9. Cool, that was exactly the answer I was looking for
  10. Hello Grate update Reading the update got me very exited. Could the mentioned "uniform buffers for hardware skinning and instanced rendering" be used to create huge astroid fields consisting of for example 10000 or more asteroids using 10 different models with almost no performance penalties. Am I right?
  11. Indeed. The thing is that ID make the game engine public domain but never any art assets. Glitch is released with everything.
  12. I found this at SlashDot: http://games.slashdot.org/story/13/11/19/206209/2-d-mmog-glitch-released-completely-into-the-public-domain Ok it is a 2D game but there must be stuff that can be reused in this package of 10.000+ assets like sounds and music etc.
  13. I have been a linux user/developer since 1998 and must say that I've never had an issue with either nvidia or amd on linux.
  14. Here is a nice article about what Torvalds thinks about SteamOS: http://www.pcpro.co.uk/news/384934/torvalds-steamos-will-really-help-linux-on-desktop
  15. Cool =). Are there other drivers than the Intel Mesa drivers to that one? I found this complete Mesa GL3/GL4 status article a week ago : http://www.phoronix.com/scan.php?page=news_item&px=MTQ3ODY I am considering Radeon for my dev station right now. The AMD Radeon Performance Is Incredible On Linux 3.12 over 3.11. Some games improved with just low double-digit gains while other Linux games were nearly 90% faster: http://www.phoronix.com/scan.php?page=article&item=amd_linux312_major&num=1
  16. Indeed a gamble but it could be worth it if you are doing a statement, like Valve is trying to do. Another interesting thing you could do for a Linux exclusive release is to bundle the game on a Linux live cd. Then a interested gamer could download an iso, burn the iso to cd, boot it and try the game. This would of course not work for games that require a lot of resources like BF4 etc.
  17. Found this at several sites this morning: http://linux.slashdot.org/story/13/10/12/2342219/battlefield-director-linux-only-needs-one-killer-game-to-explode It took Halo for the first Xbox to kick off and go crazy — usually, it takes one killer app or game and then people are more than willing to adopt it. I guess the developer of the killer app could be a Leadwerks 3.1 developer in the end
  18. Currently LLVM compiled binaries are less optimized than GCC (as I understand it). However LLVM has a lot of improvements over GCC, like better static analysis of code etc.
  19. I am new here to but I'm pretty sure you can create a full game in Lua. I usually look at Aggrors tutorials. They are grate: http://www.youtube.com/user/Aggror89/videos?live_view=500&flow=list&view=0&sort=dd Here is a Leadwerks Lua specific tutorial from Aggror :
×
×
  • Create New...