-
Posts
21 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by REX-RUS
-
-
-
Hi.
I use the script created by Josh for platformer (can't find a link to it), and have a problem.
The character controller is placed in the centre of the cylinder. How to attach it to the bottom edge?
Script.movespeed=5--float Script.cameradistance=20--float Script.camerazoom=8--float Script.orthographiceffect=1--float "Flatness" Script.camerarange=10--float function Script:Start() self.camera = Camera:Create() self.entity:SetPhysicsMode(Entity.CharacterPhysics) self.camera:SetRotation(0,0,0) self.camera:SetZoom(self.camerazoom*self.orthographiceffect) self.camera:SetRange(self.cameradistance*self.orthographiceffect-self.camerarange,self.cameradistance*self.orthographiceffect+self.camerarange) self.playerangle=90 self.camera:SetDebugPhysicsMode(true) if self.entity:GetMass()==0 then self.entity:SetMass(10) end end function Script:UpdatePhysics() local window=Window:GetCurrent() local move=0 if window:KeyDown(Key.D) then move = move + self.movespeed end if window:KeyDown(Key.A) then move = move - self.movespeed end local jump = 0 if window:KeyHit(Key.Space) then jump = 10 end if move>0 then self.playerangle=90 end if move<0 then self.playerangle=-90 end self.entity:SetInput(self.playerangle,math.abs(move),0,jump,false, 1.0, 0.5, true) end function Script:UpdateWorld() --Update camera self.camera:SetPosition(self.entity:GetPosition()) self.camera:Move(0,1.8/2,-self.cameradistance*self.orthographiceffect) end
I noticed a nasty light bug. Dynamic source shines through the walls. I have configured it incorrectly?
-
You can't, unless you zip the contents up yourself. If you have the pro version you can use the Package class, and set its "password" member to your own password, then extract files. There's no way to do this with Lua because the password would just be sitting there in n unencrypted script file.
Six months ago I tried to enter my password in this class, but it didn't work
-
Hi.
Do you have plans to implement Matchmaking in Leadwerks Game Launcher?
It would be great if we could publish small multiplayer games in the Workshop.
- 1
-
Wow, I never thought of that! Thank you so much!
-
Is it possible to temporarily put a blueprint in the viewport of the editor? For example as it do in 3d editors like 3ds max.
Random pic:
-
Visible joints projections.
As far as I understand the problem with the render in SpaceEngine. I hope someone here knows how to fix it.
-
What am I doing wrong? Has anyone tried to use SpaceEngine to generate a Cubemap?
Sources:
-
Can't expand the subfolder in the folder tree. Tried double-click, click, the context menu (no option for "expand").
If open the script from the editor - folder still does not expand.
There are problems with drawing elements of other windows (for example the tabs, page scrolls and checkboxes not visible).
In the Launcher I cannot start any game because there are no buttons. http://www.leadwerks.com/werkspace/topic/14224-bugproblems-with-the-game-launcher-interface-no-of-some-elements-of-interface/#entry97547
I tried different themes shell and 2 different distribution - the problem is the same
-
-
Thanks, I just deleted these lines and it worked. Switching to beta and updating of the project did not change anything.
-
-
Greetings to all.
Want to contact the developers with a proposal on the technical side of the engine. To add a function that will be processed in the editor. For example, to draw lines, polygons, lead to miscalculations.
Why is this? Then, users can implement their own tools for the engine. For example, the editor of roads, ponds and other things.
-
Sorry for my English, I use machine translation
- 1
Water & Fog - how to on/off with lua
in General Discussion
Posted
Hi.
I hid a few of the locations beneath the surface. On my map there is a lake with water, from which extends the pyramid - which is a teleport to underground locations. How to turn off the water when crossing the trigger? How to disable fog? I used LUA.
Sorry for my English, I use machine translator.