Computer Science Canada

Test my cheap game

Author:  jedi-bob [ Tue Feb 17, 2004 10:22 am ]
Post subject:  Test my cheap game

Here is the game i was working on for a long time, this is still an unfinished game so don't complain. I would like some feed back so post what you think of it and put suggestions, also any help would be appreciated.



code:


colorback (255)
cls
color  (10)
locate(10,24)
put"Welcome to.........."
delay(1000)
cls
locate(10,5)
put"Guy Who Runs From ''Bad'' People Who May Or May Not Violently Execute Him"
delay(5000)
cls
put"Instuctions"
locate(5,1)
put"Get to the goal without being seen by enemies."   
delay(2000)
cls
put"These are the enemies"
drawfilloval(500,200,50,50,yellow)
drawfilloval(500,200,10,10,red)
delay(3000)
cls
put"This is what the enemy looks like"
drawfilloval(500,200,50,50,yellow)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,yellow)
delay(500)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,yellow)
delay(500)
drawfilloval(500,200,10,10,red)delay(500)
drawfilloval(500,200,50,50,yellow)
delay(500)
drawfilloval(500,200,10,10,red)
delay(750)
cls
put"This is the area where he will see or hear you"
drawfilloval(500,200,50,50,yellow)
drawfilloval(500,200,10,10,red)
delay(1500)
drawfilloval(500,200,50,50,black)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,yellow)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,black)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,yellow)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,black)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,yellow)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,black)
drawfilloval(500,200,10,10,red)
delay(500)
drawfilloval(500,200,50,50,yellow)
drawfilloval(500,200,10,10,red)
delay(750)
cls
put"If you go into his area of vision, or hearing, you will be caught and killed"
%borrowed
delay(1500)
Draw.FillBox (0, 0, maxx, maxy, 255)
colorback (255)
color (10)
var zz : int := 1
for i : 1 .. 100
    delay (50)
    Draw.FillBox (100, 15, 100 + zz, 25, 54)
    Draw.Box (100, 15, 200, 25, 1)
    zz := zz + 1
    locate (23, 13)
    put "Loading... ", zz, "%" ..
end for
locate (23, 13)
put "Done Loading!   " ..
delay(1000)
colorback(white)
cls
%main character
var a,b : int
a:=100
b:=100
%enemy 1
var a2,b2: int
a2:=500
b2:=200
%enemy 2
var a3,b3: int
a3:=200
b3:=100
%goal
var g1,g2 : int
g1:=620
g2:=370

var chars : array char of boolean
        loop
            Input.KeyDown (chars)
           
            if chars (KEY_UP_ARROW) then
            drawfilloval(a,b,10,10,white)   
            b:=b+3
            end if
            if chars (KEY_RIGHT_ARROW) then
            drawfilloval(a,b,10,10,white)   
            a:=a+3
            end if
            if chars (KEY_LEFT_ARROW) then
            drawfilloval(a,b,10,10,white)   
            a:=a-3
            end if
            if chars (KEY_DOWN_ARROW) then
            drawfilloval(a,b,10,10,white)   
            b:=b-3
            end if
           
            drawfilloval(a,b,10,10,red)
            delay(10)
       
drawfilloval(a2,b2,50,50,yellow)
drawfilloval(a2,b2,10,10,red)

drawfilloval(a3,b3,50,50,yellow)
drawfilloval(a3,b3,10,10,red)

drawoval(620,370,20,20,black)

var distance := ((a2-a)*(a2-a) + (b2-b)*(b2-b))**0.5
var distance2 := ((a3-a)*(a3-a) + (b3-b)*(b3-b))**0.5
var distance3 := ((g1-a)*(g1-a) + (g2-b)*(g2-b))**0.5
var radius1:=10
var radius2:=50
var radius3:=20
%you take the square of differences of X coordinates and add
%a square of differences of Y coordinates then take a square
%root of the sum
%%%%%%
%I did (x)*(x) instead of x**2 because exponents is a function
%and it takes up more resourses then *, thus its faster
%Also **0.5 is the same as sqrt() - learn your math guys
if distance  < radius1 + radius2

%might be a good idea to save radious1+radious2 as const/var
then
colorback(black)
cls
put"You have been spotted, the enemy has captured and killed you."
delay(2000)
exit
elsif distance2 < radius1 + radius2
then
colorback(black)
cls
put"You have been spotted, the enemy has violently executed you."
delay(2000)
exit

elsif distance3 < radius1 + radius3
then
colorback(black)
cls
put"You made it to the goal."
delay(2000)
exit

end if

end loop
cls
delay(1000)
quit


Author:  jedi-bob [ Tue Feb 17, 2004 10:55 am ]
Post subject: 

why isn't anyone replying?? I NEED FEEDBACK............

Author:  apomb [ Tue Feb 17, 2004 3:30 pm ]
Post subject: 

Ummm ... ya i tried it but where's the rest? you should make another level or something. Also... make the enemie move in a random pattern... if you like i could try to improve the movement. But it is alright though. and get rid of the loading... it pisses me off when there is actually nothing loading.

Author:  Cervantes [ Tue Feb 17, 2004 3:44 pm ]
Post subject: 

Good introduction. However, 2 things stand out in my mind. Loose the loading bar. Also, make the enemies move.
Its a realy good start and a pretty unique idea for Turing. Keep working on it!

Author:  apomb [ Tue Feb 17, 2004 3:53 pm ]
Post subject: 

Quote:
Cervantes says: Loose the loading bar. Also, make the enemies move.
Already posted reply .. read the string b4 urs!

Author:  Paul [ Tue Feb 17, 2004 3:56 pm ]
Post subject: 

the above post wasn't necessary...
I think its a great idea for a game in turing, and its not too complicated to make the enemies move is it? I also liked the introduction. As for the loading bar, I don't mind it, I think it looks kinda unique. Now if you only had some pictures in the background while its loading Razz.

Author:  Maverick [ Tue Feb 17, 2004 4:46 pm ]
Post subject: 

THats pretty cool game, but as other people said make the enemies move and it will be awesome!

Author:  Cervantes [ Tue Feb 17, 2004 6:14 pm ]
Post subject: 

the loading bar is fairly nice looking. However its still silly to have one. There's nothing to load! It's just a graphic to waste time and make your program look professional, when really its not (no offense. Afterall, it IS made in turing Razz)

Author:  nate [ Tue Feb 17, 2004 6:21 pm ]
Post subject: 

I agree with most ppl,

try to improve the graphics, maybe add a pic or 2 instead of drawing simple circles

Thats it, gj

Author:  netninja [ Tue Feb 17, 2004 7:08 pm ]
Post subject: 

Well, tips to improve:

-Lose loading bar
-Make characters move
-Get pictures instead of dots as characters
-Get backround picture, of terrain or streets or something
-Get borders to move around so its not straight to the target, so you can take cover or something, instead of moving into the sight of the guy lol. Make it so they can see farther, and you have to dodge them by going around walls.

Otherwise, its good. Very Happy

Ooh, also, dont let the guy go out of bounds so you cannot see him.

Author:  Paul [ Tue Feb 17, 2004 7:10 pm ]
Post subject: 

netninja wrote:
Well, tips to improve:
-Get pictures instead of dots as characters

Ah, if you make characters then it will complicate things, since normal characters wouldn't have 360 degrees vision, you'll have to change to a different type of detection then. Then you'd also have to have them turn, which will also change the field of vision.

Author:  netninja [ Tue Feb 17, 2004 7:13 pm ]
Post subject: 

No, you could still have the circle around the guy... I dont get what youre trying to say Paul. I guess you could have half a circle or maybe a bit less. So that you could see their vision. Wont be too complicated.. WHy should it

Author:  Paul [ Tue Feb 17, 2004 7:18 pm ]
Post subject: 

netninja wrote:
I dont get what youre trying to say Paul.

What Im saying is, if your quiet, the guy can't see you if he's turned the other way, if you want to make it realistic though.

Author:  Cervantes [ Tue Feb 17, 2004 8:07 pm ]
Post subject: 

yeah I agree with you paul. leave it as circles for the time being. Once everything else is done (such as the loading bar deleted and the enemies moving and boarders added) then add characters.

Author:  shorthair [ Tue Feb 17, 2004 8:46 pm ]
Post subject: 

good thing someone already told him about the loading bar , we all know how i get when this comes up on compsci Naughty

Author:  netninja [ Wed Feb 18, 2004 4:06 pm ]
Post subject: 

There should be a sticky at the top of this forum labelled, no cheap loading bars which have no specific purpose. Laughing

Author:  jedi-bob [ Tue Mar 09, 2004 1:59 pm ]
Post subject: 

i will take the loading bar out, but i could use some help in getting my enemies to move and to add levels; I ama beginner so it would be great to get some help or suggestions with the enemies..


ps thanks for the feedback\nice comments

Author:  valor [ Thu Apr 01, 2004 10:13 pm ]
Post subject: 

it is cool but kinda lame it would be better if the bad guys moved around and there were more levels Razz

Author:  WhatAmIDoing [ Fri Apr 02, 2004 11:05 am ]
Post subject: 

if you want i could help you out. just ask me if you want me to


: