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.
Is there a tutorial around?
Is there a tutorial around?
▓▓▓▓▓▒▒▒▒▒░░░░░
Re: Is there a tutorial around?
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.
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.
pb 5.11
- Rook Zimbabwe
- Addict

- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Is there a tutorial around?
What about a more exactly question?joetraff wrote:Need better resources.I want to learn the whole thing ,not only sin() and cos().
pb 5.11
- Rook Zimbabwe
- Addict

- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Is there a tutorial around?
asside from link I gave you...
there is this!
http://www.purebasic.fr/english/viewtop ... =old+skull
was code there...
there is this!
http://www.purebasic.fr/english/viewtop ... =old+skull
was code there...

