-
Posts
564 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Laurens
-
-
And vice versa I think. I would never consider a 5K engine.
-
I do this in my tower defense game to find towers within range of each other so they can link.
First create a callback function:
void _stdcall ForEachEntityInAABBDoCallback(TEntity entity, BP extra) { reinterpret_cast<vector<TEntity>*>(extra)->push_back(entity); }
Note that extra contains a vector of TEntity's and the entity that is passed in the callback function is pushed back into this vector.
Then, somewhere in your calling code:
TVec3 p = EntityPosition(node->GetEntity()); TVec6 aabb; aabb.X0 = p.X - node->GetRadius() / 2; aabb.Y0 = 0; aabb.Z0 = p.Z - node->GetRadius() / 2; aabb.X1 = p.X + node->GetRadius() / 2; aabb.Y1 = 0; aabb.Z1 = p.Z + node->GetRadius() / 2; vector<TEntity> *entities = new vector<TEntity>(); ForEachEntityInAABBDo(aabb, reinterpret_cast<byte*>(ForEachEntityInAABBDoCallback), reinterpret_cast<byte*>(entities));
entities should now contain all the entities that are in the AABB.
Cheers!
-
Awww man.
What a deceptive title. Thanks for nothing Aggror, I thought I could download beer somewhere.
Read the topic title, left disappointed
-
What GMail does is plain IMAP and nothing special, and you most certainly don't need to use it. I would be highly surprised if your hoster wouldn't be able to set you up with an IMAP account. It's just a matter of flipping a switch in a control panel.
-
Obligatory "the cake is a lie" comment.
-
IMAP differs from POP in that with IMAP you work directly on the mail server instead of locally on the client as is the case with POP. As a result, all of your folders and e-mail along with its status (read/unread/replied/forwarded) is always synchronized across all devices you access your mailbox from. You can still download your e-mail and work offline but client devices are considered temporary caches and everything is synchronized once you are back online.
It's probably what you mean by "Outlook" except that Microsoft added all sorts of other features such as a calendar and task list.
http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol
-
Can't your hoster simply hook you up with an IMAP account?
-
You can block strikes but this is simply based on chance and depends on the statistics of your character.
-
In Lord of the Rings Online there is no collision between players. You can just walk straight through each other. When you attack another player I assume the server simply checks if you were in range of the other player and counts it as a hit, even though an actual sword swing might not have physically hit the other player at all.
Wouldn't know about other MMO's.
-
-
Note that Redmine's website is actually a Redmine project so you can test-drive it
It won't have ads if you host it yourself though!
-
I use Redmine: http://www.redmine.org.
EDIT: Unfuddle (http://www.unfuddle.com) offers free project hosting for smalltime developers which is largely based on Redmine.
-
Up to this point all updates have been free except from 2.27 to 2.3 which was a pretty major update. Leadwerks 2.4 will be another free update but I can say with pretty certainty that 3.0 will be another paid update.
I can't say about the upcoming updates but at the 2.3 update there was no difference in purchasing the entire engine or just the upgrade. Previous owners had paid 150 dollars for 2.28 and the upgrade was 50 dollars. If you want to purchase 2.3 now it is 200 dollars and the same will most likely be true for 3.0 although I cannot be sure of that.
Cheers!
-
Pictures from LE 2.4? Sharing is caring
-
I was looking at the SpongeBob screenshots and was truly very disappointed because they don't look "underwatery" at all
-
I would also be very interested although I have to admit while I do have "more serious" aspirations for LE, right now I consider myself more of a hobbyist.
Specs in my sig
-
What Lumooja said, add both engine.cpp and leo.cpp to your project.
-
At least half of these features are already perfectly possible, although it would indeed be nice to have them included. But then again, you will get a lot of projects that look and feel the same.
-
One very last Q:
Should I stick to MS Visual for compiling or can I use code blocks? I don't really know how to thank you all. I couldn't possibly have asked for more help than this
Both will do fine but I prefer the sleekiness that is VS2010
-
Obligatory "Wine Is Not an Emulator" comment
-
1) You can see the sky also
Except that the game is indoors
2) You can see aliens from further away (in top down view you only see them when they are very near since your screen edges block the distance view)
I'd say working as intended.
3) It feels more immersive and real (top down is quite unusual view, since you never see yourself from outside)
Kind of agree here although I feel the top-down view adds a "casual" touch to the game which I like.
-
I played it for a bit and it is not just some run off the mill dumb shooter. It does involve some serious teamwork on higher difficulty settings and is quite exciting with some friends. The FPS hack Lumooja posted portrays it pretty badly because the top-down camera view adds something I think, although I have to agree it's pretty annoying that W is north all the time. It doesn't feel right.
-
I wouldn't know about the USA but in the Netherlands, downloading copyrighted music and movies for personal use is perfectly legal.
-
I imagine that would still be a huge task B)
Finding an Object in the Scene
in Programming
Posted
Well, there is also ForEachEntityDo that iterates over all objects. You can use the same callback (well, maybe change its name to ForEachEntityDoCallback to avoid confusion) and the same calling code except change this line:
in this line:
and then simply iterate over entities and do EntityDistance(source, destination).
Cheers!