-
Posts
7 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by ThePhoenix
-
-
Just discovered that changing the BallPlayer.lua in the marble game function Scrit:Start() to
function Script:Start()
self.camera = Camera:Create()
self.startposition = self.entity:GetPosition(true)
self.camera:SetMultisampleMode((System:GetProperty("multisample","2")))
self.font = Font:Load("Fonts/Ranchers-Regular.ttf",32)
if self.font==nil then
local context = Context:GetCurrent()
self.font = context:GetFont()
end
self:Respawn()
end
will fix the problem too. So i can make games that arent FPS.
-
ok, thanks for your help!
-
ok, thank you! is there a way to add distance to the 4th argument. let say the object is a little further than the reach with 0?
by creating a local p2 = vec3? or something
-
Hi! im working on a project which need the user to pickup small objects on a table, like keys, cards etc. Is there a way to change the range of selection for it to be smaller? Cause even if the little hand is pointing at an object it might picked up another object thats closer or besides it.
(line: 450ish in FPSPlayer, and the the icon is 490ish)
local p0 = self.camera:GetPosition(true)
local p1 = Transform:Point(0,0,self.useDistance,self.camera,nil)
if self.entity.world:Pick(p0,p1, pickInfo, 1, true) then
tried changing the two zeros in the Transform:Point, but what it does is only moving the object selection range on the x,z axis and keeping the same range. so i can select the object when the middle of the window is more on the left or right.
and another question : at the end of a level before loading the new map i would like to fadeout to a DrawRec or Image. I know how to put it full on but is there a way to fade in/out?
Thanks guys!
-
it works for Fps camera, but if i try a camera that is not the one in FPSPlayer it doesnt work. Water doesnt show up properly too and ive made a SkyBox by putting a .tex in texture mode cubemap and the problem comes back on the texture within the texture editor but it appears fine in the map.
-
Nexerade <3 Tianshee <3 TWE666q on steam found a solution guys :
Ok I did it.Go to
-Script Editor
--Player
---FPSPlayer.lua
in line 153 self.camera:SetMultisampleMode((System:GetProperty("multisample"' date='"1")))
change 1 to 2.
This will make antialiasing 2x when player spawned.
This fixed problem for me on R9 380 4 GB [/quote']
AMD MSAA 1x bug
in Leadwerks Engine Bug Reports
Posted
Is there a way to edit the script of a camera in Miscellaneous objects (like a pivot), i can attach a script but it doesnt create the camera so i can't set the multisample to 2 or instead of using self.camera can i use a global function to set the multisample in a object camera?