swietymiki
Global Moderator
Posts: 712
Member is Online
|
Post by swietymiki on Oct 29, 2017 6:36:10 GMT -8
Recently I was working on a new level in the Gruntz Level Editor. Everything was fine at first but some time later I encountered a problem.
There was one decoration that had a coin hidden behind it. I wanted to move the EyeCandy a bit to make it look better and then I turned on the game to test the level. What surprised me was that the coin began appearing above the decoration and it's always visible. I tried creating both logics again but the problem is not fixed, coin always appears above the decoration.
I noticed it's not only a problem with placement of objects. Now every EyeCandy that I edit or add to this level acts like a BehindCandy. All Gruntz are always visible and walk on them like the decorations were just ground tiles.
Maybe someone enountered a problem like this? Do you have any ideas what can be done to fix it? I really don't want to abandon this level because of a weird editor bug.
|
|
GooRoo
Administrator
Owner Administrator
I luv Gruntz!
Posts: 7,467
Display Name: GooRoo
|
Post by GooRoo on Oct 29, 2017 6:58:09 GMT -8
Recently I was working on a new level in the Gruntz Level Editor. Everything was fine at first but some time later I encountered a problem. There was one decoration that had a coin hidden behind it. I wanted to move the EyeCandy a bit to make it look better and then I turned on the game to test the level. What surprised me was that the coin began appearing above the decoration and it's always visible. I tried creating both logics again but the problem is not fixed, coin always appears above the decoration. I noticed it's not only a problem with placement of objects. Now every EyeCandy that I edit or add to this level acts like a BehindCandy. All Gruntz are always visible and walk on them like the decorations were just ground tiles. Maybe someone enountered a problem like this? Do you have any ideas what can be done to fix it? I really don't want to abandon this level because of a weird editor bug. The latest object editted will appear in front ... in the Gruntz Level Editor. But if the EyeCandy is just that, and not a BehindEyeCandy, the Gruntz game engine will show things as you want them to be.
|
|
swietymiki
Global Moderator
Posts: 712
Member is Online
|
Post by swietymiki on Oct 29, 2017 9:45:12 GMT -8
I'm not mistaken, nor is it a joke, the problem persists. I'm providing a video to depict it. As you can see, I'm walking over cratez, whose logic is EyeCandy, not a BehindCandy, and yet my Grunt appears above it, while cratez should cover him. Same thing happens if I change the graphic of the decoration, for example to an Observatory. Any thoughts on this? streamable.com/dkbvfAbout the level itself... even without this problem it will not be finished in a long time. But when it does, there might be a problem with finding a Beta-Tester willing to play it.
|
|
GooRoo
Administrator
Owner Administrator
I luv Gruntz!
Posts: 7,467
Display Name: GooRoo
|
Post by GooRoo on Oct 29, 2017 11:31:22 GMT -8
I'm not mistaken, nor is it a joke, the problem persists. I'm providing a video to depict it. As you can see, I'm walking over cratez, whose logic is EyeCandy, not a BehindCandy, and yet my Grunt appears above it, while cratez should cover him. Same thing happens if I change the graphic of the decoration, for example to an Observatory. Any thoughts on this? streamable.com/dkbvfAbout the level itself... even without this problem it will not be finished in a long time. But when it does, there might be a problem with finding a Beta-Tester willing to play it. The crates are in corners, with no space behind them, so it is impossible for the Grunt to walk behind them in order to pick up anything that may be 'behind' the crates. If you had 2 or 3 high crate stacks, and at least one space behind them, the Coin (or other object) would be mostly (or completely!) hidden, but the Grunt could acquire it.
|
|
swietymiki
Global Moderator
Posts: 712
Member is Online
|
Post by swietymiki on Oct 29, 2017 14:31:08 GMT -8
No, no, you didn't understand me. No matter how I put the coins, they are never hidden. That's the problem.
|
|
|
Post by SwordGrunt on Oct 29, 2017 17:54:53 GMT -8
Are you sure you didn't mis-spell EyeCandy? Remember it's case sensitive.
|
|
swietymiki
Global Moderator
Posts: 712
Member is Online
|
Post by swietymiki on Oct 30, 2017 6:59:11 GMT -8
Definitely not. Also as I mentioned earlier, objects that I put before the problem occured are still working correctly (the alien signs around the map for example). However if I edit one of these objects or add a new one, they will not work. I checked, the issue is only on this one level and EyeCandies work just fine on others. I don't know, maybe I unconsciously broke the level settings?
|
|
GooRoo
Administrator
Owner Administrator
I luv Gruntz!
Posts: 7,467
Display Name: GooRoo
|
Post by GooRoo on Oct 30, 2017 7:11:14 GMT -8
The Gruntz Level Editor works fine on my laptop, so while I cannot PLAY Gruntz here, I can check out the issue for myself, if you send me the WWD. I may even be able to 'sneaker net' it to the XP computer to test it out there.
|
|
GooRoo
Administrator
Owner Administrator
I luv Gruntz!
Posts: 7,467
Display Name: GooRoo
|
Post by GooRoo on Oct 30, 2017 9:52:13 GMT -8
Definitely not. Also as I mentioned earlier, objects that I put before the problem occured are still working correctly (the alien signs around the map for example). However if I edit one of these objects or add a new one, they will not work. I checked, the issue is only on this one level and EyeCandies work just fine on others. I don't know, maybe I unconsciously broke the level settings? What is in the 'Flags' section?
|
|
swietymiki
Global Moderator
Posts: 712
Member is Online
|
Post by swietymiki on Oct 30, 2017 9:57:07 GMT -8
Nothing is checked in the flags section. When I select "No Draw", the decoration becomes totally invisible in-game.
Also I just sent you the file in a private message.
|
|
swietymiki
Global Moderator
Posts: 712
Member is Online
|
Post by swietymiki on Nov 3, 2017 10:23:17 GMT -8
I have found a way to put decorations in levels without using the EyeCandy logic, by putting InGameIcon instead and then setting the Z value of the object to 2, so it appears before any other objects or Gruntz. I guess I'll have to replace all broken EyeCandies in this level using this method.
Edit: Doing that caused another batch of bugs in the level, with objects sometimes disappearing when Gruntz walk on them, or a coin hidden behind a decoration that is impossible to pick up. Sigh.
|
|