Dear friends please help
I have 2 questions
How can I upload Image and same parameters from folder to game whit "xml" (each level) .
How can I split this image in "n" parts
and have image parts ID .
<img src="https://dl.dropbox.com/u/22173473/droppicsplash.png" border="0" />
Thank you ....
The first question I'm afraid I don't understand.
For the second, I would split the image in an external image editor in 9 pieces, and upload those as frames of a single animation of a sprite.
Then each instance would have a different "Initial frame" from the animation (make sure to set the animation speed to 0).
Asatur Do you need to do this programatically?
Develop games in your browser. Powerful, performant & highly capable.
beufreecasse Yes :) becouse I have more than 50 pics.. and this pics load from url random.
I couldn't find a way to split a sprite in 9 parts in C2 but may be you could do it manually then load each part of the image with the load image from url action(on Sprite) and randomize the image part you are loading with array
Example - Your first image :
in my program I split manually, then I have one Sprite which have "n" Animations (All Pictures) and each animation have 9 frame .
I loading x Animation whit random animation frame