
-----------------------------------
PhOeNiX-47
Sun May 16, 2004 12:31 pm

HI!!! (And more) - EDITED (Plz READ)
-----------------------------------
WOW, I never knew this site existed! I could have gotten good marks in school if I came here before!

Great site! (Just saying hi!)

Can anyone tell me a easy game I can make? ( I have about a month to do this so I have plenty of time!)

Thanks!

PS- I checked the post abotu game ideas! They are pretty tough :(

-----------------------------------
LiquidDragon
Sun May 16, 2004 12:54 pm


-----------------------------------
Hi there! What school do you go to?

Just wanted to know which school  :roll: 

Why don't you make a text adventure game? Or maybe hangman or who wants to be a millionaire. If you find graphics to hard its easier to make it a text game  :)

-----------------------------------
Martin
Sun May 16, 2004 1:03 pm


-----------------------------------
Pong isn't too hard to make, and neither is AI for it.

To make pong, you would have to use Input.KeyDown (type that and press f9) to allow for simultaneous movement.
var ch : array char of boolean %I know it's weird, but you need to have it for Input.KeyDown
loop
 Input.KeyDown (ch)
 if ch('w') then
   %move left paddle up
 end if
 if ch ('s') then
  %move left paddle down
 end if
 if ch (KEY_UP_ARROW) then
  %move right paddle up
 end if
 if ch (KEY_DOWN_ARROW) then
  %move right paddle down
 end if
end loop

Also, search the forums for some source code. It could come in handy. Don't steal it (obviously), but you can get a good idea how a working game would look with it (and steal bits of code, just give credit).

-----------------------------------
PhOeNiX-47
Sun May 16, 2004 2:25 pm


-----------------------------------
Well, I really dont know what is array and how to use boolean in a program. Yes, I agree, im a noob!

Btw, Im from Danforth Collegiate and Teachnical Institute. It's in Toronto :)

-----------------------------------
Tony
Sun May 16, 2004 3:27 pm


-----------------------------------
here's a [url=http://www.compsci.ca/v2/viewtopic.php?t=114]tutorial on how to use Input.KeyDown.

-----------------------------------
naoki
Sun May 16, 2004 6:09 pm


-----------------------------------
Well, I really dont know what is array and how to use boolean in a program. Yes, I agree, im a noob!

Btw, Im from Danforth Collegiate and Teachnical Institute. It's in Toronto :)

Although you can't spell, that school you go to sure does sound fancy  :lol: 
It's just kinda odd that your teacher would tell you to make a final project when you don't even know what an array (a group of variables with same prefix) or boolean (true false indicator) is.

I think http://www.compsci.ca/v2/viewtopic.php?t=1022 is appropriate for your idea-seeking needs. As well, visit "Turing Submissions" for several more ideas.

And if you're super desperate, take Dodge_tomahawk's Othello  :lol:

-----------------------------------
Martin
Mon May 17, 2004 2:10 am


-----------------------------------
I love how nobody understands how array char of boolean works.

-----------------------------------
Cervantes
Mon May 17, 2004 4:51 pm


-----------------------------------
its a boolean array of the chars on the keyboard.  so if its pushed down it is true, if not it's false.  then when you're doing "if keys (KEY_LEFT_ARROW) then" you're just leaving out the "= true" part because turing automatically puts it in there for you.  
yes?

-----------------------------------
Tony
Mon May 17, 2004 6:50 pm


-----------------------------------

yes?

no :lol:

you need to achieve a boolean value in the expression. This is done by ether using comparison operations that return boolean or using boolean variables to begin with.


if true then
    put "boolean works"
end if

if 1 then
    put "integer doesn't"
end if


-----------------------------------
PhOeNiX-47
Tue May 18, 2004 5:52 pm


-----------------------------------
So anyone wanna explain to me what array of boolean does? Thanks for the KeyDown but my program looks exactly like the movement. I didn't look but somehow my program looked almost like that (not variables names though) :) 

oh and I decided to finally make a space shooting game :)

-----------------------------------
Paul
Tue May 18, 2004 6:21 pm


-----------------------------------
-array of string (bunch of string variables under the same name differentiated by a subscript)

-array of int (bunch of integer variables under the same name differentiated by a subscript)

-array of real (bunch of real number variables under the same name differentiated by a subscript)

-array of boolean (bunch of boolean variables under the same name differentiated by a subscript)
