Game Dev - Sally Ninja Update: AI woes
5 years ago
Sally Ninja progresses. Much of the work is done. I had to make various changes along the way. Not least of which is abandoning my plan to use the Master System palette as the bullets were often very hard to see without completely changing them.
I've had issues with "best practices" and "Object Oriented Programming" and all that nonsense. See, apparently objects are not meant to talk to each other. They should be completely compartmentalized, and if they have to talk to each other you're doing it wrong. However, there are times when you need to access another object. Such as a bullet dealing damage to the thing it hit, or an AI getting the navigation data from the world map. I don't know how you're supposed to do these things without one thing talking to another.
I've decided not to add cameos from people's OCs. I think they'd be a bad fit for this game, and might be better in one of the other projects I'm thinking of doing, which I'll announce some other time.
The current issue is with AI. I had problems with getting them to follow a line, but I managed to fix that. Now I'm having problems with AI seeing the player through walls, or them losing sight of the player if they stand still.
I've had issues with "best practices" and "Object Oriented Programming" and all that nonsense. See, apparently objects are not meant to talk to each other. They should be completely compartmentalized, and if they have to talk to each other you're doing it wrong. However, there are times when you need to access another object. Such as a bullet dealing damage to the thing it hit, or an AI getting the navigation data from the world map. I don't know how you're supposed to do these things without one thing talking to another.
I've decided not to add cameos from people's OCs. I think they'd be a bad fit for this game, and might be better in one of the other projects I'm thinking of doing, which I'll announce some other time.
The current issue is with AI. I had problems with getting them to follow a line, but I managed to fix that. Now I'm having problems with AI seeing the player through walls, or them losing sight of the player if they stand still.