Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (527)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (594)
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 3145 times)
0 Members and 1 Guest are viewing this topic.
Offline zparticle

Senior Devvie




Thick As A Brick


« Posted 2002-11-24 14: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 Devvie




Thick As A Brick


« Reply #1 - Posted 2002-11-24 20: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 Devvie




Thick As A Brick


« Reply #2 - Posted 2002-11-26 00: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!
Legends of Yore - The Casual Retro Roguelike
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #3 - Posted 2002-12-19 18: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 Devvie




Thick As A Brick


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

New release 1.1 is now up on the site.

Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #5 - Posted 2003-01-25 22: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 Devvie




Thick As A Brick


« Reply #6 - Posted 2003-01-27 00: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.

 

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

The first screenshot will be displayed as a thumbnail.

PocketCrafter7 (12 views)
2014-11-28 16:25:35

PocketCrafter7 (8 views)
2014-11-28 16:25:09

PocketCrafter7 (9 views)
2014-11-28 16:24:29

toopeicgaming1999 (76 views)
2014-11-26 15:22:04

toopeicgaming1999 (66 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (29 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (28 views)
2014-11-24 19:59:16
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!