-E- AckAck V3

Posted by Evilish on Nov. 25, 2007, 8:09 p.m.

5247 views as of writing this

.:AckAck v3:.

Hey… wait a minute, what ever happened to AckAck v2? Well it was never available to GMer's, it was just a few minor speed fixes and various things, only for C++.

But now! AckAck has become a DLL, all the fun and excitement of automated collisions with the speed of integer calculations!

So now AckAck has gone from standard sprite collisions to 100% triangle based, similar in style to Soldat. Which leads to my next topic

.:MMORPG:.

So AckAck's first application is an online game, that'll also be submitted into the YoYoGames winter competition.

So here are some pictures!

The last one is the same server from my previous blog, but altered now so MySQL isn't include and more packet messages are available(position update, throw snowball, chat, leave, etc)

All bundled together with a really nice Level Editor, and online server list.

Anyone like it?

27 days 10 hours 54 minutes 26 seconds left until the competition ends. <__<

.:primCol:.

primCol.dll. Name of the AckAck dll used for collision detection, though see now that a great percentage of AckAck still lies in GM, but the collision detection has completely moved from place_free to external dll calls.

And in a comparison of it's speed… hmm, I started the MMO originally using all GML, running at around 7-8 FPS on this computer (when checking for collisions with all triangles). When I switched it over to all integer based checking within C++, the speed rose to 45FPS+, now imagine if I only checked triangles that were on screen instead of the entire level? Funtastical

.:HTML privs:.

I wanna style my page a bit, make it have a bit darker of a theme, can somebody give me HTML privileges so I can do so? ^__^

Comments

Evilish 16 years, 12 months ago

I win

Evilish 16 years, 12 months ago

If you comment it, they will come

Cesar 16 years, 12 months ago

I loved the original Ack Ack engine. But now it looks even sexier.

s 16 years, 12 months ago

You plan on RightAligning the X## parts?

Evilish 16 years, 12 months ago

NO!

Grand-High Gamer 16 years, 12 months ago

Fucking Soldat?

Evilish 16 years, 12 months ago

Because Soldat is one of the few games that uses vertex's as loosely as that game, we must brand it with Soldat clone.

but it has snowballllllllllllllls!

PY 16 years, 12 months ago

YAY!

Can I see AckAck in C++?

I'm struggling with collision detection…

Snowball fight!

*Throws snowball at J@D, for nicking Serpy's commentbox*

Evilish 16 years, 12 months ago

var x1,x2,x3,y1,y2,y3,xx,yy,a0,a1,a2,a3;

x1 = argument0;

y1 = argument1;

x2 = argument2;

y2 = argument3;

x3 = argument4;

y3 = argument5;

xx = argument6;

yy = argument7;

a0 = abs((x2-x1)*(y3-y1)-(x3-x1)*(y2-y1));

a1 = abs((x1-xx)*(y2-yy)-(x2-xx)*(y1-yy));

a2 = abs((x2-xx)*(y3-yy)-(x3-xx)*(y2-yy));

a3 = abs((x3-xx)*(y1-yy)-(x1-xx)*(y3-yy));

return (abs(a1+a2+a3-a0) <= 1/256);

That should give you a good idea of what the dll does, though thats the original GML version of triangle collisions

shawn 16 years, 12 months ago

pee x 4?

thats a lot of piss