News for hackers. Stuff that matters.
Re:Notch, WebGL, Dart, and ramping up quickly by HeyChinaski on Tuesday December 03, 2013 @12:38PM (#6841774)
Now I feel bad for slowing up my current pet project by getting bogged down writing polygon collision detection when axis aligned bounding boxes would have done for prototyping. (I'm not as quick as Notch!)
Re:Notch, WebGL, Dart, and ramping up quickly by VikingCoder on Tuesday December 03, 2013 @01:15PM (#6842004)
To be fair, Notch did just spend a few years of his life thinking entirely in terms of axis-aligned boxes. ;-)
Re:Notch, WebGL, Dart, and ramping up quickly by bluedino on Tuesday December 03, 2013 @01:38PM (#6842142)
>> (I'm not as quick as Notch!)

You probably haven't been writing games as long, or written as many, or entered as many game contests/competitions as he has.

It'd probably take him a while to write a database or word processor since he likely doesn't have the domain knowledge and experience.

Re:Notch, WebGL, Dart, and ramping up quickly by Djehngo on Tuesday December 03, 2013 @01:16PM (#6842016)
My understanding is that usually you want both because AABB is good for broad-phase because it's so quick then true polygon collision can be done in a narrow phase.
Re:Notch, WebGL, Dart, and ramping up quickly by HeyChinaski on Wednesday December 04, 2013 @01:33PM (#6848991)
Absolutely.
Re:Notch, WebGL, Dart, and ramping up quickly by xhrpost on Tuesday December 03, 2013 @01:14PM (#6841993)
Interesting. I've recently set aside a ThreeJS project. I'm not a math wiz but even with Three, you still need some idea about matricies, vectors and even quaternions. The way you're "supposed" to do collision detection with Three is with raycasting, so more fun with vectors and matricies. I thought I had scaled down enough other things for prototyping but perhaps there was more room than what I thought.
Re:Notch, WebGL, Dart, and ramping up quickly by daredevildave on Tuesday December 03, 2013 @04:23PM (#6843284)
You might want to take a look at our product, PlayCanvas. We've tried to do all the maths for you, so you don't have to. :-)
Re:Notch, WebGL, Dart, and ramping up quickly by yoklov on Wednesday December 04, 2013 @12:17AM (#6845170)
Well, this can actually have a pretty significant effect on the feel of the game so depending on what kind of game you were prototyping, it might be worth it (though, your better off hardcoding a few cases of SAT than trying to get it working completely generally in a prototype).
Re:Notch, WebGL, Dart, and ramping up quickly by HeyChinaski on Wednesday December 04, 2013 @01:10PM (#6848820)
How would one hard code SAT cases? Just curious I've got the general code working now.