Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Planetation  (Read 2564 times)
0 Members and 1 Guest are viewing this topic.
Offline zparticle

Senior Member




Thick As A Brick


« Posted 2002-11-24 15:21:54 »

A while back I started building a system called Planetation for creating 2D tile map based games in java.  I have finally started working on it again trying to get to a 1.0 release because I have several game ideas I would like to implement using the system.

I'm not really looking for any help on the project just some input. The map editor is almost finished. It uses objects called MapTerrainIcon's. These icons have a set of flags that can be turned on or off.  I have a "standard" set of flags and I'm going to add a large number of "custom" flags that don't have a predefined meaning becuase I can't think of everything someone might want. Below are the current set of "standard" flags and I was wondering if poeple might have ideas for others that should be included in the standard set.

Map Editor:
http://www.scottshaver2000.com/planetation/mapeditorindex.html

BTW it handles both isometric and square grid maps.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
/**
 * The FLAG_XXXX constants define the number of bits
 * to left shift a value of 1 to get it to the position
 * in the flags bit field.
 */

    /**
     * Can a character in the world walk onto this type of terrain.
     */

    public static final int FLAG_WALKABLE = 0;

    /**
     * Can a projectile pass through this type of terrain.
     */

    public static final int FLAG_PROJECTILE_WALKABLE = 1;

    /**
     * Should this type of terrain be drawn over the player.
     * This allows things like a player standing under a doorway.
     */

    public static final int FLAG_OVER_PLAYER = 2;

    /**
     * Can multiple objects be dropped on this type of terrain.
     */

    public static final int FLAG_MULT_OBJECTS = 3;

    /**
     * can multiple characters be on this type of terrain.
     */

    public static final int FLAG_MULT_CHARACTERS = 4;

    /**
     * No objects can be dropped on this type of terrain.
     */

    public static final int FLAG_NO_OBJECTS = 5;

    /**
     * This type of terrain causes a transportation of the player
     * to another map location.
     */

    public static final int FLAG_TRANSPORT = 6;
   
    /**
     * If true the image is in it own file, not stored in a combined
     * tile image. If false then the image coordinates are used to
     * extract it from a larger image.
     */

    public static final int FLAG_HASOWNIMAGE = 7;
   

Offline zparticle

Senior Member




Thick As A Brick


« Reply #1 - Posted 2002-11-24 21:39:11 »

I've put up a new version of the Map Editor and the rest of the classes in the system.

There are several examples that can be executed by the batch files in the bin directory. These are not limited to the map editor but also include the use of menus, sprites, windowing, etc.

Also the javadocs are now online:

http://www.scottshaver2000.com/planetation/mapeditorindex.html

http://www.scottshaver2000.com/planetation/api/index.html

http://www.scottshaver2000.com/planetation/files/planetation.zip

Offline zparticle

Senior Member




Thick As A Brick


« Reply #2 - Posted 2002-11-26 01:13:44 »

The new version of the MapDisplayExample has an issue with being in a jar. Extract the com.sas.planetation.examples package into a classes directory and then change the batch file to have the classes directory in the class path. I'll work this issue out tomorrow.

Games published by our own members! Check 'em out!
Try the Free Demo of Titan Attacks
Offline zparticle

Senior Member




Thick As A Brick


« Reply #3 - Posted 2002-12-19 19:54:38 »

The latest and greatest version of the planetation system is up on my site http://www.scottshaver2000.com under the Libraries section. I've also added phpBB based forum software to the site where we can disscuss any problems people may have using it.

Offline zparticle

Senior Member




Thick As A Brick


« Reply #4 - Posted 2003-01-15 17:19:08 »

New release 1.1 is now up on the site.

Offline zparticle

Senior Member




Thick As A Brick


« Reply #5 - Posted 2003-01-25 23:26:12 »

My wbe site layout sucked so I've re-done the whole thing. The links to the Planetation library in these forums are now unusable. Just go to the site and look under libraries.

http://www.scottshaver2000.com

Offline zparticle

Senior Member




Thick As A Brick


« Reply #6 - Posted 2003-01-27 01:14:48 »

A user of the library found a bug with the examples. The MapDisplayExample still wasn't working unless you unpacked the planetation_examples.jar file. This turned out to be a bug in the library. A fix has been uploaded to the site.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (81 views)
2013-05-17 21:29:12

alaslipknot (91 views)
2013-05-16 21:24:48

gouessej (122 views)
2013-05-16 00:53:38

gouessej (114 views)
2013-05-16 00:17:58

theagentd (126 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.14 seconds with 21 queries.