Page 1 of 1

Serious area generating problem

PostPosted: Sun Nov 25, 2007 11:01 am
by Troodon
Hi everybody. I'm writing in a hurry and very tired so don't wonder if I make weird typos.
I don't know if this is a correct place to ask this but I've got big png map which has many bordered areas. Now I would like to make each of the areas one image. But so that the background size stays the same.
This is because I'm doing a GE project which needs to create each regions in the beginning and the best way to add them without need of x and y variables is to list them in create actor events when the areas are in their place in the bitmap.
Here is the map I'm using.

If I don't find any quicker ways, I must do it with paint.net. For each region:
1. Create new frame
2. Draw borders of the area
3. Fill the area with colour
4. Make the background invicible
5. Save as jpg -> flats the frames together
6. Undo the flatting
7. Delete the new frame
and then again all this for the next region. And again. And again. For all those regions you can see in the map.
As you see, I really need a quicker way.

Regards,
Tekdino

PS: Thanks for reading this!

Re: Serious area generating problem

PostPosted: Sun Nov 25, 2007 2:49 pm
by Spidy
sorry mike i cant understood!??? :?

Re: Serious area generating problem

PostPosted: Sun Nov 25, 2007 6:07 pm
by Azou
Me too i didn't understand...And this is so strange to see a...professional in game-editor like you to ask questiions.. :wink: :D Maybe somebody will have the solution! :mrgreen:

Re: Serious area generating problem

PostPosted: Sun Nov 25, 2007 11:55 pm
by Game A Gogo
I did not get a thing :O

Re: Serious area generating problem

PostPosted: Mon Nov 26, 2007 10:48 am
by Troodon
Oh no, I think I wrote very fuzzy.
Can you tell me which parts I should explain better? :)

Re: Serious area generating problem

PostPosted: Mon Nov 26, 2007 11:45 am
by Spidy
all the parts...!! :o :|

Re: Serious area generating problem

PostPosted: Tue Nov 27, 2007 3:32 pm
by tufif
I think I see what you are saying. I would say load the map into your graphics editor and just erase everything except for 1 area and then save as a new file. Then load the original map again and erase everything but the next area and save as a different new file. This way all of the images would be the same size and when you put them all at the same x and y they should line up to reform the original map.

Re: Serious area generating problem

PostPosted: Tue Nov 27, 2007 3:50 pm
by Troodon
Yeah, but as you can see from my map, it would take lots of time. And if I let even one extra pixel it ruins my x&y alignment for some weird reason.
I would like to do this but if possible with a quicker way.

Thanks for answering! :D

Re: Serious area generating problem

PostPosted: Tue Nov 27, 2007 4:09 pm
by tufif
I can't think of any easy way to do it. This is the type of work that the real game companies let the interns do ;)

Re: Serious area generating problem

PostPosted: Tue Nov 27, 2007 4:14 pm
by Troodon
Lol, ok. But this will be just the start. After erasing extra areas of ALL this areas, I have to code them all. But I think the coding will be quicker than the graphics. Well, thanks Tufif!

Re: Serious area generating problem

PostPosted: Tue Nov 27, 2007 5:39 pm
by Fuzzy
tekdino wrote:Oh no, I think I wrote very fuzzy.
Can you tell me which parts I should explain better? :)


Hey! dont write on me!

Re: Serious area generating problem

PostPosted: Tue Nov 27, 2007 5:51 pm
by Troodon
Lol, I checked the word from dictonarry and found:
fuzzy, indistinct, ambiguous
Fuzzy was the easiest word so I used it. :P

EDIT: And you are still ThreeFingerPete for me! :lol:

Re: Serious area generating problem

PostPosted: Tue Nov 27, 2007 7:29 pm
by Kalladdolf
lol