Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

How to manipulate 2d image as different objects in game



Hello Im very new to this so I don't even know what this process is called exactly. Im posting image of flappy bird here in which it consist all the objects day, night, birds, font etc. Please refer to attach picture. So how to use them in 2D game? this is just example i have used. How to manipulate different objects at different coordinates ? Thanks.

Attachments
fb.png   

Tags

1060 views    2 answers

The Best Answer

0


You could be more precise with your question 

software/language you are using

to get correct answer.

Textures (sprite sheets) can be applied to any objects is created based off that texture. 

If you look at the texture for any of the other objects you can see their unique x,y and to use a specific space on the texture to apply on object. 

In general you define 

texture size - 1024x1024 and starting point (0,0)

and then move by X and Y to get the right one.



 

2014-07-24     0 Comments


0


google starling textureAtlas

2014-08-25     0 Comments

duanma

2014-06-09

Public Question, everyone could view answers and download attachments.

Finish this task then you can earn 10

Task Finished


>>Back to Task List


Sponsor


You may interest with



Share

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character