Discuss suggestions to improve the Axel library.


Postby tharo » Fri Mar 29, 2013 4:37 am

Hi Arkeus,

I was wondering why the fuck your still using CVS Data in your tilemap-build function. Okay, it comes in Handy for some reasons and I wont ask for dumping it. But why is there no generic function for arrays?
Everyone that loads his data using parsing classes (such as JSON f.e.) or even did a smal map generator is forced to rewrite a whole bunch of init code or to (even worse, I cant belive flixel is actually doing it that way) transform the data BACK to a string. Just the way that you can split it up again. Hilliarious.

So my request is a build function that simply takes an array of indexies. If 1D+width value or 2D ... I dont care. But please dont do a Array2CVS <.<
Posts: 15
Joined: Fri Mar 29, 2013 4:31 am

Re: Tilemap.build

Postby Arkeus » Fri Mar 29, 2013 11:24 am

Agreed. Will probably accept an array of arrays, or the current format (and the current format gets parsed). Current format is nice for beginners and matches flixel (almost) so that's what I started with. But I agree supporting non-string is a good idea.
User avatar
Site Admin
Posts: 363
Joined: Mon Mar 26, 2012 12:43 am

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest