-
Posts
4,816 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Everything posted by AggrorJorn
-
The pick is just a check between 2 points. The 4th argumen indicates the radius of the pick line. With 0 its a single raycast, while with a higher number you get a 'cylinder shape' cast. The 4th argument of the pick is not about distance from 1 point to the other.
-
For the fading, here is a little example: --In start Script.alpha = 0 Script.fadeTime = 4 --In your game loop. context:SetBlendMode(Blend.Alpha) self.alpha =self.alpha + Time:GetSpeed()* 0.01 context:SetColor(0,0,0,Math:Lerp(0, 1, self.alpha/self.fadeTime)) context:DrawRect(0,0,400,400) context:SetBlendMode(Blend.Solid)
-
The 4th argument of the pick can be set to 0. Which means a single raycast. From the docs: As for the fade out, you can draw a black rectangle, and use a timer for its alpha.
-
Could you clarify the 'bounce'? Do you switch position between death and restart position? Or is your player jumping in the air after re-positioning?
-
1. Simply check for camera world boundries. If you select the root of the scene you can see its size. Pseudo code for the x axis if (camera.pos.x < 0 ) camera.pos.x = 0 elseif (camera.pos.x > worldSize.x) camera.pos.x = worldSize.x
-
Note that Ubuntu is the only official supported distro. If the listed issues are happening there as well, Josh will take a look at them.
- 11 replies
-
- material
- normal map
-
(and 1 more)
Tagged with:
-
This is called shadow acne. http://www.leadwerks.com/werkspace/topic/12224-a-bit-help-with-spotlights/#entry88645 A screenshot from the user guide for LE2.3
-
Noob with a couple question. Edit: Added video
AggrorJorn replied to Deadlyforce's topic in General Discussion
q1. Holding control + mouse is mostly the opposite of your action in the terrain editor. This goes for sculpting, painting and vegetation. But no, you can't select a single tree for deletion. But you can make your brush small enough to delete it. -
That's a long list. It is very good of you to report all these things though. What linux distro are you using?
- 11 replies
-
- material
- normal map
-
(and 1 more)
Tagged with:
-
That is true. If we could define our own shortcuts in the settings menu, that would be even better.
-
Do you have a spare mouse to try out?
-
Another year has passed so lets try it again. Can we please have a shortcut to the script editor in the toolbar and a keyboard shortcut?
-
All the latest ivideo card drivers installed? I honestly don't know what else this could be. I would report this in the Bug report section with all your system info like gpu, cpu, windows, current driver version etc. https://www.piriform.com/speccy
-
Have you tried increasing to higher values?
-
Do your viewport settings look anything like this? Can you increase the look and move speed to ridiculous values and see what happens?
-
Are you on windows?
-
You can always map GetSpeed to a DeltaTime variable in a custom script. I honestly doubt if Josh would change the API to this. Regardless of the argument I given, I think Josh would reply within the lines of: this is Leadwerks, not Unity.
-
Have you tried specifying a collisiontype so terrain gets ignored?
-
Are you using the player prefab?
-
Start of simple by trying to write your settings value in a file. http://www.leadwerks.com/werkspace/page/api-reference/_/filesystem/filesystemwritefile-r650
- 5 replies
-
- game rules
- options
-
(and 1 more)
Tagged with:
-
You can use the free audio editor Audacity to convert it if needed. http://audacityteam.org/
-
Your lua script is probably set to view files lua extensions only. Can you post the script?
-
-
Can you describe a little bit better what exactly you want to achieve? Is there a script problem you are running in to?