FlashPunk 2.0 - Ideas collection


(Abel Toy) #21

Can we remove all the deprecated stuff when we do the major version increase, such as Text having optional width and height properties instead of an object, the centerOO function, etc? This would be greaat!

Also, idea for the Libraries (or drop-ins) specifically made for FlashPunk. What if they are all named punk.something? This would help identify them (such as punk.transitions, punk.fx, punk.UI, etc.) - and the main FlashPunk library could also be referred to as punk.core. These names are so cool!


(Abel Toy) #22

We should also fix angles, as mentioned here: https://github.com/Draknek/FlashPunk/issues/22

And maybe implement them as radians. You only need to type degrees when manually setting an angle or displaying an angle, and the conversion should happen there.


(Zachary Lewis) #23

Yes, we can. Major version changes mean the library no longer has 100% backwards compatibility. semver.org


(Malky) #24

I see what you mean on the HUD stuff.

The angles fix sounds great, too.


(Zachary Lewis) #25

If they were maintained and vetted by the FlashPunk community in an open space, I believe this would be fine; however, almost every library uses reverse DNS notation. For example:

I have created a library of point-and-click game components called ā€œSOPACā€ (Some Old-school Point-And-Click). It is hosted on a website I created for the library, http://sopac.com.

The reverse DNS notation for my library would be com.sopac, and Iā€™d probably have packages such as com.sopac.actors and com.sopac.areas.

The purpose behind this is to make it easy to get information on the library without requiring a bunch of extra searching. FlashPunk used to have this (net.flashpunk ā†’ http://flashpunk.net), but I donā€™t have access to @ChevyRayā€™s DNS information.

Long story short, as cool as it would be, it might not be the best idea (unless someone bought http://punk.com). :sandal:


(Kevin Graham) #26

I see what your saying about making it easy for people to get info on it, and this makes sense for most programs; the difference here is that they are going to be downloading it from a forum post, where they will already be getting the information from.


(Abel Toy) #27

I know, Iā€™m just talking about Library names, not the package stuff.


(Kevin Graham) #28

One little thing I literally just noticed, in the spritemaps setFrame method, the columns and rows start at 0, which is a bit confusing, and should start from 1 in my opinion.


(Draknek) #29

Just gonna say: with the number of changes being proposed in this topic, Iā€™m gonna strongly suggest that you start a new repository for this work.

https://github.com/Draknek/FlashPunk should probably stay backwards compatible.


(Ultima2876) #30

Expanding the Draw class and supporting Stage3D wonā€™t go hand-in-hand very well. Trust me, I know :wink:

For suggestions:

-Subentities

-Improved/more comprehensive music & sound system (perhaps using SeiOn?)

-FlashMovieClip and FlashSprite rendering support (if youā€™re doing this with stage3d, itā€™d have to precache the MovieClip/Sprite to a buffer and make sure it handles atlasing and batching properly)

-Spritesheet font support in Text (almost a necessity in Stage3D - by spending a lot of time on optimisation techniques Iā€™ve managed to make Text perform well enough as-is in Stage3DPunk but Spritesheet-based fonts would be much better if youā€™re going Stage3D)

These are taken from my own ā€˜planned enhancements if I have timeā€™ for Stage3DPunk!


(Dev Bot) #31

This topic was automatically closed after 30 days. New replies are no longer allowed.