How to make 2D games with custom graphics?

Hi everyone,

I'm currently building a game on Adobe Air using Starling and Box2D that will run on every possible device.
I want to be able to calculate and draw my own graphics with code.
(see attaced image)

With all search I've done on game making, everyone is talking about images and sprites.

I also found how to draw on bitmap and make starling texture with it, but I loose the performance with this technic.

How can I draw custom graphics and keeping my performance?

Is using Starling as framework is a mistake in this case?

Thank you for your help
example.jpg
Nicolas AlepinsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MereteCommented:
Are these for flash?
No not from what I have read,
Hope you don't mind the links, but I cant really answer this only provide some pointers.
Top 10 Performance Killers in your AIR Application<< this has some very good pointers.
http://blog.flexwiz.net/top-10-performance-killers-in-your-air-application/
What are the major performance hitters in AS3 aside from rendering vectors?
http://stackoverflow.com/questions/8380789/what-are-the-major-performance-hitters-in-as3-aside-from-rendering-vectors
May I offer you "The Starling Manual" If you havent already seen it
The Starling framework allows you to create hardware accelerated applications in Flash.
The main target is the creation of 2D games, but Starling can be used for any graphical application.
http://wiki.starling-framework.org/start
http://wiki.starling-framework.org/manual/start
Skipping forward about 7 pages we get to
Textures and Images,
http://wiki.starling-framework.org/manual/textures_and_images
Please follow on with next steps at the bottom of each page
heres another
Introducing the Starling 2D framework
http://www.adobe.com/devnet/flashplayer/articles/introducing_Starling.html

Hope it helps, I can really take any credit just offering a little help as your question has been left hanging.
Merete
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nicolas AlepinsAuthor Commented:
Hi Merete,

In fact I finally found my answer by myself few days ago.
Using Starling Custom display object, I'm able to add native Stage3D content and keep the starling framework for the simplicity.

Since this is really not an easy solution, I didn't closed this question to see if anybody would have a better solution.

I'll mark your asnwer as the right one, since I don't think anybody will get another solution and that you provided me with some usefull links to create a good game and complete my project.

Thank you
0
MereteCommented:
Hi luminis8619, thank you.
Yes I am a bit surprised that your question didn't get any attention.
I love games!!
Good Game is a program here in Australia TV which I love to watch.
It's these two presenters Hex female and Bajo male that test and review games ..Brilliant stuff.
Check it out if you have time, watch the recent episode.
See Episode 30 - 26/08/2014
http://www.abc.net.au/tv/goodgame/video/
http://www.abc.net.au/tv/goodgame/
Good luck with your game programming
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Game Programming

From novice to tech pro — start learning today.