Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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.

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]
ivj94 (584 views)
2018-03-24 14:47:39

ivj94 (48 views)
2018-03-24 14:46:31

ivj94 (382 views)
2018-03-24 14:43:53

Solater (62 views)
2018-03-17 05:04:08

nelsongames (109 views)
2018-03-05 17:56:34

Gornova (159 views)
2018-03-02 22:15:33

buddyBro (702 views)
2018-02-28 16:59:18

buddyBro (92 views)
2018-02-28 16:45:17

xxMrPHDxx (493 views)
2017-12-31 17:17:51

xxMrPHDxx (733 views)
2017-12-31 17:15:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!