were do I need to place that code ? between, the:
While KeyHit(KEY_ESCAPE)==0 do
LoadMaterial("abstract::water.mat")
end
or before that after the:
LoadScene("abstract::scenename.sbx")
LoadMaterial("abstract::water.mat")
?
Hey guys,
is it possible to render and load things such as the water when the scene starts? (so when you enter the water it will not freeze for a sec)
or just to make it for the player more easy and faster to load?
Cheers!
I made something myself but it isn't working. what it has to do is: save the current location of the player.
This is the code:
if KeyHit(KEY_LALT)==1 then
DrawText("Saved position")
Print("Saved to: save.lua")
function savegame()
SaveFile = io.open("abstract::save.lua","W")
if SaveFile == nil then
Notify("No settings file found")
end
SaveFile:write("fw.main.camera:Movef(".."fw.main.camera:SetPosition(fw.main.camera:GetPosition()))".."\n")
SaveFile:close()
end
end
Okay thanks, mybe for determining the user is within the water the players location, or something like that, because the game is island based.
or do I need to set this in the water script? I just need the player to die XD
whenever he is falling or when he is benead the surface or even when he gets hit by a bullet...
Cheers!
The Programming aspect in combination with the graphical interface... but like:
100 health.
when under water for 30 seconds life decreasing. and then on 0 you will respawn at start position.
and when life decreases the health bar will decrease too.
how is this possible? and any manuals for this?
Cheers!
Hello all,
what are all the naming convention for the different texture modes such as:
- Normal map
- Diffuse Map
- Specular Map
- Bump Map
thanks in common
Cheers!
I modified the character controller which is provided by LE Engine. it's LUA coded. and I made it an function. so it could be loaded very easy in my scene loader.
if you like to I can give you the full code
it's quite working and great to use
awesome, and whats the best? to use images or the DrawRect variable?
and how can I add those?
the easier thing for you would be telling me where I can find A manual for this kind of things instead if you like to offcourse
Hello all,
is there a possible way, when I press the escape button it will show up a menu? normally I use
SetBlend(1)
--code for menu which I need to know.
SetBlend(0)
Flip(0)
and if it's possible how to make a game menu in lua?
such as game preloader.
and my second question is:
when I open up my game in full screen (start.Lua File) it always shows command window.
I opened a thread for another language to accomplish that. but how to do that for LUA?
sorry for the questions. I'm still learning
Cheers!
Hey guys,
I had a question about the water in the editor.
when I place water is it then also possible to re-size it so it is in a small place or area?
like in a sink, bathtub, pool...
I hope someone can help me with this,
Cheers!