Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / 2D Terrain maker

Author
Message
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 14th Nov 2004 09:42 Edited at: 14th Nov 2004 09:46
This is strongly based around the work Phalaex is doing with his game editor "GEME" (http://forum.thegamecreators.com/?m=forum_view&t=42436&b=8)

The difference is, mine is in 3D. The game creates a mesh of tiles that are specified in a map.txt. You also provide a texture with tiles of what you want. These tiles are numbered and you then create a map of numbers. These numbers are translated into an array of UV coord which are then mapped onto the mesh.

Link:
http://www.thingy-ma-jig.co.uk/show_project.php?pid=12

There are more instruction there.. Any problems, lemme know..

There is a SLIGHT problem with example set 2 (included in the download). For some reason it does not look like it is tiling correctly. I THINK it might be to do with the UV map being unable to map specific tiles accurately (ie a tile at position 32 out 256 across does not map to a U coord between 0-1 precisely).

Anywho.. Set 1 screeny attached.

SCREENY:


[EDIT] That image of london is only there to show depth, etc.. And on the next screeny it shows transparency better.

[EDIT 2] This is completely open source.. USe it for what you want.. on 2 conditions.. (1) You let me play your game.. Hehe... (2) A little credit where credit is due.

Attachments

Login to view attachments
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 14th Nov 2004 09:44 Edited at: 14th Nov 2004 09:45
Screeny 2 (from set 2):


Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-16 19:22:18
Your offset time is: 2024-11-16 19:22:18