Jump to content

Braqoon

Members
  • Content Count

    68
  • Joined

  • Last visited

Community Reputation

19 Good

About Braqoon

  • Rank
    Advanced Member
  1. Ouch, yeah that option is not available on Linux Build 4.5. Any other suggestions ? Trying to set Rotation in general settings makes no difference.
  2. Hi, This might be trivial but not sure how to solve this. I have crated a simple model in Blender with texture and exported it to .fbx. Imported that to Leadwerks without issue, set collision mesh and placed in 3D space (see attached pic). This is my character in the game , Roomba like cleaning robot. So when i start the game , robot gets flipped 90 degrees. What gives ? When i create a simple cylinder, size of of my object and attach my player script all is fine, cylinder does not flip, and works just fine. Not sure what's going on, any help apprecieated. Player script below. function Script:Start() --Create a camera world:SetAmbientLight(0,0,0) self.camera = Camera:Create() --Update the camera self:UpdateCamera() --Initial Vars self.entity:SetMass(1) self.entity:SetPhysicsMode(Entity.CharacterPhysics) self.pos = 0 self.minimal_speed = -3 self.max_speed = 3 self.lives = 3 self.speed = 0 self.tilt = 0 energy=100.0 energy_max=100.0 energy_min=0 self.energy_depletion = 0 self.lastTime = Time:Millisecs(); self.torch = PointLight:Create() end --Adjust the camera orientation relative to the ball function Script:UpdateCamera() self.camera:SetPosition(self.entity:GetPosition()) self.camera:SetRotation(45,0,0) self.camera:Move(0,4,-7) end function Script:UpdatePhysics() --Get the game window local window = Window:GetCurrent() end function Script:UpdateWorld() --Update the camera each frame if energy > 0 then -- move if you got energy local move = ((window:KeyDown(Key.Up) and 1 or 0) - (window:KeyDown(Key.Down) and 1 or 0))*3 local strafe = ((window:KeyDown(Key.Right)and 1 or 0) - (window:KeyDown(Key.Left) and 1 or 0))*3 if window:KeyDown(Key.Up) or window:KeyDown(Key.Down) or window:KeyDown(Key.Left) or window:KeyDown(Key.Right) then if energy > 0 then if (Time:Millisecs() > self.lastTime + 80) then self.lastTime = Time:Millisecs(); energy = energy -1 end end end self.entity:SetInput(0,move,strafe) else -- out of energy, can't move move = 0 strafe = 0 self.entity:SetInput(0,move,strafe) end -- Light --light = SpotLight:Create() self.torch:SetPosition(self.entity:GetPosition()) self.torch:SetRange(0.2,1.5) self.torch:Move(0,1,0) --self.torch: self:UpdateCamera() end function Script:PostRender(context) context:SetBlendMode(Blend.Alpha) context:DrawText(energy,context:GetWidth()-30,4) end
  3. Based on example you have showed it seems like 'small' things and not the whole theme packs are selling better on the . Maybe it's mentality or maybe people just looking for cheaper things on workshop where DLC can be pusshed with higher price.
  4. Yes it, does. I would suggest in future builds to have full screen/windowed mode toggle. Linux version of LE game launcher is no longer supported (check bugs section of the forum). Launcher still works hence I was able to check your game. Otherwise game was playable so not a massive problem.
  5. Point taken. Note to myself, do not publish games via LE Game Launcher.
  6. I had a go yesterday. Aside what others have mentioned , got one Linux related thing. I think it's a bug in the LE. On Linux going full screen does not work. Window have not resized to full screen and just lost window decoration. You can still play it.
  7. Is that means that you not going to fix it cos SteamOS not destroyed Windows ? I don't need super pretty, usable will be great. Can you please at least change window to be resizeable ? SpEcIeS - in KDE win key have no use if used as standalone. Resize will not work if window have not have right mode on.
  8. Yes Brutile. This is just an example. So overall you need to have a script attached to an object if you want more than physical collision with that object, even if this is just to get the name of the object.
  9. Yes, I understand that, basics are simple. I'm wandering how should I approach where collision is a trigger to do other things. Take for example a shooter game (which I got it working), so if ship collides with something that it's not an entity I have no way of telling what it was, and I have to apply one rule for all on such collision. That makes me think that if I want this ship of mine to eg. bounce of the side walls, those walls needs at least a name that collision function of my ship can detect. Otherwise any wall will just trigger collision in the same way and here I might don't want that.
  10. Hi, Game Launcher window when started is maximised and goes off screen. There is no way to adjust the size of the window, and buttons at the bottom are almost off the screen. This not really looking good and will put off users from using it. I'm using KDE (which is available in Ubuntu if somebody wants to be picky about supported distro) IMO trying going to full screen is pointless especially if launcher have such a basic design. Attached screen is not cut off, this is how it looks with hidden task bar, whole desktop area and to already answer potential question. I had to hide my task bar in order to start the game (button click), otherwise buttons are not visible.
  11. Hi, So on collision if object we are colliding with has a script attached to it it will be an entity with eg. name function Script:Collision(entity, position, normal, speed) if(entity:GetKeyValue("name") == "wall") then --Do Something end end Now I guess that in order to code specifically certain behaviours based on what object I'm colliding with, that object should be an entity which equals to have a script attached to it, right ? regardless is that a primitive or a prefab model. Even if that object is doing nothing apart from being just an obstacle. Is that correct ? Is that approach is one that everybody is using or should be used or is there another, simple, go to method of finding about an object player have just collided with ?
  12. Not to worry, happens to all of us. Glad it's working.
  13. Braqoon

    d4Shmup

    Simple proof of concept shooter game. Also available via Steam launcher. One level available. Movement WSAD, E - Fire. Any feedback appreciated. Entry for Games of Winter. View full game
  14. Braqoon

    d4Shmup

    Simple proof of concept shooter game. Also available via Steam launcher. One level available. Movement WSAD, E - Fire. Any feedback appreciated. Entry for Games of Winter.
×
×
  • Create New...