Page 1 of 1

Is there a tutorial around?

Posted: Thu Feb 25, 2010 6:40 pm
by Nituvious
Does anyone know of a good tutorial in PB for a basic game?
I'm really interested in learning Cos() and Sin() functions and how to use them.

Re: Is there a tutorial around?

Posted: Thu Feb 25, 2010 8:10 pm
by gnasen
if its just sin() / cos():
http://en.wikipedia.org/wiki/Cosine
but be careful: In programming you normally use rad (2*PI is one circle) instead of deg (360 degree is one circle)

In PB you will use it to draw points on a circle and so on. Maybe try this first, if you get it running, you will get into it on your own.

Re: Is there a tutorial around?

Posted: Fri Feb 26, 2010 2:17 am
by Rook Zimbabwe
Have you been to purearea.net?

www.purearea.net

Re: Is there a tutorial around?

Posted: Sun Mar 21, 2010 11:32 am
by gnasen
joetraff wrote:Need better resources.I want to learn the whole thing ,not only sin() and cos().
What about a more exactly question?

Re: Is there a tutorial around?

Posted: Mon Mar 22, 2010 4:18 am
by Rook Zimbabwe
asside from link I gave you...

there is this!

http://www.purebasic.fr/english/viewtop ... =old+skull

was code there...