Hi all - I have two completely disparate questions:
1. I want to create a minigame of sorts - the basics of the minigame are there's a blob on the screen... then you're given a series of smaller blobs to place onto the larger blob. Victory is determined by what percentage of the larger blob is "covered" by the smaller blobs... thusly, how can I determine how many pixels are still showing through? Or more basically, how can I determine if the bottom blob is completely covered or not??
2. What's the best way to simply swap two items in a list? I know how to ADD to the beginning or end of a list, and how to delete an item, but there doesn't seem to be a command to MOVE an item to beginning / end - at least none that I could find. I hate the documentation in BlitzMax - Blitz3D documentation was SOOO much better... so I'm sorry if this is an obvious question / answer...
Thx all! GAME ON!!
1. I want to create a minigame of sorts - the basics of the minigame are there's a blob on the screen... then you're given a series of smaller blobs to place onto the larger blob. Victory is determined by what percentage of the larger blob is "covered" by the smaller blobs... thusly, how can I determine how many pixels are still showing through? Or more basically, how can I determine if the bottom blob is completely covered or not??
2. What's the best way to simply swap two items in a list? I know how to ADD to the beginning or end of a list, and how to delete an item, but there doesn't seem to be a command to MOVE an item to beginning / end - at least none that I could find. I hate the documentation in BlitzMax - Blitz3D documentation was SOOO much better... so I'm sorry if this is an obvious question / answer...
Thx all! GAME ON!!