04-10-2024, 02:26 AM
Here is something funny... change the 'green' box to 'empty' and see if the white box passes through the "top" of the green box but lands on the "bottom" of the green box... lol
Having a "filled" green box will be the way to go... chances are I will not require a "wireframe" landing area.
Nicely done!
By the way... If you get a chance... display the value of "getcolor" somewhere "out of the way" on the screen. For example: set caret 0, 50; wln str(getcolor)
Even without pressing any keys, watch the value "tick over"... I think this may have something to do with the "garbage" that Marcus mentioned being collected when using the pixel() command... I could be wrong... But it is funny that the value of getcolor is changing even though the white box does not move... weird huh?
I would imagine that this is one of the advantages of using the Tilemap Editor... All the collision nonsense is taken care of...
Time for lunch... Have a great day!
Having a "filled" green box will be the way to go... chances are I will not require a "wireframe" landing area.
Nicely done!
By the way... If you get a chance... display the value of "getcolor" somewhere "out of the way" on the screen. For example: set caret 0, 50; wln str(getcolor)
Even without pressing any keys, watch the value "tick over"... I think this may have something to do with the "garbage" that Marcus mentioned being collected when using the pixel() command... I could be wrong... But it is funny that the value of getcolor is changing even though the white box does not move... weird huh?
I would imagine that this is one of the advantages of using the Tilemap Editor... All the collision nonsense is taken care of...
Time for lunch... Have a great day!
Logic is the beginning of wisdom.