Why A.at(x,y) is zero after SET A.at(x,y)=1?

Discussion and feedback on Construct 2

Post » Wed Nov 23, 2011 10:06 pm

Just in case someone else makes the same mistake...

Since moving non-world objects to layout seems to be impossible, i've edited the layout.xml file in order to avoid events being deleted during object deletion.


I've edited the "nonworld-instances" part of layout.xml and added:

[code]
<nonworld-instances>
<instance type="Direcciones">
    <properties>
      <width>4</width>
      <height>2</height>
      <depth>1</depth>
    </properties>
</instance>
</nonworld-instances>
[/code]
...It worked!
Now, I'll focus in the labyrinth generation routine
(it seems that making a javascript "behaviour" would be easier, though).
B
39
S
11
G
5
Posts: 132
Reputation: 8,228

Post » Thu Nov 24, 2011 12:01 am

Better if the creators give us a clean solutions for this problem, I dont want to hack xmls files to solve a problem, since C2 is a high level creation tool.
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
21
S
5
G
6
Posts: 166
Reputation: 4,885

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 16 guests