
-----------------------------------
omni
Sat Mar 20, 2004 5:46 pm

[Game]Shooters
-----------------------------------
This is a game combining the concepts of my starfield program and recoil program. It is a two player game. You choose your gun and shoot the other guy. It is  from a top person view. Everytime you get shot, you get pushed back and you can't shoot for a while, depending on the gun (stopping power). 

Almost done my game...

-----------------------------------
AsianSensation
Sat Mar 20, 2004 6:40 pm


-----------------------------------
well, I liked the recoil system, that wasn't bad at all. You deserve bits for that. Too bad the game runs too fast on my computer, had to delay some for it work out nicely. Add some obstacles, add some other weapons, maybe grenades?

Kinda reminded me of EM when I first saw the game screen.

+20 bits

-----------------------------------
omni
Sat Mar 20, 2004 9:09 pm


-----------------------------------
whats EM? Would I have to use cos or sin for the bouncing of the grenades, or would there be an easier way?
As for the more weapons, I hope to make counter terrorists and terrorists team, and each team has specific weapons that they can start off with; kinda like Couter Strike...

-----------------------------------
AsianSensation
Sat Mar 20, 2004 9:36 pm


-----------------------------------
EM - Evasive Maneuvers, Mazer's game.

As for bouncing, you could do it anyway you wanted, but trig is an excellent tool for dealing with stuff that involves angles.

Obstacles might be a good idea, like you can hide behind stuff to dodge bullets, or go around a maze to find your opponent.

Another thing though, try to have rotation in this game. So far, it's just 4 directions only, try to have them rotate 360 degrees. You will definitely need trig for that.

-----------------------------------
omni
Sat Mar 20, 2004 9:43 pm


-----------------------------------
I'm working on 8 directions, but I don't know anything about trigonometry.

-----------------------------------
AsianSensation
Sat Mar 20, 2004 11:09 pm


-----------------------------------
what school (since you are from windsor), what grade?

-----------------------------------
omni
Sun Mar 21, 2004 9:40 am


-----------------------------------
Massey grade 10

-----------------------------------
AsianSensation
Sun Mar 21, 2004 1:34 pm


-----------------------------------
hmmm, that's strange...I thought we taught trig in gr 10...

I'm also assuming you didnt take the robotics course, because I know trig is the first thing they teach there...

Anyways, when you learn trig, you can improve your movement further, but it's pretty good with what you have now.

-----------------------------------
Delos
Sun Mar 21, 2004 6:01 pm


-----------------------------------
Fun...but your ammo doesn't reload when you pass over an ammo powerup...the counter that is displayed goes up, but the # of bullets in the holder doesn't go up...and you can't continue firing recklessly at your opponent.

-----------------------------------
omni
Mon Mar 22, 2004 12:33 pm


-----------------------------------
I did that purposely, Delos. The ammo just gives you more clips. I guess I'll change that

-----------------------------------
omni
Mon Mar 22, 2004 5:36 pm


-----------------------------------
is it possible to draw straight lines with cos and sin? And does anyone have any tutorials about how to use cos and sin?

-----------------------------------
AsianSensation
Mon Mar 22, 2004 7:43 pm


-----------------------------------
yes, it's possible to use cos and sin to draw straight lines. The best tutorial, however, is probably given by the enriched math teacher in our school, them with their "winding functions"....swear to God, I learned the damn winding function like 11 times now....

still, I wouldn't be able to teach you trig that easy, considering every single math tutorial site teaches the SOHCAHTOA way, and I learned it the "winding function" way. I know SOHCAHTOA, just not very good with it.

-----------------------------------
omni
Mon Mar 22, 2004 8:43 pm


-----------------------------------
what the heck is sohcotoa?

-----------------------------------
AsianSensation
Mon Mar 22, 2004 9:06 pm


-----------------------------------
It's God's gift to Massey students.
Sine = Opposite / Hypoteneuse
Cosine = Adjacent / Hypoteneuse
Tangent = Opposite / Adjacent

-----------------------------------
omni
Wed Mar 24, 2004 9:08 pm


-----------------------------------
I've added a somewhat funny looking 8 direction firing and added 2 more weapons and tried to make it look better. 
I hope to add 360 turning next time, or enemy AI.

-----------------------------------
the_short1
Wed Mar 24, 2004 11:05 pm


-----------------------------------
good stuff.. i like the scater on the chain gun if u held the trigger... very realistic.....

does kinda seem like EM from mazer but without the ship graphics....
**Cough** and the long anoying sign in processs lookz cool... but sllowwwwwwwwwwwwww**cough**


enemy AI would kick !! i will be giving ya some bits when u pull it off...

-----------------------------------
omni
Thu Mar 25, 2004 5:44 pm


-----------------------------------
Thats IF I pull it off. There are soooo many if conditions. 
The main thing for AI I am focusing on right now, is getting enemy to target you and fire. 

Question: Should there be a coop mode? EX: 2 players versus an army of enemy AI , if I can do AI.

-----------------------------------
the_short1
Thu Mar 25, 2004 6:09 pm


-----------------------------------
yea... COOP ver a bunch of army would kick.... AI is rough TONS of if statements.... trackers are the easiest...

-----------------------------------
omni
Thu Mar 25, 2004 6:53 pm


-----------------------------------
what are trackers?

-----------------------------------
the_short1
Thu Mar 25, 2004 7:36 pm


-----------------------------------
the tracker code for pac man is... basically AI... 
the enemy 'tracking' you... so for yours... .. maybe get the enemy to circle the midpoint of the screen in a wide circle... and 
rotate every lets say .5 real seconds to make the facing directioon (the direction the bullet flyes out of u) be on the same line as the humman...so it can have a chance at firing... unless u dodge the bullet
hope that can work out for u and make it easier...

if a human lies on the same line as then orientation slope extended invisibly lthen SHOOT!
... mind u the math eqatuobn for the slope mite be hard to implement... im good at math... but not good at integrating math into turing...(the complex stuf)
heres a pictuire..
cuz this is realy hard to decribe my thought....

this mite not make sense still cause its realy hard to discribe... and i prob confuse u more tehn i help..

-----------------------------------
omni
Thu Mar 25, 2004 8:19 pm


-----------------------------------
acutally i've got a very basic enemy AI working, it fires at you quite accurately, or as close as possible, as the enemy can't move right now.

Edit: Heres basic enemy AI, no items just Ai and you. AI has unlimited health right now, just put an 

EDIT : the enemy can now move.

-----------------------------------
omni
Sun Apr 04, 2004 1:23 pm


-----------------------------------
I've updated the game. This time round I got 
semi automatic pistol, and a shotgun, plus a weapon selection interface.

-----------------------------------
Maverick
Sun Apr 04, 2004 3:04 pm


-----------------------------------
pretty fun game, not bad at all.

-----------------------------------
Preist_Holmes
Sun Apr 04, 2004 4:56 pm


-----------------------------------
Wow great game gj!!!

-----------------------------------
the_short1
Wed Apr 07, 2004 3:52 pm


-----------------------------------
wow... good ai.... couple things...

it errors out if u choose gun 5-6-7 cuz of picture errors.....

second... maybe think of using...

View.Set ("offscreenonly")

... do a bunch of stuff
View.Update 

this way it dont flicker like CRAZY!!!

good game tho...

-----------------------------------
omni
Wed Apr 07, 2004 4:04 pm


-----------------------------------
are you talking about enemyai.zip? or my regular game?
There shouldn't be any errors for regular game and I think I did use View.Update for the game.
I'll start updating my enemyai.t. What should I improve about my enemyai?

-----------------------------------
the_short1
Thu Apr 08, 2004 10:42 pm


-----------------------------------
ahh.. t hat was about the enemy AI... i tried ur regular game.... WOW... great job... MUCH better.... still is flickery when firing tho...... meh!.... still plays DAM good... CUDOS!

-----------------------------------
gamer
Thu Apr 15, 2004 4:28 pm


-----------------------------------
GJ omni, btw i hav a little request/question

u kno how rite now its 2-player-game, is it possible to make AI so that the user is given the choice to either play against computer or against another human.....cuz i think then that'll be much much much better

however creating the AI might be tough

-----------------------------------
gamer
Thu Apr 15, 2004 4:36 pm


-----------------------------------
o sry sry my bad i didnt see the other game attached (enemyai.zip)
i wasnt tryin to spam i seroiusly missed that part

anyway, i think the problem with that enemyai is that the ai is just WAY to powerful, like theres no way to fight back...is there way to modify that alittle??plzz

-----------------------------------
omni
Thu Apr 15, 2004 5:39 pm


-----------------------------------
heh heh, I sometimes have trouble beating it. 
I was thinking about an AI that will stop and fire at a distance and avoid incoming bullets, instead of what I have now, the AI closing in on you and hunting your @$$ off.
Also, how about 2 or more AI players versus you? Probably be slower, but MUCH MOREEEEE challenging.

-----------------------------------
gamer
Thu Apr 15, 2004 5:46 pm


-----------------------------------
um sounds good too, OR (i duno if its possible, but i believe u can do it :D ) u can hav: 1. a human vs computer (given the option of whether to go against one or two computer), 2. a human vs human, AND 3. two humans against two computer :lol: 

but firstly i think u should make the AI easier, so that people can actualy play aginst computer , i agree changing it so that the computer "stop and fire at a distance and avoid incoming bullets, instead of what I have now, the AI closing in on you and hunting your @$$ off."

i bet ya it'll be ULTIMATE when completed

-----------------------------------
omni
Thu Apr 15, 2004 5:50 pm


-----------------------------------
anyone know where I can get pictures of people from a top down perspective, (8 directions) I want to make the game look somewhat better? 
If not then feel the wrath of my |\|00|8 ish drawings.

-----------------------------------
gamer
Thu Apr 15, 2004 6:03 pm


-----------------------------------
wut do u mean "people from a top down perspective, (8 directions)"??

-----------------------------------
omni
Thu Apr 15, 2004 6:11 pm


-----------------------------------
you know how in my game, the 'people' you move around are just boxes and sticks? I want to change that. And you can move in 8 directions if you didn't know that, which is why (8 directions).
Viewing the people from a "birds eye view" would let you be able to see the direction you are firing in.

-----------------------------------
gamer
Thu Apr 15, 2004 6:13 pm


-----------------------------------
but in real life if u were to view people in birdeyeview, u'll probably just see kinda like a rectnagle (from shoulder to shoulder) with a circle in middle (head) nothin reli special, but then u can add the guy holdin the guy too

-----------------------------------
omni
Thu Apr 15, 2004 7:22 pm


-----------------------------------
not an EXACT birds eye view, you guys know how the person was displayed in Pokemon, the GameBoy game? thats the kind of view I want.

-----------------------------------
gamer
Thu Apr 15, 2004 8:15 pm


-----------------------------------
o.... then just dl the emulator n rom play the game n take screenshot of him moving in different angels, lol that does work, not nessessary pokemon but dl rpg games n get a cool lookin guy, then simply import the pics in turin

if u think thats stupid or bad graphics (hey, still better than the box n stick u havin now) then i duno wut u can do

-----------------------------------
gamer
Sun Apr 18, 2004 1:10 pm


-----------------------------------
omni, so hav u been improvin u game rite now??
cuz i reli wanna see the final product :D

-----------------------------------
Deshwitat
Mon Apr 19, 2004 5:53 pm


-----------------------------------
Heh nice game, a little bit to the fast side...but overall nicely done..

-----------------------------------
omni
Mon Apr 19, 2004 7:13 pm


-----------------------------------
trying to rearrange the code so then I user can choose the mode they want, Haven't done any real improvements. Been spending more time on working on AI.
I've decided to choose this as my final project for class, and I have a partner to work with. So I don't really want to go TOO far, or my partner might get lost.

-----------------------------------
gamer
Tue Apr 20, 2004 7:42 pm


-----------------------------------
well how do u even make ai??if ya tell me maybe i can help alittle n try it out myself too

-----------------------------------
Paul
Tue Apr 20, 2004 8:17 pm


-----------------------------------
u have it move around, and have it shoot u some times, by that I mean animated shooting and deduction of health?

-----------------------------------
omni
Wed Apr 21, 2004 4:11 pm


-----------------------------------
AI is obviously different for each game you make. For my game, you want it to do what PAUL BIAN said. You basically teach the program how to play your game. Should your AI move around, or should it make decisions? Should it shoot you, or protect you? Do you want it to constantly aim and shoot at you, or back away and shoot at you. 
My AI is basically a whole bunch of if statements.

-----------------------------------
gamer
Wed Apr 21, 2004 5:26 pm


-----------------------------------
oic....thnx for teachin me this

-----------------------------------

Wed Apr 21, 2004 5:46 pm


-----------------------------------
wow gamer u get wut they ar sayin?
teach me too

-----------------------------------

Wed Apr 21, 2004 5:51 pm


-----------------------------------
yo the_one stop spammin sh*t.....i just saw u on other topics

-----------------------------------
gamer
Wed Apr 21, 2004 6:01 pm


-----------------------------------
wow gamer u get wut they ar sayin?
teach me too

yo the_one wuts wrong with u, stop spammin like this......plus its pretty hard for me to explain it to you as i just read his reply today...why not just ask omni or paul bian

-----------------------------------
the_short1
Fri Apr 23, 2004 4:43 pm


-----------------------------------
ummm... how da helll do u acually bother puttin ur name... without signing up.... common.....

SIGN UP!!! why be a gues... :(

it takes 2 minutes... and its not like compsci will do anything to ur email... or SPAM ur inbox.... its safe...

as for spamming... stpid move.... dont spam on compsci.. .we no like dat... 



yea... making a program with a partner sucks... stick to urself and u can call it ur own... and make it however u want.... although the input and the second brain is good.... but that i why we have compsci for suggestions / comments....

anways.... if u put a finished polished version of this in FP contest... i think wed all be smoked... except my pac man... . it mite be tight competition...... ;)

-----------------------------------
gamer
Fri Apr 23, 2004 8:14 pm


-----------------------------------
but if omni puts both single and two-player in his game, n polish it, it'll b pretty awesome too

-----------------------------------
omni
Sun Apr 25, 2004 8:02 am


-----------------------------------
W00t! I got 
1. One player vs computer (can support MORE THAN ONE computer at a time, obviously you need a better computer to handle more AIs)
2. one vs one (both humans)
3. Cooperative (two humans vs two computers or more)
All in one game.
Plus an intro. 

I have NOT uploaded it yet... Need to make some more options (specify how many computers) fix some bugs, look forward to an updated version, with these game modes in one program.  I also want to implement weapon switching, hopefully. 
Yes it now supports more than one computer at a time, but the computer has the same thinking engine, double teaming your @$$.
Thanks for giving me the ideas for game modes GAMER.

-----------------------------------
gamer
Sun Apr 25, 2004 8:12 am


-----------------------------------
YO OMNI, post ur updated game ASAP!!
wait omni, u kno those computer ai, are they still the same as before (chase u like hell)?? cuz then it'll be impossible to beat.......it was impossible to go one on one with that kind of ai, so theres no freakin way to beat two or more computers with the same ai u had back then

-----------------------------------
omni
Sun Apr 25, 2004 8:30 am


-----------------------------------
Same AI... Must change that, but I did add one thing to it. Once the enemyhealth 