private variable - set value

For questions about using Classic.

Post » Sun Oct 03, 2010 6:50 pm

Hi. I am having some problems with one sprite in my game. When I try to modify a private variable with actions, there is no any drop down list to chosse one. This works with all other objects in the game. I am doing something wrong, or it is some kind of bug? If I put manually a private variable, it does not work.

B
30
S
15
G
10
Posts: 285
Reputation: 7,144

Post » Sun Oct 03, 2010 7:10 pm

Maybe somehow you've set it to "Use expression", instead of default?
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Oct 03, 2010 7:24 pm

Nothing happens changing between default and use expression
B
30
S
15
G
10
Posts: 285
Reputation: 7,144

Post » Sun Oct 03, 2010 9:41 pm

Copy-Paste sprite to new app, see what happens, maybe just a bug, i have my current project resources copy-pasting into a new app every 2-3 days cause of errors)
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Mon Oct 04, 2010 12:37 am

[quote="NugMan":1aqlx5np]Copy-Paste sprite to new app[/quote:1aqlx5np]

Don't copy/paste between .caps. It's an unfinished feature and can seriously mess up your .cap.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,422

Post » Mon Oct 04, 2010 9:14 am

Well, I have made a new sprite, with same private variables, and I have replaced the old sprite with the new one. Now works perfectly. Looks like a bug.

NugMan - Thanks for the advice. I have tryed, but the bug persists in the new project.
B
30
S
15
G
10
Posts: 285
Reputation: 7,144

Post » Mon Oct 04, 2010 1:56 pm

[quote="Arima":106v484r][quote="NugMan":106v484r]Copy-Paste sprite to new app[/quote:106v484r]

Don't copy/paste between .caps. It's an unfinished feature and can seriously mess up your .cap.[/quote:106v484r]

Ok then give me any solution when you cap just wont work, for ex. any deleting or clicking preview always crashes program? And when you cant save your file cause you get verifying error? This unfinished feature is the only way in some cases. Btw using last 99.95
B
19
S
6
G
4
Posts: 171
Reputation: 2,507


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests