Jump to content

Admin

Administrators
  • Content Count

    1,314
  • Joined

  • Last visited

Community Reputation

716 Excellent

About Admin

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  • Location
    Las Vegas, NV

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. A new update for Leadwerks Game Engine 4.6 is available on the default branch. This fixes a physics bug that would cause boxes to float into the air after the player stepped on them.
  2. Leadwerks Game Engine 4.6 is now available on Steam! This free update adds Steam peer-to-peer networking, lobbies, voice chat, and more. A new multiplayer game template makes it easy to get started with your own multiplayer games, adding new depth and interactivity to the fun. We've also added over 100 bug fixes, making this the most stable release ever to build your game on! New classes: Lobby P2P Voice Other changes: New parameters for better control over physics springs. World::Update() now has an optional parameter for number of sub-steps, can be used for improved physics precision. Model editor view range is calculated from model extents, so if you load a model that is huge it won't be invisible. Model editor displays number of limbs as well as vertices and triangles. Settings file is now saved any time changes are made in the options editor. Menu item added for Leadwerks Marketplace. Menu item added for Discord chat. Linux version of engine now built on Ubuntu 18.04.
  3. Do this: --Create a window window = Window:Create() context = Context:Create(window) world = World:Create() camera = Camera:Create() camera:Move(0,0,-4) local light = DirectionalLight:Create() light:SetRotation(35,35,0) local parent = nil local child = nil parent = Model:Box() parent:SetColor(0.0,0.0,1.0) parent:SetMass(0) parent:SetPosition(1,0,0) --Move parent box a little bit to the right parent:SetGravityMode(false) child = Model:Box() child:SetColor(1.0,0.0,0.0) child:SetMass(1) child:SetPosition(2,0,0) child:AddTorque(10,0,0) local pos = parent:GetPosition(true) local joint = Joint:Ball(pos.x, pos.y, pos.z, child, parent) while true do if window:Closed() or window:KeyHit(Key.Escape) then return false end Time:Update() world:Update() world:Render() context:Sync() end
  4. I just tried it, and colors were saved, but were reversed. So now it is fixed.
  5. It's a problem for me! That's why it is now fixed.
  6. I fixed the example in the docs, but the example I created is causing a crash, so this needs more work: https://www.leadwerks.com/learn?page=API-Reference_Object_World_ForEachVisibleEntityDo
  7. Needs an example, please!
  8. Need an example, but I imagine this is probably solved already!
  9. I'm going to file this one away unless there is still an issue here...
  10. The bloom script shows how you can test to see if the window size changed and create a new buffer if it did.
×
×
  • Create New...