.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old November 4th, 2003, 05:17 PM

Sammual Sammual is offline
BANNED USER
 
Join Date: Oct 2003
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts
Sammual is on a distinguished road
Default Re: Map Creation Questions.

Quote:
Originally posted by Gandalf Parker:
quote:
Originally posted by Sammual:
I can make map makers ad this info at the bottom of a map file, make the user click on each one when a new map is added, or find someone to write me a Java Applet that scans a TGA file and reports back the (X,Y) for each lone White pixel.
Id say user-clicks, or java script would be easier.

Since the capitals are always a particular color, and one pixel big, the script shouldnt be too hard. It just needs to read the tga scanning single lines and reporting x,y for each "white pixel". If it numbers each find sequentially then it would match province numbers? (sorry, I cant write the script. I can just talk about it)

The problem is JavaScript and Cold Fusion can not read a TGA to find the color value or (X,Y) of a given pixel. That is why I would need the user to click on them for the program or a Java program to scan the TGA.

Sammual - Time to learn Java
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:11 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.