Hey Ashley, C2 Suggestion

Discussion and feedback on Construct 2

Post » Tue Oct 22, 2013 4:39 pm

Yeah forcing a default instance is kind of weird. The error when one doesn't exist mentions how it'll be fixed soon. That was..2 years ago?
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Tue Oct 22, 2013 4:58 pm

It's an architectural quirk. If no objects exist anywhere in the project, C2 doesn't know what to use for its properties. E.g. if you don't have a Text object anywhere in the project and you try to create it at runtime, what font should it use? It could fall back to a default I guess, but then if no objects exist in the project, the only thing you can do is create blank default objects. If there is at least one instance in the project, C2 uses the properties from that object.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Tue Oct 22, 2013 7:17 pm

Is it also safe to assume when creating new instances that C2 uses the properties of whatever the latest instance was?
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Tue Oct 22, 2013 7:34 pm

I think it uses the earliest object's properties.

Here's a neat suggestion, the ability to Right-click an object and select "Set as default object". That would be useful, I sometimes look around all layouts to find the object that "Create Object" uses the values from, would be cool to just right-click the object in the "Objects Layout" and set it as default!
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Tue Oct 22, 2013 9:03 pm

I think, ideally, the "default instance" would be the object in the menu...

>Create object
>is added to the menu (not the layout)
>set object's default properties in the menu
>drag instance into layout using default properties.

Then perhaps there could be a "set to default" button in the object properties which sets them to what they originally were when it was first created.

No object bank layout, no forced layout instance, no more questions!
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Wed Oct 23, 2013 12:17 am

MadFactory has a great idea there. It would make things so much less complicated.
B
45
S
13
G
1
Posts: 236
Reputation: 4,010

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Rastacity and 2 guests