theRAPTLab / gsgo

GEM-STEP Foundation repo migrated from GitLab June 2023
1 stars 1 forks source link

characterController characters ignore zIndex setting in definition #317

Closed benloh closed 1 year ago

benloh commented 3 years ago

In GitLab by @jdanish on Aug 20, 2021, 13:38

In aquatic and decomposition, if you add a bunny by creating it in charController, it always sets to zIndex of -100. I re-arranged all the other characters so that it isn't an issue, but as a low-priority it'd be nice to be able to set the bunny (or whatever) to just be higher up instead (e.g., set it to 100).

benloh commented 3 years ago

charControlled characters a have zIndex of -100 so that they appear behind NPC characters. Otherwise if they appear on top of NPC characters, the NPC characters are not selectable.

NPC characters by default have a zIndex of 200.

See https://gitlab.com/stepsys/gem-step/gsgo/-/wikis/Scripting/ZIndex

I'm not sure what you're wanting to change.

benloh commented 3 years ago

In GitLab by @jdanish on Aug 20, 2021, 15:43

I think we want the opposite because currently the character controller characters can get lost behind other things and are hard to find. Short term I solved the issue by moving all NPCs back to -200. But it might be more intuitive for kids if they can just set the bunny to 0 or 100 or whatever. It does seem odd that the definition is being overridden.

Low priority since I worked around it.

... ---- (from my iPhone) Joshua Danish http://www.joshuadanish.com > On Aug 20, 2021, at 6:23 PM, Ben Loh (@benloh) wrote: > >  > Milestone changed to Round 2: Wizard GEMSCRIPT Interface (May 10, 2021–Aug 2, 2021) > > — > Reply to this email directly or view it on GitLab. > You're receiving this email because of your account on gitlab.com. If you'd like to receive fewer emails, you can unsubscribe from this thread or adjust your notification settings.
benloh commented 3 years ago

So you don't mind that NPC characters become unselectable behind a charcontrolled character? I think we had added this fix because in Aquatic you couldn't click on an Algae if a Fish was in front of it.

benloh commented 3 years ago

In GitLab by @jdanish on Aug 20, 2021, 16:03

Yeah - now that we can control them both with character control or pozyx it’s not an issue.

... ---- (from my iPhone) Joshua Danish http://www.joshuadanish.com > On Aug 20, 2021, at 6:59 PM, Ben Loh (@benloh) wrote: > >  > Ben Loh commented: > > So you don't mind that NPC characters become unselectable behind a charcontrolled character? I think we had added this fix because in Aquatic you couldn't click on an Algae if a Fish was in front of it. > > — > Reply to this email directly or view it on GitLab. > You're receiving this email because of your account on gitlab.com. If you'd like to receive fewer emails, you can unsubscribe from this thread or adjust your notification settings.
benloh commented 3 years ago

added 15m of time spent