Posted By: Tutu
Top View Game Management - 06/12/10 12:20
Give me a process to load level data using Image.
Example:

The above image is the raw level data. Using this I want to place grass, snow, water, etc. sprites. using the image color positions.
Plz... Help Its very important to me.
Actually it is a 2D game. So I cant use Terrains....
Posted By: Alan
Re: Top View Game Management - 06/12/10 19:56
Hi,
first of all what you are looking for is called "terrain". You can produce those either in MED or in a special application designed for creating terrains (Terragen, for example). There you can model the terrain until the shape matches the image you have in mind (you won't get around modelling here, definitly). The next step depends on your version of 3D Game Studio:
- Free, Extra: Open your image in your favourite image editor and replace the areas with "real" textures of grass, rock, snow etc. Blur the edges where the textures touch each other if possible. Then open Med, open your Terrain, go to the Skin Editor and import your image as the terrain skin - finished. You might need to rotate the image 90° or even 180° if it doesn't match your terrain. Important note: the resolution of your image should be around 1024x1024. Even then, however, it won't look very good, so don't expect too much here.
- Commercial or better: The multi-texture terrain shader is what you are looking for. Model the terrain (as described above) and use a blend map along with the textures for grass, rock, snow etc. Then assign the shader in WED / SED. Will look awesome if done right, but takes some practice. If you're new to 3DGS, you should stick with the first solution as shaders are quite an advanced topic.
Hope this helps,
Alan
Posted By: bart_the_13th
Re: Top View Game Management - 06/13/10 03:14
The multi texture terrain also work in Extra and Free edition since it's only in Fixed Function Pipeline, but you still have to create the alpha channel texture manually.
To place the objects, you'll have to create a function to read the pixel of the bitmap and create object based on that pixel(like light green is grass, dark green is trees).
Posted By: 3run
Re: Top View Game Management - 06/13/10 03:36
bart_the_13th please tell us more about using multi texture with free edition, be cause I really don't know how to do that now
Posted By: rvL_eXile
Re: Top View Game Management - 06/13/10 11:31
have a look into the Wiki, theres a Script from Slin (FFP Effect) for Multi Texturing on all Editions (Works with A6, think this should work with A7 too)
cYa Sebastian
Posted By: 3run
Re: Top View Game Management - 06/13/10 16:03
Which one:
1 2 3 And where is the script in two of them?
Posted By: Tutu
Re: Top View Game Management - 06/13/10 21:06
Actually, I want to create 2D game... not 3D...so I have the probelm...
Plz HELP!!!
Posted By: Alan
Re: Top View Game Management - 06/16/10 15:06
@Tutu: If you want to design 2D-Games only, then I suggest you look for a 2D engine instead. 3DGS CAN do that of course. But there will be a lot "overhead" for you to work with, since 3DGS is designed to work well with 3D games as the name implies. You could use GameMaker instead, quite a nice 2D engine from what I've heard.
Posted By: Beker
Re: Top View Game Management - 06/17/10 21:06
2d editing program does what you want to do, photoshop, gimp, etc.
To select a color:
Magi wand tool. (Photoshop)
To fill that color with a texture:
Paint bucket tool. (Photoshop)
I think that was what you asked.
Posted By: TerraSame
Re: Top View Game Management - 06/19/10 02:43
Tutu,
Here is an option for you...
Do a Google search for "Mysty Mood" by Loopix
Download their demo level ...
It's free and you can use all the code, script work and art work ...
In the folder you will find everything to do as you desire except the system is designed for a 3d application.
There is an art work file (bitmap) that has color coding to set textures etc... on a terrain as per the color codes on the art file...
Disect how they did their work to figure out how to do your work...
Best of luck...