Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Akow, SBGuy), 1,423 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Top View Game Management #328353
06/12/10 12:20
06/12/10 12:20
Joined: Feb 2010
Posts: 10
India
T
Tutu Offline OP
Newbie
Tutu  Offline OP
Newbie
T

Joined: Feb 2010
Posts: 10
India
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....

Last edited by Tutu; 06/13/10 04:37.
Re: Top View Game Management [Re: Tutu] #328390
06/12/10 19:56
06/12/10 19:56
Joined: Oct 2007
Posts: 306
Austria
A
Alan Offline
Senior Member
Alan  Offline
Senior Member
A

Joined: Oct 2007
Posts: 306
Austria
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

Re: Top View Game Management [Re: Alan] #328416
06/13/10 03:14
06/13/10 03:14
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
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).

Re: Top View Game Management [Re: bart_the_13th] #328418
06/13/10 03:36
06/13/10 03:36
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
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 frown


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Top View Game Management [Re: 3run] #328452
06/13/10 11:31
06/13/10 11:31
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
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


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Top View Game Management [Re: rvL_eXile] #328497
06/13/10 16:03
06/13/10 16:03
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Which one:
1
2
3
And where is the script in two of them? frown


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Top View Game Management [Re: Alan] #328550
06/13/10 21:06
06/13/10 21:06
Joined: Feb 2010
Posts: 10
India
T
Tutu Offline OP
Newbie
Tutu  Offline OP
Newbie
T

Joined: Feb 2010
Posts: 10
India
Actually, I want to create 2D game... not 3D...so I have the probelm...
Plz HELP!!!

Re: Top View Game Management [Re: Tutu] #328975
06/16/10 15:06
06/16/10 15:06
Joined: Oct 2007
Posts: 306
Austria
A
Alan Offline
Senior Member
Alan  Offline
Senior Member
A

Joined: Oct 2007
Posts: 306
Austria
@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.

Re: Top View Game Management [Re: Alan] #329141
06/17/10 21:06
06/17/10 21:06
Joined: Feb 2009
Posts: 46
Spain
B
Beker Offline
Newbie
Beker  Offline
Newbie
B

Joined: Feb 2009
Posts: 46
Spain
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.

Re: Top View Game Management [Re: Beker] #329315
06/19/10 02:43
06/19/10 02:43
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
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...


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1