Open ivan-mogilko opened 7 months ago
There's a problem which does not seem to have a solution currently: this mode cannot be changed in script, only set up in general settings in the editor. This means that for testing both currently we'd need 2 separate games.
I am going to assume we don't want to add a script API for this first.
I can create a new game for auto-test only for, let's say the generated cross, and just add it here and in ags.
Later I would create some test script in python that could be shipped along and one would just run it and it would run the test games and all, possibly by passing an ags3 or ags4 parameter, and then on the AGS main repository side it would just use it. I would write a new issue for this test kit. With this we would be more flexible to have more games.
Ah last thing, I am assuming this is for an auto-test, we could have test games here too that are meant to be manually run - I am thinking about adding one for joystick in ags4 at some point.
More games may actually be run using RunAGSGame, if that's acceptable. In other words, if there's a main game launched, and others are launched from the main game.
The inventory item cursor may have a hotspot representation added in two possible ways:
Both add a crosshair image (either a sprite or generated "cross" of chosen color) on top of current item image.
This may be tested using same screenshot method as when testing object's sprite change.
There's a problem which does not seem to have a solution currently: this mode cannot be changed in script, only set up in general settings in the editor. This means that for testing both currently we'd need 2 separate games.