Is there a tutorial around?

Advanced game related topics
Nituvious
Addict
Addict
Posts: 1030
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Is there a tutorial around?

Post 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.
▓▓▓▓▓▒▒▒▒▒░░░░░
gnasen
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 24, 2008 12:21 am

Re: Is there a tutorial around?

Post 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.
pb 5.11
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Is there a tutorial around?

Post by Rook Zimbabwe »

Have you been to purearea.net?

www.purearea.net
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
gnasen
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 24, 2008 12:21 am

Re: Is there a tutorial around?

Post 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?
pb 5.11
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Is there a tutorial around?

Post by Rook Zimbabwe »

asside from link I gave you...

there is this!

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

was code there...
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply