Hey, we have forums!

Author Topic: Respawning fish are turning invisible?  (Read 11450 times)

0 Members and 1 Guest are viewing this topic.

Offline r_b_bergstrom

  • Bit
  • ***
  • Posts: 16
    • View Profile
Respawning fish are turning invisible?
« on: June 08, 2010, 10:06:38 pm »
I'm working on my first mod, and I've hit a minor but weird issue.

I've got a few schools of fish on some of the levels. They spawn normally when I start a level, but I've found that if I eat them in beast form, when they respawn they come back invisible.  At first I thought maybe beast form prevented them from respawning if I ate them, but then, while fighting with a monster, I lunged through the area where a school of fish had been, and it triggered a bunch of the whispy green lights that flash when you eat a fish (and my health bar ramped up like I'd just charged through half a dozen edible fish, even though there was nothing visible). So I went to a safer map and tested it. Same thing happens anywhere I eat fish in my mod.

My background graphics are in the right layer, so it's not like they're just hidden behind it. All I can think of is that I'm missing either some line of code, or some whole script involving fishes that I should have copied into my mod. I'm not aware of any such script that's needed, though.

Here's what I am using to call up the fish in the first place, in the map.xml files:

<SchoolFish x="4376" y="6058" id="1" num="30" range="400" maxSpeed="80" layer="8" gfx="Fish-0011" />

There's a few variations in that line of code from map to map, but they're all basically set up like that, and that line in particular generates a school that's in any easy place for me to locate and eat.

Offline Lady-Succubus

  • Hero Bit
  • *********
  • Posts: 538
  • Aren't I cuuuutee? =^.^=
    • View Profile
    • Woefully Outdated Blog
Re: Respawning fish are turning invisible?
« Reply #1 on: June 09, 2010, 02:56:36 am »
I think that happens at times in the real game too. :3
Bored little neko, pouncing along, scattering posts everywhere. =^.^=

Offline r_b_bergstrom

  • Bit
  • ***
  • Posts: 16
    • View Profile
Re: Respawning fish are turning invisible?
« Reply #2 on: June 09, 2010, 06:06:47 am »
Really? I'd never noticed that... but I spent a lot more time in energy form than in beast form, so if it's part and parcel with being pink and fuzzy, I might not have noticed.

Offline Lady-Succubus

  • Hero Bit
  • *********
  • Posts: 538
  • Aren't I cuuuutee? =^.^=
    • View Profile
    • Woefully Outdated Blog
Re: Respawning fish are turning invisible?
« Reply #3 on: June 09, 2010, 06:10:37 am »
I found myself boosting through invisible fishies in the sun temple veil. I was spooked. :3
Bored little neko, pouncing along, scattering posts everywhere. =^.^=

Offline aerozol

  • Bit
  • ***
  • Posts: 14
    • View Profile
Re: Respawning fish are turning invisible?
« Reply #4 on: June 09, 2010, 11:47:45 pm »
I think that happens at times in the real game too. :3
Yeah, I spent ages following 'ghost' fishes, thinking they'd unlock something or do something cool. I guess it's just a bug : P

Offline Sindhi

  • Giant Bit
  • ******
  • Posts: 296
    • View Profile
    • Bindhu Artisan Jewelry
Re: Respawning fish are turning invisible?
« Reply #5 on: June 10, 2010, 02:56:23 am »
Yogoda told me today he's found a ton of bugs in the source code, and it's a good thing he's not the only one going through it, although they are not in sync about the bugs; don't know enough to understand...but since it's open-source now we should have fewer problems like this when we all upgrade to a newer Aquaria version.
"You are the sky. Everything else is just the weather."  Pema Chodron

Offline Yogoda

  • Extra Bit
  • *****
  • Posts: 144
    • View Profile
Re: Respawning fish are turning invisible?
« Reply #6 on: June 11, 2010, 08:54:05 am »
No, I wasn't speaking about bugs, but errors when I try to compile ;)

Offline Sindhi

  • Giant Bit
  • ******
  • Posts: 296
    • View Profile
    • Bindhu Artisan Jewelry
Re: Respawning fish are turning invisible?
« Reply #7 on: June 11, 2010, 06:06:01 pm »
Oops. Sorry. You're the MAN. Thank you for all you do, for all of us.
"You are the sky. Everything else is just the weather."  Pema Chodron

Offline Lady-Succubus

  • Hero Bit
  • *********
  • Posts: 538
  • Aren't I cuuuutee? =^.^=
    • View Profile
    • Woefully Outdated Blog
Re: Respawning fish are turning invisible?
« Reply #8 on: June 11, 2010, 08:14:39 pm »
Thank you for helping us help you help us all? :3
Bored little neko, pouncing along, scattering posts everywhere. =^.^=

Offline Inyssius

  • Extra Bit
  • *****
  • Posts: 118
  • Duke Nukem Foreveresque
    • View Profile
Re: Respawning fish are turning invisible?
« Reply #9 on: June 11, 2010, 10:51:52 pm »
No, thank you!


(... for thanking him for helping us help him help us all.)