Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Following on from NaochanON's shaddow boxing animation recently blogged, he has developed it further into a boxing game.
You are the fighter on the left (gray with red gloves) with the computer player on the right (green with blue gloves). The keys to control your fighter are shown below.
The download code is BGT587-0. The code is well structured and runs smoothly, I especially like the AI of the boxing opponent.
The animation code looks quite complex with a lot of multi-dimensional arrays, but with a little studying it all becomes clear. It would be simpler using a series of boxer images in different positions, but not as interesting or challenging as animating the joints of the fighters geometrically.
Can you beat my score (76 hits to 19).
If you have a program of any sort that you would like to be blogged about, then post a link to it on the Small Basic forum.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in