Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Tree, Object Groups #54

Closed
RobertBColton opened this issue May 25, 2013 · 6 comments
Closed

Resource Tree, Object Groups #54

RobertBColton opened this issue May 25, 2013 · 6 comments

Comments

@RobertBColton
Copy link
Collaborator

http://oi39.tinypic.com/2u8ijp1.jpg

That is what I saw when I opened my project mario game, as you can see script folders have the correct group icon but object groups do not. I tried changing the theme and that did not fix it.

This is what the file looks like loaded in GM:Studio...
http://tinypic.com/r/2vbpwm0/5

@IsmAvatar
Copy link
Owner

Did you restart LGM?

@RobertBColton
Copy link
Collaborator Author

No it has nothing to do with the themes Ism, http://oi44.tinypic.com/256frlw.jpg

As you can see empty object groups are fine just ones that have objects try to set it to the sprite, just as my original intuition was telling me. Its an easy fix I would bet.

@IsmAvatar
Copy link
Owner

Oh, I see. This is actually intended behavior. Object and Sprite groups inherit their image from the first resource in them. I think this is an option. This may be undesirable behavior if the sprite is blank, so we could factor for that as well.

@RobertBColton
Copy link
Collaborator Author

ewww i hate that :( ya there better be an option

@RobertBColton
Copy link
Collaborator Author

I have found the setting for this in the preferences file, it is too stupid for me to add to prefs panel and Josh said just remove it, but I will just disable it in the new jar file after some more improvements here. This issue is resolved.

Here is a picture of the same file loaded in GM:Studio...
http://tinypic.com/r/2vbpwm0/5
As you can see it does not even load the scripts, corrupts sprites, but kinda keeps the file structure, so in this regard LGM does a better job than the actual software.

@RobertBColton
Copy link
Collaborator Author

If we look at the stable branch, that preference was actually always disabled by default. I still don't see a reason to add it to the preferences frame, there's not enough people dying over it. I don't know how it managed to get turned on in master before I disabled it (probably me just messing around) but in stable it is staying off.
https://github.com/IsmAvatar/LateralGM/blob/04590a4a16aead92ec72b22605baa44ed8f41aad/org/lateralgm/main/preferences.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants