Author |
Message |
JayLo
|
Posted: Sun Mar 16, 2003 7:00 pm Post subject: a game concept |
|
|
you know those games where there is some type of flying object and you have to dodge some obstacles?
http://www.addictinggames.com/helicopter.html
is it possible to do this in turing?
I have a very preliminary one going but it's pretty stupid...
Description: |
|
Download |
Filename: |
ball game.t |
Filesize: |
4.69 KB |
Downloaded: |
514 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Asok
|
Posted: Sun Mar 16, 2003 7:02 pm Post subject: (No subject) |
|
|
This is possible to accomplish in turing, in fact, Daniel Green (dumb loser) made a racing game on the exact same concept.
|
|
|
|
|
|
JayLo
|
Posted: Sun Mar 16, 2003 7:03 pm Post subject: any ideas how? |
|
|
i mean like the moving background thingie and box generator, I find pretty hard.
|
|
|
|
|
|
Asok
|
Posted: Sun Mar 16, 2003 7:06 pm Post subject: (No subject) |
|
|
Well here's basically what you'll need, the hellicopter can be drawn and controlled the Pic.Draw. You'll need a variable for distance between top and bottom. You'll need to have everything in a loop. You'll need to randomly generate the boxes (Rand.Int).
|
|
|
|
|
|
JayLo
|
Posted: Sun Mar 16, 2003 7:15 pm Post subject: (No subject) |
|
|
aww man... this is turning into grade 10 math all over again! oh well, thanks a bunch asok.
|
|
|
|
|
|
JayLo
|
Posted: Sun Mar 16, 2003 9:31 pm Post subject: (No subject) |
|
|
my boxes don't come out.
Description: |
|
Download |
Filename: |
Whale.zip |
Filesize: |
5.41 KB |
Downloaded: |
469 Time(s) |
|
|
|
|
|
|
Asok
|
Posted: Sun Mar 16, 2003 9:40 pm Post subject: (No subject) |
|
|
This is because Procedure obstacle isn't getting called. so it is never getting the message to draw.
|
|
|
|
|
|
JayLo
|
Posted: Sun Mar 16, 2003 10:22 pm Post subject: (No subject) |
|
|
try calling in 'obstacle'. oh and about generating a background, how?
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
JayLo
|
Posted: Mon Mar 17, 2003 9:23 pm Post subject: (No subject) |
|
|
should I divide my window into sections to check if the object hit something? please give some base code.
Description: |
|
Download |
Filename: |
Sub.zip |
Filesize: |
16.58 KB |
Downloaded: |
492 Time(s) |
|
|
|
|
|
|
Dan
|
Posted: Mon Mar 17, 2003 10:14 pm Post subject: (No subject) |
|
|
i think you whont to use closione dection for this one, so yes you kind of need to diived up your window to see if the sub is hitying anyting.
we have a tutorale on this here: http://www.compsci.ca/bbs/viewtopic.php?t=75
|
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
|