Skip to main content
gamedev.net
🔒 Locked

World Editor

Started by moo_gamer 0 replies 900+ views
Original Post
moo_gamer
moo_gamer
Hi! Everyone, Is it possible to use 3ds as full world editor? I mean not only modelling, but also placing hero and enemies; and other objects like tree(2d image!!). Is there anyone who have used 3ds as world editor in his game. After placing, I want to parse them from 3ds files? Thanks.
PlayfulPuppy
PlayfulPuppy
The simplest way is to just place objects around (Be they meshes or dummy objects) with predictable names such as 'obj_tree_01' or 'player_start'.

Then, when you load up the level, just check the start of each object name. If it starts with 'obj_tree', for example, you'd remove that mesh and replace it with a tree sprite at the same coordinates.

There are also more complex methods such as writing plugins, using the User Data field or having an external program used for object placement exclusively.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.