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

Change color of Gloop #3

Closed
xcmel opened this issue Mar 11, 2013 · 3 comments
Closed

Change color of Gloop #3

xcmel opened this issue Mar 11, 2013 · 3 comments
Labels

Comments

@xcmel
Copy link
Collaborator

xcmel commented Mar 11, 2013

Description:
Changing the color of the gloop to green has a few weird coloring effects.

  1. changing the coloring to green when it is created: turns blackish and then when it re-spawns, it turns red for the first frame before returning to its normal color. The re-spawn coloring is the same every time it re-spawns.
  2. changing the coloring to green when it collides with an actor causes the gloop to turn black, and it stays that way.

Steps to Reproduce:

  1. Make a new map. Change the hero to be gloop. Then create an event that triggers when the hero is created. Set the resulting action to change the hero's color to green. Then test the game.
  2. Make a new map. Change the hero to be gloop. Then create a skeleton on a block right below the gloop. When you start playing, the gloop should fall onto the block with the skeleton on it. Create an event that triggers when the hero collides with the skeleton actor. Then have the resulting action be to have the hero's color changed to green.

Log Cat:
will be added soon

@thomaswp
Copy link
Owner

Ok, the color reverting to white upon death/hit should be fixed now in v 0.2.
As far as Goop turning black.. that's not exactly what's happening. Because color transformations in OpenGL are negative by nature, if a turn something pink (like gloopy) green (which is the opposite of pink), we end up with no color at all (black). Try other colors and see if you get different results. Yellow for instance should turn him red (green minus everything but yellow is red). I'll look for a better way to do color shifting.

@deagle1226
Copy link
Collaborator

Doesn't work initially, but does after death.

@thomaswp
Copy link
Owner

Dan, in v0.3 it should update immediately.

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

No branches or pull requests

3 participants