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.

-----Original Message-----
From: Gamers [mailto:gamers-boun...@audyssey.org] On Behalf Of john
Sent: Sunday, July 28, 2013 17:40
To: Gamers Discussion list
Subject: Re: [Audyssey] looking for game programing help/advice

Could you give me some more details on that please? Right now I'm just using a 
1000000-slot array (which loads a 1000-1000 map max), with a value for each 
coordinate. Are there large advantages to learning a new class for this 
(especially in the areas of memory and processer time), or should I just focus 
on other parts of the code?

 ----- Original Message -----
From: "Davy Kager" <m...@davykager.nl
To: "'Gamers Discussion list'" <gamers@audyssey.org Date sent: Sun, 28 Jul 2013 
17:26:15 +0200
Subject: Re: [Audyssey] looking for game programing help/advice

Standard arrays cannot be resized.  You want something like ArrayList or a 
similar class found in java.util.

-----Original Message-----
From: Gamers [mailto:gamers-boun...@audyssey.org] On Behalf Of john
Sent: Sunday, July 28, 2013 17:21
To: Gamers Discussion list
Subject: Re: [Audyssey] looking for game programing help/advice

Alright, I'll take a look at that once I get this thing somewhat off the 
ground. Would you happen to know of a way that I can use to reset the size of a 
pre-declared array? I'd like to be able to have the array fit itself to the 
size of my maps for each level, rather than just being some super-large number 
I hope I'll never exceed.

 ----- Original Message -----
From: "Davy Kager" <m...@davykager.nl
To: "'Gamers Discussion list'" <gamers@audyssey.org Date sent: 
Sun, 28 Jul 2013 17:03:20 +0200
Subject: Re: [Audyssey] looking for game programing help/advice

OpenAL will do what you want, but it might be a bit too complex for simply 
playing a sound.  I'd have a look at the java.sound.sampled package, see if 
that does what you want:
http://docs.oracle.com/javase/7/docs/api/javax/sound/sampled/pack
age-summary.html

-----Original Message-----
From: Gamers [mailto:gamers-boun...@audyssey.org] On Behalf Of john
Sent: Sunday, July 28, 2013 16:53
To: Gamers Discussion list
Subject: Re: [Audyssey] looking for game programing help/advice

Yes, I'm planning to have this be a mostly text-based game (at least for the 
forseeable future). I would really like to be able to play sounds for certain 
events though; do you know if that's possible from a console?

 ----- Original Message -----
From: "Davy Kager" <m...@davykager.nl
To: "'Gamers Discussion list'" <gamers@audyssey.org Date sent:
Sun, 28 Jul 2013 16:48:20 +0200
Subject: Re: [Audyssey] looking for game programing help/advice

Are you saying you want textual input and output as well?  If you're only 
trying to capture the arrow keys and a few other keys then something like 
JInput is a more robust solution.  But if you want interactive, textual input 
the console can certainly be very useful.

QuentinC also adapted his screenreader API for Java.  You might find that handy 
as an alternative to the console.

-----Original Message-----
From: Gamers [mailto:gamers-boun...@audyssey.org] On Behalf Of john
Sent: Sunday, July 28, 2013 16:42
To: Gamers Discussion list
Subject: Re: [Audyssey] looking for game programing help/advice

As far as input goes, I'm currently using the windows command line and the 
Scanner class to get data. I'd like to stick with that format as much as 
possible; I've gotten to a point where I can somewhat make the game do what I 
want in an accessable manner, and as far as I can tell, not many other options 
work at all well with screen readers.

 ----- Original Message -----
From: "Davy Kager" <m...@davykager.nl
To: "'Gamers Discussion list'" <gamers@audyssey.org Date sent:
Sun, 28 Jul 2013 16:40:25 +0200
Subject: Re: [Audyssey] looking for game programing help/advice

Hi,

For sound, there is OpenAL which I found to work quite nicely.
Similarly, for input you have JInput.  There are also full engines written on 
top of these frameworks, such as LWJGL.  I think some Googling will get you to 
the right webpages.

For distributing your games, I suggest you have a look at launch4j.  Keep in 
mind that even if you create a Windows executable, the end-user will still need 
a JVM, either preinstalled on their system or provided by your package.

Whatever you do, you'll probably want to draw a basic graphical user interface 
for your game's application, if only to catch user input.  SWT is probably the 
way to go.

HTH,
Davy

-----Original Message-----
From: Gamers [mailto:gamers-boun...@audyssey.org] On Behalf Of john
Sent: Sunday, July 28, 2013 16:28
To: gamers
Subject: [Audyssey] looking for game programing help/advice

Hi all,
        I've recently started trying to begin to program some simple games in 
java. I'm working from a command line cyntax, and I was wondering if anybody on 
here would be able to give me some guidance on a few subjects. I'm looking for 
help with the
following:
*how to manage creating and acting within maps *different ways of 
saving/loading games *basic ai concepts (getting enemy characters to move 
within the game world) *possibility of playing sounds?
*how to gracefully exit out the game
*possibility of compiling the game so people don't have to have the jdk 
installed to play

If anybody is willing to help me with some of these, please contact me 
off-list, and I'll give you more details on what I have so far and what I'm 
thinking about trying.

Thanks,
John.

---
Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send 
E-mail to gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list, 
please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send 
E-mail to gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list, 
please send E-mail to gamers-ow...@audyssey.org.

---
Gamers mailing list __ Gamers@audyssey.org If you want to leave
the list, send E-mail to gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of
the list, please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to
gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of
the list,
please send E-mail to gamers-ow...@audyssey.org.

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to
gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of
the list,
please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to
gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of
the list,
please send E-mail to gamers-ow...@audyssey.org.

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to 
gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of 
the list,
please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to 
gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of 
the list,
please send E-mail to gamers-ow...@audyssey.org.

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
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/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to