Noob Programming Tutorials

basil60
Member
 
Posts: 54
Joined: Sat Sep 12, 2015 22:07

Noob Programming Tutorials

by basil60 » Thu Oct 01, 2015 00:13

Hi
I put my hand up to do an IT immersion with some primary school kids. I'm also a noob with Minetest.

I figure this could be a good way to introduce some simple programming concepts in a familiar environment for them.

I've started a server with school use in mind.

Can anyone suggest some good intro tutorials for coding (in game would be ideal initially I think) - and provide links?

So far I've looked at the Digilines LCD - but I'm sure there's more I could do with that too.

Any advice would be welcome?
Last edited by basil60 on Thu Oct 01, 2015 01:00, edited 1 time in total.
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Noob Programming Tutorials

by kaadmy » Thu Oct 01, 2015 00:18

Here's a good tutorial on mod creation: http://rubenwardy.com/minetest_modding_book/
Development wiki: http://dev.minetest.net/Main_Page
And, if you want to do serious modding, see here for a (hopefully)complete API reference: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
Never paint white stripes on roads near Zebra crossings.
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Noob Programming Tutorials

by kaadmy » Thu Oct 01, 2015 00:20

One of the best pieces of advice I would probably give: The documentation is not the greatest in any way, and if you can't figure something out, ask.
Never paint white stripes on roads near Zebra crossings.
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: Noob Programming Tutorials

by MineYoshi » Thu Oct 01, 2015 02:20

kaadmy i think in really you are right rubenwardy modding book is very complete with many stuff about moddin code and some good info
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Noob Programming Tutorials

by kaadmy » Thu Oct 01, 2015 14:51

I use the lua_api.txt for pretty much everything.
That has the complete API reference, I think.
Never paint white stripes on roads near Zebra crossings.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Noob Programming Tutorials

by rubenwardy » Thu Oct 01, 2015 14:59

lua_api.txt is supposed to be a complete and accurate description to officially supported parts of the Lua API. However, some things may be missing. If it's missing, it's probably not in my book, but it may be on the dev wiki. If not, then you'll have to resort to reading the C++ code or asking someone to, unfortunately. :(
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Noob Programming Tutorials

by kaadmy » Thu Oct 01, 2015 19:41

I don't know if this belongs here, but I found out a problem in the API.
The lua_api.txt says ObjectRefs have a method called get_inventory(), but the inventory isn't available unless it's a Player-only entity, which is annoying, because get_inventory should return an InvRef? Nope.
Never paint white stripes on roads near Zebra crossings.
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: Noob Programming Tutorials

by twoelk » Fri Oct 02, 2015 01:41

Updated the Mods:Learning page on the Minetest Wiki a little.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 36 guests