Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (511)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
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: XML Map Schema on: 2006-07-10 23:30:54
Okay, thanks.  I didn't know there was an XML forum, lol.  I just went where I put all my stupid questions.
2  Game Development / Newbie & Debugging Questions / XML Map Schema on: 2006-07-03 02:44:36
I'm working on an XML Schema for customizable-if-you-know-XML maps.  This is mostly so I'll be able to work with the maps on the fly, finding it easier to fiddle with XML than my own text format, but all the same.

I have it in the schema (which isn't finished, otherwise I'd post it for help.  All the same, I don't think it will be needed) that the width and height of the map (in squares) is defined at the top of the "map" element, in the simple elements "width" and "height" within a group, "mapData".  I'm wondering if it's possible to set the maxOccurs of the "row" and "squares" elements, coming later, to fit the width and height defined higher up in the file?

I know how to work around there being an innaccurate number of squares in the file, I either ignore it if it's too many or turn the remainder (according to width and height) to the default "Grass" tile if it's under count.  I just figure there's no reason to have the schema if I can't enforce stuff like this.  I'll have the error catchers anyways., so I suppose it doesn't matter... still!  For my education, then Tongue.

Thanks!
3  Game Development / Newbie & Debugging Questions / Re: External Data Files on: 2006-04-21 01:26:48
So, the save files are just binary versions of "HP = 45 [divider] Loc=23,45,64" or something?
4  Game Development / Newbie & Debugging Questions / External Data Files on: 2006-04-19 04:41:00
I'm back with the strategy game again, and another question that's been bugging me for a while.

I want to represent the raw data of maps and units in external datafiles, possibly XML.  The trouble is, I dunno if it's possible to encript stuff like that, is there a way?  I suppose in this precise situation I'd be better off not encrypting but for the sake of my long-term curiosity and if I ever want to make save files, I'd like to know the answer anyways.  I've been curious about external files ever since I first tried to hack a game's save.  Are they encrypted?  Do they use special characters that look like garbage to text editors and not to the game?  How do they communicate anything whatsoever to the game?  These things puzzle me to no end.

Also, just so it's clear, I realise that the save files of my past were not written in XML, lol.
5  Game Development / Newbie & Debugging Questions / Re: Two Image Questions on: 2006-04-06 02:55:05
Okay, so images in programming are like images on the web, except we know how TIFFs do special things for us, and they can't   Roll Eyes.  lol, well... TIFFs are messy anyways.

I think I can probably use the blood spatter!  Or maybe something else that just occured to me... either way, thanks all!!
6  Game Development / Newbie & Debugging Questions / Two Image Questions on: 2006-04-05 20:41:13
Wow, a Java game programming forum.  Glad I finally foudn this place!

It hit me mid-way through planning a new project (new graphics and interface for a fantasy strategy game originally played with circles and squares, very "Rogue", I know) that I know... nothing about images for programming.  Well, that didn't come out right.  I know well enough to say that BufferedImages don't like me (I tried for a few weeks, once) and so forth, what I don't know is something I know quite well for web design: which image format to use.  I need a format that supports transparency and is still small in size.  I'm not sure if I want to use gif or png or something else because my knowledge is strictly limited to web design - I don't know if there's anything better, or if one of those two works better with Java, or what have you.

My question for images is a lot more complicated, as it's the challenge I put into the design to improve my skills.  I want to create "contact sprites", namely for showing damage being taken.  Every weapon in the game is its own sprite, so that they can be interchanged.  The trouble is, I can't even begin to work out how to do the contact without spending way too much time duplicating images (one sprite of a spear attacking a peasent, another of a sword attacking a wolf, another of this attacking that... etc).  Any ideas?
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.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (42 views)
2014-10-16 15:22:06

Norakomi (32 views)
2014-10-16 15:20:20

lcass (37 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (66 views)
2014-10-14 00:35:47

TehJavaDev (59 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (85 views)
2014-10-11 22:30:10
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!