Complicated...

Get help using Construct 2

Post » Fri Feb 01, 2013 1:26 am

Steps:

1. Get IMG from URL "redblock1.png"
2. ON GET IMG FROM URL create Sprite, Give sprite same name as image from URL and give the sprite an instance variable
>name:value
>type:number
>initialvalue:0

3. Pin "redblock1.png" to Sprite redblock1
4. Get XML variable for "redblock1"

<xml>
<blockname> redblock1
<value> 2
</value>
</blockname>
</xml>

5. Insert from XML value 2 into "redblock1" instance variable.
6. Add Behaviors Drag and Drop.

What am I trying to accomplish here?
A sprite called redblock1 with an image overlay of redblock1.png
with the instance variable value / number / 0 pulled from my XML file.
Doing this will allow me massive amounts of sprites without my C2 file size being massive.

Hope that makes sense. How Do I
B
6
S
1
Posts: 25
Reputation: 675

Post » Fri Feb 01, 2013 5:08 pm

Sorry to bump. Going to post up my CAPX so far in a few.
B
6
S
1
Posts: 25
Reputation: 675


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests