To be fair, Java is actually quite fast these days because the virtual machine 
it runs on can optimize code for the exact hardware you're using, rather than 
for some common set of hardware components that pre-compiled languages tend to 
target.  Collision detection is still the professional way to go, but I'd 
understand if that was beyond you right now (I'm no good with math myself).

-----Original Message-----
From: Gamers [mailto:[email protected]] On Behalf Of Thomas Ward
Sent: Sunday, July 28, 2013 17:57
To: Gamers Discussion list
Subject: Re: [Audyssey] looking for game programing help/advice

Hi,

Definitely not. In fact using array lists for game maps is really a bad idea if 
a developer is concerned about memory and CPU efficiency.
Java isn't as slow as it use to be in the bad old days, but still a game 
developer should really try to use a trig or calculus based collision detection 
system than avoiding the math by using an array or array list.

Cheers!

On 7/28/13, Davy Kager <[email protected]> wrote:
> Actually, ArrayList encapsulates a regular array and copies its 
> contents over to a larger or smaller array as items are added or 
> removed.  So no, for processor time it's certainly not more efficient.

---
Gamers mailing list __ [email protected] If you want to leave the list, send 
E-mail to [email protected].
You can make changes or update your subscription via the web, at 
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at 
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list, 
please send E-mail to [email protected].


---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].

Reply via email to