-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object templates #70
Comments
#78 was a duplicate of this and was closed therefore. |
This is similar to #24 but I prefer this solution to introducing additional buttons on the tool bar. |
I am definitely looking forward to this feature. Object types are nice but those don't have associated properties. A palette for easily creating these objects is definitely something that would help. |
I was about to suggest something similar, but this could be a much better idea =D |
Any news on this? |
Nope. Hasn't happened. Sent from my iPhone On Mar 25, 2012, at 2:09 PM, "Abel Toy i Díez"
|
This feature screams to be implemented xd. what a mess! xd. For sure this feature should group (or something alike) the tiles involved on making the actual object so you can access them easily and not dealing with separate objects, meanwhile I'll try to polish my "algorithm" or trying another approximation to solve my issue. PS: This is the actual look of my test from the default development branch: yup, every object is a sprite in the test game, doing a mess with the correct draw order :'| |
Damn I would love to see this feature implemented! Imagine you define an object (eg: a platform), you give it some basic properties (like minX, minY, maxX, maxY) to what you want it to do. Now imagine you are doing a platformer, you will probably use dozen if not hundred of those objects. And after using lots of them, you have the idea of adding custom collision to your platform (like it should collide from above but not from under. You will have to cycle through all your platform object and edit them all to add the collision : top / collision : bottom / collision : both custom property. What a hassle to maintain! Of course you could just do it in your code, checking the id of the object and adding the behaviour, but it would really be a mess and not faster. I think having template of object (aka prefab (cf unity3D)) would really be a neat feature for any "medium to big" sized project. |
@zamp Is there any chance you would be able to restore the mashup you linked to in your original request? I think it could be very helpful for anybody who could be interested to work on this feature (which could be this summer, as a Google Summer of Code project). |
In Unity, unchanged instance properties synchronizes with prefab properties. I think tracking prefab property changes will good feature. In addition it can reduce file size a little bit, by saving only changed properties. For now have no good idea how to implement object from several tiles. May be the library object editor window should provide like map editor interface (with grid for tiles) |
@bjorn sorry. I don't have the file anymore nor can I recall what it looked like. |
@zamp Alright, no problem. Thanks for letting us know! |
I'm closing this issue since the feature is now implemented, thanks to @thabetx's Google Summer of Code project! Check out the documentation and be sure to try it out by using a development snapshot (available at itch.io). Any feedback would be very welcome as we will now be working towards the Tiled 1.1 release. |
For reference, here are the issues I've already opened covering remaining tasks:
|
Would be nice if you could set up object templates so when you create new objects you could just pick one from a list and drag n drop it on the map.
Maybe double click on list to edit a template.
The templates should have the object type and properties with default values.
http://juvo.se/tbb3.jpg here's a mashup of what it could look like.
The text was updated successfully, but these errors were encountered: