xanderxevious / dame Goto Github PK
View Code? Open in Web Editor NEWDeadly Alien Map Editor - for 2D and isometric games.
Deadly Alien Map Editor - for 2D and isometric games.
This might not be an issue but I couldn't find a forum or mailing list to ask questions about DAME so I am posting this one here. I want the image filename used for a Sprite to be listed along with the tag's attributes. I modified the XML exporter like so:
-------------------------------------
-- SPRITE GENERATION - must be called after paths.
-------------------------------------
spritePropsText = "%%ifproplength%%>\n"..tab3.."<properties>\n"
spritePropsText = spritePropsText.."%%proploop%%"..tab4.."<prop name=\"%propname%\" value=\"%propvalue%\" />\n%%proploopend%%"
spritePropsText = spritePropsText..tab3.."</properties>\n"..tab2.."</sprite>%%endifproplength%%%%ifnoproplength%%/>%%endifproplength%%\n"
spriteText = tab2.."<sprite class=\"%class%\" name=%name% image=\"%imagefilename%\" x=\"%xpos%\" y=\"%ypos%\" angle=\"%degrees%\" flip=\"%flipped%\" xScale=\"%scalex%\" yScale=\"%scaley%\" "
spriteText = spriteText.."%%if parent%%"
spriteText = spriteText.." pathId=\"%getparent%\" attachNode=\"%attachedsegment%\" attachT=\"%attachedsegment_t%\" "
spriteText = spriteText.."%%endifparent%%"
spriteText = spriteText..linkAssignText..spritePropsText
Note that imagefilename is listed as a recognized keyword. However this doesnt work as expected. What I get is:
<sprite class="Slot" name="SlotItem" image=%imagefilename% x="82.00" y="303.00" angle="0.00" flip="false" xScale="1.00" yScale="1.00" >
Can someone please tell me what I'm doing wrong?
When using animated sprites and setting an index, the sprite is rendered incorrectly in the preview. I expect a green crystal to show up (correctly displayed on the left), but instead DAME shows a garbled version (blue, right).
Example is available from http://iru.ch/gutknech2/DAME-1.zip
I use dame 3.1.1
Very often, creating or editing paths freeze the application.
When using repeating Map Layers the drawing engine doesn't clip correctly if the viewport is in negative coordinate space. (It seems that tile indexes are rounded towards zero, instead of down.)
Example is (again) http://iru.ch/gutknech2/DAME-1.zip
It should be handy to have an option to keep the original tileset image layout for a 2D layer in the tile window (docked or not).
It could help the designer to easily find tile in the case of huge tileset whatever window size
I have been using DAME in a Flixel project that i'm currently developing, with success, but I've encountered a problem today. I tried to change the bitmap of a map layer (a really wide one with more than 9000px horizontally) and it refused to accept the file. No errors, no warnings, it simply ignores the change.
I've been trying and changing the bitmap width and if I reduce the bitmap enough it works. I suspect this issue is related to the bitmap size limit described here:
http://helpx.adobe.com/flash-player/kb/size-limits-swf-bitmap-files.html
The problem is that I actually use all these tiles at the same time, and currently have no way of changing this, but I can't use DAME with the new tileset, which is a major problem.
If that's true, compiling the project for Flash Player 11 and with AIR3 should fix the problem. I have no experience with AIR. Is there any fundamental issue that prevents doing so?
When I am using a Matrix tileset and I go outside of the boundary the application freezes. I can still save but it's a nuisance to keep reloading, hahaha. thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.