I new to coding and i dont know what im best at. i want to make games, gamemodes, mods and addons.
HTML is only for website design and i know how to use it, my skills at HTML 6-8/10.
i read through some lua pages and didn't understand anything, the reason was that they didnt explain what a function do, they didn't explain the main stuff. they didnt explain it on a easy way either so how am i suppose to understand?
I have used 1-2 months to figure out how Lua works, still dont understand. i looked up after easier way to learn and understand Lua but it still not good explained.
Im also reading a book called: 3D Game Programming All In One (Premier Press, 2004)
and it is really old and im looking for a new 3D game programming that is more easier then this one.
Im going to try out Java 3D and 2D programming but its kind of new to me and if you recommand reading a book first or watch a video il try my best to go through it
local function abc()
local x = 5
local my_f = function()
x = 7.3
my_f() -- executes my_f
print(x) -- prints '7.3'
abc() -- executes abc
print(x) -- print 'nil'
Okey, what does "local" mean?
what do "local" do? and what is hes job?
what does "function" mean?
what do "function" do? what is hes job?
The same goes with all they other like: elsif, if , do, return, function, local, etc....
I dont expect to learn lua in 1-4 hours but yeah i tried thinking and find out how it works,.
print is = Shows up on the screen or console.
1. is their a easy programming language then Lua that can make 2D or 3D games? like Java?
2. is their a programming language that is almost the same as Lua just more easier and better explained?
3. do you have any recommanded programmins books for free or not??
4. How do i run my Scripted files? my command/cmd cannot open them or read it!