Array width is actually Array height???

Discussion and feedback on Construct 2

Post » Wed Apr 05, 2017 8:43 am

Hi,

I have a weird problem:

If I place Array.width at 8 and Array height at 4 the array is represented as

xxxx
xxxx
xxxx
xxxx
xxxx
xxxx
xxxx
xxxx


instead of
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx

Image
[size=200]1. Best Construct 2 course :HERE.10$!

2. 155 games source codes for sale on scrira store 12,86$each. PM me if interested to speed up the uploading process.
[/size
B
34
S
8
G
4
Posts: 158
Reputation: 3,783

Post » Wed Apr 05, 2017 9:17 am

I think that's just how the debbuger shows it, if you try to get the correct cell data with events you would get the correct value. But I can agree it would be good if the debugger had some better representation of array data.
Follow my progress on Twitter
or in this thread Archer Devlog
B
42
S
18
G
19
Posts: 1,055
Reputation: 14,044

Post » Wed Apr 05, 2017 10:43 pm

The width and height are representations of x and y as they are depicted as table data, not as a visual representation.
Imho, 'width' would have been clearer if they were something like 'size_x', or 'len_x'.
B
42
S
12
G
1
Posts: 74
Reputation: 2,992


Return to Construct 2 General

Who is online

Users browsing this forum: DuckoIII and 2 guests