Author Topic: Programming Tutorial? (for newbies) [windows]  (Read 7119 times)

Reini

  • Newbie
  • *
  • Posts: 5
    • View Profile
Programming Tutorial? (for newbies) [windows]
« on: February 23, 2015, 12:06:19 pm »
Hello blackvoxel-team & forum-users,

i would like to play around with some programming, but actually i am pretty much a newbie to it :/
Could some skilled programmer out there (with enough free-time and enthusiasm) maybe make a video or any kind of tutorial about how to get started to program? No need to teach the programming language itself because that would be too complicated (i know a bit about some functions of C-style programming and i can easily try out and see in the game once everything is set-up correctly) but a step-by-step guide of how to set up everything to start writing code (e.g. installing squirrel, where to save the files so they actually have impact in the game, what essential stuff to add that the program is actually applied to the programmable robot, ...)
Maybe there are other people out there who need such a newbie-help too so we can create a little community and help each other by telling where we got stuck or have problems with and its probably also more fun for the skilled programmers to help a bigger amount of people who are interested in this.

Looking forward to hear from some users who love that game too and pleases share your thoughts and ideas :)

olive

  • Administrator
  • Full Member
  • *****
  • Posts: 149
    • View Profile
Re: Programming Tutorial? (for newbies) [windows]
« Reply #1 on: February 23, 2015, 09:06:41 pm »
Hello blackvoxel-team & forum-users,

i would like to play around with some programming, but actually i am pretty much a newbie to it :/
Could some skilled programmer out there (with enough free-time and enthusiasm) maybe make a video or any kind of tutorial about how to get started to program? No need to teach the programming language itself because that would be too complicated (i know a bit about some functions of C-style programming and i can easily try out and see in the game once everything is set-up correctly) but a step-by-step guide of how to set up everything to start writing code (e.g. installing squirrel, where to save the files so they actually have impact in the game, what essential stuff to add that the program is actually applied to the programmable robot, ...)
Maybe there are other people out there who need such a newbie-help too so we can create a little community and help each other by telling where we got stuck or have problems with and its probably also more fun for the skilled programmers to help a bigger amount of people who are interested in this.

Looking forward to hear from some users who love that game too and pleases share your thoughts and ideas :)

Fortunately, Squirrel is already coming with Blackvoxel. So, there is no need to install or setup anything else. :)

We have in project some video tutorial for learning programming. The first lesson is already completed, so we decided to publish it.

It's what you are looking for : It will tell you step by step how to edit your first program, where to put the files and how to launch the program.

It's here : http://youtu.be/DLNAxW43bYg

Then, we suggest to look at the "listing to type" section for your first programming examples : http://www.blackvoxel.com/view.php?node=1567

Additional examples are given in function description pages, like here : http://www.blackvoxel.com/view.php?node=1305

Here are the main reference documents we suggest to read :

Squirrel langage manual : http://www.squirrel-lang.org/doc/squirrel3.html , libraries : http://www.squirrel-lang.org/doc/sqstdlib3.html
Blackvoxel Custom Squirrel functions : http://www.blackvoxel.com/view.php?node=1317

The squirrel manuals describe the language itself and the Blackvoxel custom squirrel functions are the way to interact with the game and the voxel world.

Don't forget to activate the School Mode for quick access to all automation stuff.

The Blackvoxel Team

Reini

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Programming Tutorial? (for newbies) [windows]
« Reply #2 on: February 24, 2015, 01:18:34 pm »
cool, thanks for the reply and the video, helped me a lot! :)

olive

  • Administrator
  • Full Member
  • *****
  • Posts: 149
    • View Profile
Re: Programming Tutorial? (for newbies) [windows]
« Reply #3 on: February 24, 2015, 11:09:45 pm »
cool, thanks for the reply and the video, helped me a lot! :)

Good news :)

The Blackvoxel Team