Jump to content

REX-RUS

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by REX-RUS

  1. 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.

  2. 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?

     

  3. 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

     

     

    PkQBKlTfF3U.jpg

     

     

  4. 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.

    2i105tw.png

    There are problems with drawing elements of other windows (for example the tabs, page scrolls and checkboxes not visible).

    d7XfCBr.png

    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

  5. 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

    • Upvote 1
×
×
  • Create New...