Page 1 of 1

Is there a tutorial??

Posted: Wed Jul 16, 2014 9:55 pm
by PureUser5614
I was wondering is there a tutorial for PureBasic. I'm just a beginner. Is this the right place to ask??

Re: Is there a tutorial??

Posted: Wed Jul 16, 2014 11:38 pm
by Tenaja
This book exceeds a simple tutorial; it is very complete...the only bummer is that it has not been updated for a couple years. I think it was updated for 4.5 or 4.6. (We'll be on 5.3 soon.)

On the other hand, the History in PB's Help file is pretty good at letting you know what has changed.

http://www.purearea.net/pb/download/PureBasicBook.pdf

Re: Is there a tutorial??

Posted: Thu Jul 17, 2014 1:21 am
by sirguylittle
If I recall correctly, Gary Willougby's book referred to above was updated for a fairly early version of PB, 4.4 I think.
Here is the original forum thread about the book, you may need to check the last page for a download of the source code examples as the original links are out of date. (Edit: scratch that last, the source code referred to is for John's book (below) not Gary's)
http://www.purebasic.fr/english/viewtop ... 14&t=37059

Alternatives are bluenzl's Purebasic Survival Guide, an online tutorial style reference based on his own experiences learning PB. Also a bit out of date now, but more up to date with 5.11 being the last major updates. He also has a downloadable version if you prefer to read it offline.
http://bluez.home.xs4all.nl/purebasic/

Lastly, there is the book Programming 2D Scrolling Games by John Logsdon. It used to be a purchasable book but went out of print. It was then available in print from Lulu (print on demand) but is not cheap.
This is the original forum thread about that book.
http://www.purebasic.fr/english/viewtop ... 14&t=52033

The good news is that the author has now released the book in PDF form as he no longer can maintain it. It is also not completely up to date, originally being written for PB 4.? but the PDF version was updated for 4.6 and 5.0
http://www.purebasic.fr/english/viewtop ... 14&t=58232

Though the focus is on 2D game creation it is a good book covering the basics of programming with PB as well.

(@Tenaja, maybe this is the book you were thinking of?)

PS. Personally I am not in favour of loading source code examples from a file. You will learn more by typing them in yourself :)
'I listened and forgot, I saw and remembered, I did and understood'
Can't remember who originally said that though!

Re: Is there a tutorial??

Posted: Thu Jul 17, 2014 2:10 am
by Tenaja
The link I posted was Gary's beginner book, not the game book. I just downloaded it to verify.

Re: Is there a tutorial??

Posted: Thu Jul 17, 2014 2:30 am
by sirguylittle
Tenaja wrote:The link I posted was Gary's beginner book, not the game book. I just downloaded it to verify.
Sorry, I wasn't clear what I meant. I was referring only to what version of PB it was updated for as 4.5/4.6 sounded more like the games book.

Re: Is there a tutorial??

Posted: Thu Jul 17, 2014 8:53 am
by c4s
What about the "We start programming - User guide" chapter in the help file?

Re: Is there a tutorial??

Posted: Tue Nov 12, 2019 8:22 am
by BarryG
PureUser5614 is a bot. See here: viewtopic.php?f=13&t=74001