Cool uses of the SIne and Cosine!

Game Editor comments and discussion.

Cool uses of the SIne and Cosine!

Postby Game A Gogo » Wed Nov 29, 2006 11:09 pm

Ive made a demo for demonstrating the uses of the commends Sin and Cos, i guess it worked pretty well, i may even create a demo for drawing a Figure whit them.

http://www.filefactory.com/file/259048/

enjoy.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

133fps

Postby kyensoftware » Sun Dec 03, 2006 4:00 am

Works with 133fps on my machine. :wink:
Just might help. :wink: :wink:
User avatar
kyensoftware
 
Posts: 198
Joined: Thu Oct 26, 2006 7:49 am
Score: 5 Give a positive score

Postby Game A Gogo » Sun Dec 03, 2006 3:07 pm

cool
on mine its usually work at 250
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

dude

Postby kyensoftware » Sun Dec 24, 2006 5:13 am

Dude, Just thinkin' maybe it's the monitors? :D
just so ya know, ya know
User avatar
kyensoftware
 
Posts: 198
Joined: Thu Oct 26, 2006 7:49 am
Score: 5 Give a positive score

Postby Sgt. Sparky » Mon Dec 25, 2006 4:44 am

braggers! wahahaha! :cry: my computer rarely runs at 200 fps...
:cry: oh well, its only a computer... that is faster than mine.... :cry: :( :o :) :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Game A Gogo » Mon Dec 25, 2006 6:33 pm

well, it depens on what is your CPU power, mine is like 2.1Ghz and also depens on the memory, mine is 512mb
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

mine sez...

Postby kyensoftware » Wed Dec 27, 2006 6:53 am

Mine says it has 1.41 Ghz, But it is an AMD so its really 2.82 Ghz
User avatar
kyensoftware
 
Posts: 198
Joined: Thu Oct 26, 2006 7:49 am
Score: 5 Give a positive score

Postby Game A Gogo » Wed Dec 27, 2006 3:46 pm

it also depends on your V-ram on your video card.
and BTW, my cpu is 2.4Ghz
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Sgt. Sparky » Wed Dec 27, 2006 3:47 pm

:shock: wow you two will still not stop that braggification.(I know that is not a word it is just fun to use) :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Joshua Worth » Wed Dec 27, 2006 11:19 pm

it should be sin and cochicken! :D
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby Sgt. Sparky » Wed Jan 03, 2007 3:40 pm

I feel stupid asking this.... but what is sin an' cosine? :lol: :oops:
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Game A Gogo » Wed Jan 03, 2007 8:55 pm

i dunno, their are function that makes it go back and forth whit a smooth, like to do a circle Ex.:
lets do a little thing to show you what it does
Beginning number | Sin | Cos
0 | 0 | 1
1 | 0.01 | 0.9998
2 | 0.03 | 0.9993
4 | 0.06 | 0.997
8 | 0.13 | 0.99
16 | 0.27 | 0.96
32 | 0.52 | 0.84
64 | 0.89 | 0.43
128 | 0.78 | -0.61
256 | -0.97 | -0.24

the Sin could be the X coordinate and the Cos could be the Y coordinate and for the numbers (first), it would some code like this: Number*Number whitch is Number^3 hope it helps (the cos and sin only varies beetween -1 and 1)[/code]
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Sgt. Sparky » Thu Jan 04, 2007 10:22 pm

okay, and thanks again! :D :D :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Game A Gogo » Fri Jan 05, 2007 12:04 am

also, its used a lot in math, especially for making graphics (I.E. a line that goes up and down)
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Sgt. Sparky » Fri Jan 05, 2007 12:05 am

*grin*, thanks again. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron