Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: Playing music in an application on: 2005-01-24 15:16:55
midi files
2  Game Development / Newbie & Debugging Questions / Playing music in an application on: 2005-01-23 06:28:47
Can anyone post code to play a simple song in an application.

I know how to play songs in an applet, but that doesn't work with an application.  Something with getCodeBase method can't be found.

I've searched all over the internet, and they either use a really un-necessarily long tutorial or just paste code and don't give any description on how it works.  They just say "Use this code here" and don't explain things.

I'm the kind of person that has to know what every little thing is for and means.

The good news is I've created an application that allows the user to control a character and run around the screen! I know maybe not that big of a deal but this is the first time I've ever done it so I'm pretty excited about it.  Now I want to add music to it and then maybe floating bad guys around the screen to shoot at.

All help is appreciated.


3  Game Development / Newbie & Debugging Questions / Writing to a file on: 2005-01-07 15:34:39
Hi, I want to write to a file in an applet that everyone will access.

I want to be able to edit and look up values in this file.

How would I go about doing this? Is it possible to compile a .txt as part of an applet? Meaning if one person adds a word, and another person visits the applet they will be able to look up that word.

All help is appreciated, ty.
4  Discussions / General Discussions / Re: Loading images or sprites into an application. on: 2004-10-22 20:13:49
I finally figured it out, thanks anyway though.
5  Discussions / General Discussions / Re: Loading images or sprites into an application. on: 2004-10-21 00:55:34
I realize I've hit a mental road block hehe.

This is what I don't understand:

How do I change the location of the image on my computer and change the url.

Like for instance, what if I have a file at the location:

c:\graphics\haha.gif

And I want to use that directory, instead of the other one.

How do I do that?

I'm trying to type in a bunch of stuff and its not working.


6  Discussions / General Discussions / Loading images or sprites into an application. on: 2004-10-20 23:33:09
Lets say I started out with a completely blank application.

How would I load an image into it so it appears when I run the program?

I've seen code to do it but they never explain how to get the image loaded into the program from the computer.

For example look here:

http://www.planetalia.com/cursos/Java-Invaders/JAVA-INVADERS-04.tutorial

How do I redirect the images location?
All help is appreciated.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (9 views)
2014-07-29 12:53:52

Dwinin (7 views)
2014-07-29 10:59:34

E.R. Fleming (23 views)
2014-07-29 03:07:13

E.R. Fleming (9 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (51 views)
2014-07-17 23:47:54
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!