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  Java Game APIs & Engines / Java 2D / Re: read and process a pcx file on: 2005-10-20 22:08:10
thanks a lot folks,
i will start coding soon, im still on the final details of the design phase. i will post here if i run into any trouble.
2  Java Game APIs & Engines / Java 2D / Re: read and process a pcx file on: 2005-10-20 20:56:33
wow, this sounds exactly like what im looking for.

can i store the results of drawImage in a variable so i dont have to call drawimage everytime i want to draw it?
3  Java Game APIs & Engines / Java 2D / Re: Equivalent of TiledLayer? on: 2005-10-20 20:52:37
sorry, im not really sure where this post belongs, so i posted it in both boards. wont do it again.
4  Java Game APIs & Engines / Java 2D / Equivalent of TiledLayer? on: 2005-10-20 20:29:13
hello all
    there is a nice class in MIDP 2.0 called TiledLayer, is there any way i can use it in regular java??
5  Game Development / Newbie & Debugging Questions / Equivalent of TiledLayer on: 2005-10-20 20:28:47
hello all
    there is a nice class in MIDP 2.0 called TiledLayer, is there any way i can use it in regular java??
6  Java Game APIs & Engines / Java 2D / Re: read and process a pcx file on: 2005-10-20 20:19:49
Saving it in a format readable sounds ok, the other part....... reading parts of it its what bothers me.

for instance, the file contains four images like this:

_____________
|              |              |
|      1      |      2     |
|______|______|
|              |              |
|      3      |      4      |
|______|______|

is there any way to read them and store them in an array or do i have to edit the picture to produce 4 different files?Huh im asking because the file contains over a hundred pics
7  Java Game APIs & Engines / Java 2D / read and process a pcx file on: 2005-10-20 19:49:14
Hello all!
   Im trying to develop a turn based game using swing. The game will use tiles for the board, so the problem i am currently facing is how to create the terrain. As for now. i have a pcx file with all the terrain tiles i would like to use. but i dont know how to read and extract parts of it.  the pcx file is a grid with all the images (when i open it with photoshop)
   The problem is a 3 part problem:
  1) read the pcx file
  2) extract the images to an array or something.
  3) paint the images.

i was looking around and find a nice little class in the midp 2.0 called TiledLayer which is exactly what i need.
can you guys help me to either be able to use that class or to solve the problem some other way?

thanks in advance.
8  Game Development / Newbie & Debugging Questions / read and process a pcx file on: 2005-10-20 19:42:59
Hello all!
   Im trying to develop a turn based game using swing. The game will use tiles for the board, so the problem i am currently facing is how to create the terrain. As for now. i have a pcx file with all the terrain tiles i would like to use. but i dont know how to read and extract parts of it.  the pcx file is a grid with all the images (when i open it with photoshop)
   The problem is a 3 part problem:
  1) read the pcx file
  2) extract the images to an array or something.
  3) paint the images.

i was looking around and find a nice little class in the midp 2.0 called TiledLayer which is exactly what i need.
can you guys help me to either be able to use that class or to solve the problem some other way?

thanks in advance.
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 (1 views)
2014-07-29 18:09:19

Riven (2 views)
2014-07-29 18:08: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
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!