Computer Science Canada Following and attempt at collision detection. |
Author: | RaPsCaLLioN [ Thu Jan 09, 2003 3:14 am ] | ||
Post subject: | Following and attempt at collision detection. | ||
Here's a little of my code that I'm using as a basis for an RTS style fighting system. Have some fun with it. Tell me what you think.
|
Author: | Tony [ Thu Jan 09, 2003 3:20 am ] |
Post subject: | |
thats some interesting code you got there thx for sharing |
Author: | azndragon [ Sat Jan 25, 2003 7:35 pm ] |
Post subject: | |
What's RTS? |
Author: | Tony [ Sat Jan 25, 2003 8:43 pm ] |
Post subject: | |
my guess is Real Time Strategy... |
Author: | the_short1 [ Wed Dec 03, 2003 6:25 pm ] |
Post subject: | CAn i use ur code? |
Can i use this code modified a bit in a game i made... i though i would ask your permission before i make my game available on my website... i will add your name in my credits so also what is your name...i made a PacMan and used for the walls of pacman arena and to follow pac around... i will post in user submited program soon...Thanks |
Author: | Andy [ Thu Dec 04, 2003 10:04 pm ] |
Post subject: | |
wow... do u ppl ever learn? USE whatdotcolor... it saves you so much code.... and it wont bug up like urs but aside from that, cool |
Author: | Dan [ Thu Dec 04, 2003 10:08 pm ] |
Post subject: | |
dodge_tomahawk wrote: wow... do u ppl ever learn? USE whatdotcolor... it saves you so much code.... and it wont bug up like urs but aside from that, cool
grrrrr, why not just throw some goto lines in there dodge |
Author: | Mazer [ Thu Dec 04, 2003 10:18 pm ] |
Post subject: | |
lol! |
Author: | the_short1 [ Sat Dec 06, 2003 11:58 pm ] |
Post subject: | Where is Rapscallion |
I want to post on net SOON!!!! i need to know if hes gona let me or not... and i want to know his name for my credits screen...PacMan so far has one enemy moving and full movement for pacman, all dot vraibles, all score death, and boudaraies in effect.... jsut need to multiply enemy times 4.... and fix wall boundaries for enemy a bit.... soo many people are awaiting the arival of my game.... would i get bits for submitted to Compsci.ca also...??? i wanted to post on my turing site www.geocities.com/the_short22/turing.html <<<<under contruction.... Thanks Kevin The Short One p.s. my game has totaled 1700 lines of code so far..... i know LOTS!!! but i am a Novice so yea....dont want to make it complicated and advanced... |
Author: | Tony [ Sun Dec 07, 2003 3:24 am ] |
Post subject: | |
for credits, just state user's username and "www.compsci.ca" and yes, you do get bits for submiting stuff If you ask nicely (and if your name does not contain dodge) you usually get more |
Author: | Andy [ Sun Dec 07, 2003 7:56 pm ] |
Post subject: | |
hey... oh well, me dont need bits anymore... |
Author: | TheDarkArcher [ Thu Dec 11, 2003 2:04 pm ] |
Post subject: | It is one ery interesting RTS I like the collision detection |
Great collision detection but maybe it should bounce off or something but whayt do I know! |
Author: | Thuged_Out_G [ Sat Dec 13, 2003 3:34 am ] |
Post subject: | |
ok, so its alotta code, but does it work? well, it seems i can pass that blue circle right through the red ones if you move the mouse fast enough it works, but if you go just a little slower, it passes right through |
Author: | DanShadow [ Sat Dec 13, 2003 5:22 pm ] |
Post subject: | |
Hmm...thats pretty good. I dont remember where I put the topic, but I worked on an RTS thing too. You could probably learn a thing or two. Your game, you have 1 unit who follows your mouse, I had it, so you select a unit (left click), then move it (right click), the deselect it (left click where it isnt). It proved useful, and th en I learned more, and if you use a bunch of arrays, you can make the most elite RTS EVER! Here are a few you might use: unit_hp,unit_x,unit_y,unit_attack,unit_destination_x,unit_destination_y,unit_reached_x,unit_reached_y,unit_moving....and so forth You could have seriously as good a game as Age of Empires with this kind of stuff. I decided to drop that for an even bigger project....... *(drumroll)* Im making a scroller RPG, fully graphical, similar to the first Diablo. It is an extremely hard project, and im going to use it as my Grade 11 Computer Science Final Project. (Supposedly the best thing my teacher has ever seen is snakes and ladders, so this is gonna give him a heart attack!) |
Author: | DanShadow [ Sat Dec 13, 2003 5:24 pm ] |
Post subject: | |
Oh and Dodge, is your pic a screenshot from the new "Starcraft, ghost" thing? Ive never played it, but 'just' noticed the cloaking thing on your item spot. |
Author: | Andy [ Sat Dec 13, 2003 5:29 pm ] |
Post subject: | |
yepp it is, except its not out yet |