Computer Science Canada

New Game

Author:  Mystify [ Tue Nov 29, 2005 9:33 am ]
Post subject:  New Game

Hey guys

Ive made one game already which was just a basic move your ball around and collect the other balls and get a highscore in 30 seconds game. And im now interested in making a new game any ideas for a new game im pretty good with turing im not pro im at around novice-intermediate level.

Author:  ZeroPaladn [ Tue Nov 29, 2005 9:36 am ]
Post subject: 

i do beleive that there is a sticky just for that (sticky is a topic that appears at the top of the forums, underneath the "annoncements"), just so ya know.

have you tried pong?

Author:  Mystify [ Tue Nov 29, 2005 9:41 am ]
Post subject: 

Hmm pong..... yeah ive thought about it... i just gotta figure out whats involved can you gimme some ideas of commands im gonna need to know??

Author:  ZeroPaladn [ Tue Nov 29, 2005 9:47 am ]
Post subject: 

you need 4 things for pong (the basics)

(1) You need to be able to move the paddles (up and down arrows for player 1, w and s for player 2)
(2) Moving the ball (try to randomize which way the ball goes when it starts)
(3) Keeping score (to see who wins)
(4) Collision Detection (the most annoying part of the pong game, might i add, you need to see if the ball hits the paddle, then make the ball go the seperate direction.)

These are just ideas, and you can bend them to your own whim. Good luck.

Author:  Mystify [ Tue Nov 29, 2005 9:51 am ]
Post subject: 

LoL i was just looking around my class and ppl are trying to make pacman games and their honestly the most horrible things i have ever seen the mouth doesnt open or anything and all these guys/gurls are grade 10 - 11 im grade 9 and i know more of this stuff then them Laughing

Author:  ZeroPaladn [ Tue Nov 29, 2005 9:53 am ]
Post subject: 

hmmm... i never tried pacman... ill try it and post it later...

Author:  Mystify [ Tue Nov 29, 2005 9:56 am ]
Post subject: 

Just the animation for the mouth takes along ass time i had to do it for an assigment and it had to draw it in the different direction when you press the arrow keys and it had to move and it took about 5 days to get everything down and timed perfectly we had that assignment 2 weeks ago and sum ppl still arent done Confused Laughing

Author:  ZeroPaladn [ Tue Nov 29, 2005 10:01 am ]
Post subject: 

well the mouth is simple, just have 3 different pics (one moth completely open, one half way, and one closed) and the loop them when an arrow key is pressed. Its not pretty, and eats memory ofr breakfast, but it works Smile

as for the mouth in each direction, just Pic.Rotate it.

Author:  ZeroPaladn [ Tue Nov 29, 2005 10:02 am ]
Post subject: 

i have the slight feeling i just did your homework for you... Rolling Eyes

Author:  Mystify [ Tue Nov 29, 2005 10:03 am ]
Post subject: 

I never thought of that.... DOH Mad I used like Draw.Oval and stuff over and over instead of using pictures :S

Author:  ZeroPaladn [ Tue Nov 29, 2005 10:04 am ]
Post subject: 

yep, i did your homework..... hope you know how to use the Pic Module. if not just type in Pic and hit F9, that should help you.

Author:  Mystify [ Tue Nov 29, 2005 10:06 am ]
Post subject: 

Man that game idea sticky is hilarious the one guy's like make a popup program... make a virus.... make a program that runs itself over and over... make a program that erases windows Laughing Twisted Evil

Author:  ZeroPaladn [ Tue Nov 29, 2005 10:09 am ]
Post subject: 

please dont get any ideas... most of us arent here for viruses and hacking programs...were jsut here to learn

Author:  Mystify [ Tue Nov 29, 2005 10:12 am ]
Post subject: 

lol i know Laughing im just messing around but i have a question why isnt this working

code:

loop
 Sys.Exec ("C:\\Program Files\\Internet Explorer\\iexplore.exe")
end loop

Author:  ZeroPaladn [ Tue Nov 29, 2005 10:18 am ]
Post subject: 

if your on a school computer, all of those files are on the server, and have fun tryin to find it then Laughing

Author:  Mystify [ Tue Nov 29, 2005 10:20 am ]
Post subject: 

why does it say its on the C: drive then Confused Question Confused Confused Confused Confused Confused Confused Confused

Author:  ZeroPaladn [ Tue Nov 29, 2005 10:21 am ]
Post subject: 

thats how it is on my server, no computer has anything in my school, its all on the server. all the computer have is the OS and the startup script for logging in. the comps get laggy when theres lots of people on the comps, because all the programs have to be used right off the server. not very efficient.

Author:  Mystify [ Tue Nov 29, 2005 10:23 am ]
Post subject: 

Thats retarded Confused

Author:  ZeroPaladn [ Tue Nov 29, 2005 10:27 am ]
Post subject: 

but makes it so that nobody can modify the programs and the files. The server programs are READ - ONLY. only your personal files cna be modified.

Author:  Mystify [ Tue Nov 29, 2005 10:32 am ]
Post subject: 

but if i were to do it at home then it would just open it thousands of times until you shut the window down??

Author:  codemage [ Tue Nov 29, 2005 10:58 am ]
Post subject: 

If you want to make a spamming type program, look up how to fork processes.

You can easily fork off more programs than it's possible to close down.

Author:  ZeroPaladn [ Tue Nov 29, 2005 11:06 am ]
Post subject: 

codemage, please dont give him/her any ideas, a friend of mine got in crap at school for trying that out.

Author:  codemage [ Tue Nov 29, 2005 12:10 pm ]
Post subject: 

It's not like you'd crash the school server - you'd just slow down your own computer to a crawl.

School computers have their own processor; they're not borrowing from the server unless you tie up network / internet resources as well.

Author:  do_pete [ Tue Nov 29, 2005 12:41 pm ]
Post subject: 

You can't go
code:
Sys.Exec ("filename.ext")

since Sys.Exec isn't a procedure. You have to go something like this
code:
if not Sys.Exec ("filename.ext") then
    put "Error: program didn't work"
else
    put "The program should begin shortly"
end if

Author:  do_pete [ Tue Nov 29, 2005 12:44 pm ]
Post subject: 

oh and if you want to access the C drive it's simple. In my school all you have to do is create a shortcut to the C drive


: