00:00
00:00
Newgrounds Background Image Theme

Hans-with-Ze-Flamer just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

++ As Wars 2007

24,660 Views | 502 Replies
New Topic Respond to this Topic

Response to ++ As Wars 2007 2007-01-04 01:57:30


At 1/4/07 01:41 AM, 23450 wrote: i just assumed it was an array problem, sinse i ive never used it before. but i still dont understand how they move....oh well, i guess dodging is out of the question. brute force seems to be my goal now i guess.

So far this is the only disappointment in the code that I found which is bizarre. I should have coded the actual bullet clip to move. Oh well, I think its just an added challenge. Sorry for creating more work for people.


Hi there!

BBS Signature

Response to ++ As Wars 2007 2007-01-04 02:08:29


Nah, not at all. All this means is that more complex code has to be saved for the more complex coders. :D. It's like... Actionscript Darwinism, survival of the... gah, nevermind.

Response to ++ As Wars 2007 2007-01-04 02:09:20


At 1/4/07 01:57 AM, jmtb02 wrote: So far this is the only disappointment in the code that I found which is bizarre. I should have coded the actual bullet clip to move. Oh well, I think its just an added challenge. Sorry for creating more work for people.

How fast do the bullets move? Just so i can be sure where every bullet is in every frame.

Response to ++ As Wars 2007 2007-01-04 02:15:41


I will be posting changes to the rules or notices in my sig from now on, in addition to this thread. Check it out if you want the latest updates, make sure to refresh the page a few times just in case. Also, as stated in the rules posts, make sure you read the entire thread for updates.

The current rule changes and notices:
(( The deadline has been changed to Sunday evening.
(( The bullets do not actually move their x and y position. The inside of the clip does, via a clip inside each bullet called "inside". So bulletName.inside will detect the _x and _y of the bullet inside the bullet. This was a programming mistake, but will not be changed. You need to factor this into your programming (it is doable).
(( FrostedMuffins, TastyLamp, and Mogly have working, turned in bots.


Hi there!

BBS Signature

Response to ++ As Wars 2007 2007-01-04 02:16:36


At 1/4/07 02:09 AM, Cybex wrote: How fast do the bullets move? Just so i can be sure where every bullet is in every frame.

Bullets are 8 pixels per frame.


Hi there!

BBS Signature

Response to ++ As Wars 2007 2007-01-04 02:18:34


Man, you're giving away all the juicy secrets which were ever so fun to figure out on our own. I feel useless...

Response to ++ As Wars 2007 2007-01-04 04:37:43


Bah, I will read the first post again 10 times, until I get what to do.

Response to ++ As Wars 2007 2007-01-04 04:54:42


I emailed my bot, I didn't put much effort into it...meh..oh well lol. Should be interesting...


BBS Signature

Response to ++ As Wars 2007 2007-01-04 04:57:04


hrm, I don't get: How can I hit the other's bot's _x and _y ,m shoot health etc. values?

Response to ++ As Wars 2007 2007-01-04 05:24:30


I know this sounds really, really newbish, but i have my code to find if there is any bots within a 200m radius, but how would i pin point which one is? Other wise, if 2 bots are within teh detection radius, it'll judder between targets :(.


BBS Signature

Response to ++ As Wars 2007 2007-01-04 05:41:45


Target the closer one...

select=this;
for(i in _root){
if(your dist shit){
if(prevDist<dist(_root[i])){
prevDist=dist(_root[i]);
select=_root[i];
}
}
}
angle=Math.atan2(_y-select._y, _x-select._x);
etc etc.


========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

Response to ++ As Wars 2007 2007-01-04 05:51:51


On second thoughts, i don't think I'm good enough fro this yet :(. I'll hang around and make people bot graphics if they want, but i can't compete with my lack of knowledge :(. Anyway, good luck to everyone :).

++ As Wars 2007


BBS Signature

Response to ++ As Wars 2007 2007-01-04 05:53:39


At 1/4/07 05:41 AM, Vengeance wrote: etc etc.

Thanks, i'll take a look at it :). Wrong image, sorry :(.

++ As Wars 2007


BBS Signature

Response to ++ As Wars 2007 2007-01-04 06:10:50


Here's my bot:
I'm not gonna say what it is, can you see?

my drawing skills are kinda bad, so..

++ As Wars 2007


BBS Signature

Response to ++ As Wars 2007 2007-01-04 06:31:34


Hai I wants to join. The first battle's deadline might be a bit too early though, when's the second one for?


BBS Signature

Response to ++ As Wars 2007 2007-01-04 07:29:23


Can you change the Move variable at different times throughout the game? Or can you only set it to one number.


VG Trivia Challenge

Expert's Guide to NG

Sig made mainly with Cooltext.com

BBS Signature

Response to ++ As Wars 2007 2007-01-04 07:32:12


Also do we start EXACTLY in the corner, or just somewhere around there.


VG Trivia Challenge

Expert's Guide to NG

Sig made mainly with Cooltext.com

BBS Signature

Response to ++ As Wars 2007 2007-01-04 07:35:03


At 1/4/07 07:32 AM, jogo52793 wrote: Also do we start EXACTLY in the corner, or just somewhere around there.

As you can see from the previous battles, somewhere around there.


BBS Signature

Response to ++ As Wars 2007 2007-01-04 07:45:23


At 1/4/07 07:29 AM, jogo52793 wrote: Can you change the Move variable at different times throughout the game? Or can you only set it to one number.

You can change it whenever you want.


BBS Signature

Response to ++ As Wars 2007 2007-01-04 07:49:53


I have to be in this :X

Response to ++ As Wars 2007 2007-01-04 08:14:15


one last thing.

the variable is liveBots, not livebots, right?

because you called it livebots in your first post, and looking at the frame functions, its referenced as liveBots.

Response to ++ As Wars 2007 2007-01-04 08:41:44


At 1/4/07 08:14 AM, Skeik-Sprite wrote: because you called it livebots in your first post, and looking at the frame functions, its referenced as liveBots.

So which would most likely be a typo? The relevant identifier or the word he used to describe it? You gotta know this when you're coding a bot, you know. :P


BBS Signature

Response to ++ As Wars 2007 2007-01-04 08:45:25


At 1/4/07 08:14 AM, Skeik-Sprite wrote: one last thing.

the variable is liveBots, not livebots, right?

because you called it livebots in your first post, and looking at the frame functions, its referenced as liveBots.

Use your mind mebbehzors? It's the one that's written in the AS panel, I just don't think John bothers to put capital letters in every single appropriate place.

I also had some ideas for more experienced ASers:

- Team Arena - two teams of 2-4 bots in each, teammates can also use the Heal ability on themselves and it'd be interesting if shots from a teammate can hurt you.

- Blind Arena - The livebots array isn't accessible to anyone, you have to shoot around you randomly and only guess where the enemy is when your shots hit him. For example when a shot hits someone, there is a variable indicating the position of where on the screen the shot hit that bot.

- Adding objects, like walls and crates, which are tengible and therefore block bots and shots.


BBS Signature

Response to ++ As Wars 2007 2007-01-04 08:53:32


At 1/4/07 08:45 AM, Toast wrote: Use your mind mebbehzors? It's the one that's written in the AS panel, I just don't think John bothers to put capital letters in every single appropriate place.

Toast is becoming me. :D

I also had some ideas for more experienced ASers:

Shut it and make a bot. >:P


BBS Signature

Response to ++ As Wars 2007 2007-01-04 08:53:34


By the way, can anyone post a text version of the root code?


BBS Signature

Response to ++ As Wars 2007 2007-01-04 10:39:43


Text version of _root Can be Found Here. Feel free to join, Toast, submissions are open until Sunday, not Friday.


Hi there!

BBS Signature

Response to ++ As Wars 2007 2007-01-04 10:49:28


The problem is that all the computers in this weird place are primitive, I'm flying back home tonight and maybe I'll have enough time. Can't say I'm joining, but I'll give it a try.


BBS Signature

Response to ++ As Wars 2007 2007-01-04 10:53:16


The bots I have been getting are all over the board, which is really pleasing. Here are the one's I have recieved so far. It's amazing that some of the more simple designs are so successful (I run the bots against several of themselves).

Received and Approved Bots
FrostedMuffins
Mogly
TastlyLamp
Peturo
Eggy


Hi there!

BBS Signature

Response to ++ As Wars 2007 2007-01-04 11:06:42


This sounds like a lot of fun!


Gorilla Studios || A game is like sex, its better when its free

BBS Signature

Response to ++ As Wars 2007 2007-01-04 11:15:39


Any chance of a demo? Or would that be to much of an advantage? My bot is going great though :) (kinda..)


BBS Signature