Open ChaseWeimer opened 11 years ago
hmmmmmmmm
I know nothing about ai, but i will try to learn/help/figure something out
I know how to do it for the most part... the hardest part is programming logic errors
ya..
that would probably just be a bunch of Math.random() stuff
like
if (Math.random > somevalue) {
}
ya... and a lot of if statements. we'll need a seperate script
how would u do an OnClick thing in a canvas?
ya maybe, like if they chose multiplayer itll import the ai script
I'm programming a menu
i think youd just have to get the coords of where they click on the canvas and compare it with the thing that is 'clickable' to see if they clicked it. What id do is set up a switch statement to see what they clicked kinda like
switch(clickedThing) {
case "bla":
// do something
defualt:
// do nothing
}
Somethin like that, we may want make a function to either check what was clicked or handle clicks or something
y don't u try it. go needs to be set to true to start the game. o, and I tried to center play... it wasn't working for me
r u working on it? if not, i'm gonna try
Im sorry for not answering, I had to go and didnt see you said that. But i cant work on it right now
its alright. im working on it.
Cool!
I almost have it. this close
Awesome!
I really want to either get this ai working or get mutliplayer working!
yes! lets do multi player first. it'll b easier
On Fri, Jun 14, 2013 at 5:47 PM, Addisonbean notifications@github.comwrote:
I really want to either get this ai working or get mutliplayer working!
— Reply to this email directly or view it on GitHubhttps://github.com/INOVA-Technology/GCGames/issues/5#issuecomment-19485681 .
ya I'd think so. we'll need to use node.js or something. But node is all i can think of. Maybe Websockets, but i think node might use that
ok
On Fri, Jun 14, 2013 at 5:49 PM, Addisonbean notifications@github.comwrote:
ya I'd think so. we'll need to use node.js or something. But node is all i can think of. Maybe Websocket, but i think node might use that
— Reply to this email directly or view it on GitHubhttps://github.com/INOVA-Technology/GCGames/issues/5#issuecomment-19485767 .
This may be good for the multiplayer thing. It looks better than nodeJS http://www.meteor.com/
we need to start working on a menu and one player mode. AI is going to be difficult... i guess we need attacks first tho