Computer Science Canada Programming C, C++, Java, PHP, Ruby, Turing, VB   Username:   Password: Wiki   Blog   Search   Turing   Chat Room  Members
Anyone know how to make a Long Jump game?
Author Message
born130

Posted: Sun May 18, 2003 7:17 pm   Post subject: Anyone know how to make a Long Jump game?

My question is does anyone know how to make a Long Jump game with these requirements:

1) press "a" to power up bar for a set period of time.
2) after power bar is set, choose angle, the angle bar goes back and forth and u press a button to set

3) it jumps a certain amount of meters based on the amount of power and the angle

thanks

Asok

Posted: Sun May 18, 2003 8:39 pm   Post subject: (No subject)

do your own ISP k thx
AsianSensation

Posted: Sun May 18, 2003 9:34 pm   Post subject: (No subject)

yeah, I did something like that for my game, where I have to draw a bazooka being fired across the screen.

Projectile_Posx := Projectile_Velocity * cosd (Angle) * Projectile_Time
Projectile_Posy2 := (-1 / 2) * Gravity * Projectile_Time ** 2 + Projectile_Velocity * sind (Angle) * Projectile_Time

this is the formula for figuring out the position of something, as you can see, it is based on the variable of time, so make sure u include something increase the time. try and figure it out yourself, if you really can't get it, i'll send you the code for my bazooka thingie.
beedub

Posted: Sun May 18, 2003 10:14 pm   Post subject: (No subject)

lemme quote asok here.
Quote:
please do not ask for someone to do an assignment for you as that's not what we do here.

We will help you but that means you still need to do the bulk of it.

that was his reply after my first post... lol... the funny thing is i dont have assignments... but seriousily dont make us do ur homework
AsianSensation

Posted: Sun May 18, 2003 10:26 pm   Post subject: (No subject)

yeah, i should have just posted the concepts here, but it isn't that hard. just think about it and u'll get it.
naoki

Posted: Mon May 19, 2003 2:55 pm   Post subject: (No subject)

yah u made a couple of posts along these lines
try 2 experiment b4 u make a topic
Andy

Posted: Mon May 19, 2003 7:40 pm   Post subject: (No subject)

hey guys leave him a lone, he just started compsci and he doesn't even take the class, he just wants some help. and jeez Asian_Sensation, quit showing off, or born130'll kick ur butt
AsianSensation

Posted: Tue May 20, 2003 3:43 pm   Post subject: (No subject)

I wasn't picking on him, Andy, and I don't think I was showing off, I was trying to help, I gave him the equations for the projectile position, I was being nice, it stops him from having to search the net for it.

And how was I suppose to know he didn't take comp sci? If I knew, I would have gave him a detailed help on the game.

AsianSensation

Posted: Tue May 20, 2003 3:45 pm   Post subject: (No subject)

U know what, maybe I will help him out, born130, just ask me at school in case you need help, since it will obviously take too long for me to type everything up.
naoki

Posted: Tue May 20, 2003 4:55 pm   Post subject: (No subject)

man, is is like a whole school is invading this board or something?

 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

Page 1 of 1  [ 10 Posts ]
 Jump to:  Select a forum  CompSci.ca ------------ - Network News - General Discussion     General Forums   -----------------   - Hello World   - Featured Poll   - Contests     Contest Forums   -----------------   - DWITE   - [FP] Contest 2006/2008   - [FP] 2005/2006 Archive   - [FP] 2004/2005 Archive   - Off Topic     Lounges   ---------   - User Lounge   - VIP Lounge     Programming -------------- - General Programming     General Programming Forums   --------------------------------   - Functional Programming   - Logical Programming   - C     C   --   - C Help   - C Tutorials   - C Submissions   - C++     C++   ----   - C++ Help   - C++ Tutorials   - C++ Submissions   - Java     Java   -----   - Java Help   - Java Tutorials   - Java Submissions   - Ruby     Ruby   -----   - Ruby Help   - Ruby Tutorials   - Ruby Submissions   - Turing     Turing   --------   - Turing Help   - Turing Tutorials   - Turing Submissions   - PHP     PHP   ----   - PHP Help   - PHP Tutorials   - PHP Submissions   - Python     Python   --------   - Python Help   - Python Tutorials   - Python Submissions   - Visual Basic and Other Basics     VB   ---   - Visual Basic Help   - Visual Basic Tutorials   - Visual Basic Submissions     Education ----------- - Student Life   Graphics and Design ----------------------- - Web Design     Web Design Forums   ---------------------   - (X)HTML Help   - (X)HTML Tutorials   - Flash MX Help   - Flash MX Tutorials   - Graphics     Graphics Forums   ------------------   - Photoshop Tutorials   - The Showroom   - 2D Graphics   - 3D Graphics     Teams ------ - dTeam Public

 Style: Appalachia blueSilver eMJay subAppalachia subBlue subCanvas subEmjay subGrey subSilver subVereor Search: