Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: RosenEngine/RosenEngine.h
- Revision:
- 25:faba9eb44514
- Parent:
- 21:628fb703188f
- Child:
- 26:a53d41adf40b
diff -r ab821bfeb383 -r faba9eb44514 RosenEngine/RosenEngine.h --- a/RosenEngine/RosenEngine.h Sun Apr 14 18:11:32 2019 +0000 +++ b/RosenEngine/RosenEngine.h Thu Apr 18 06:53:52 2019 +0000 @@ -30,8 +30,8 @@ int ship_xpos; int ship_ypos; int ship_width; - - + int ship_height; + //*** note: add ship width and ship heirgth in place of 6 and 9 to generalize arrays after they are finished private: void check_ship_projectile_collision(); @@ -49,7 +49,11 @@ Direction _d; int _ycursor; int _shipno; + }; - +/************STUFF TO FIX****************************** +it seems that the weapons function and the enemy function thinks that the ship is locked to the top of the screen at 0,0. so while the ship can move +the seeker does not follow the ship and the weapon firing sprites are drawn wrongly +*/ #endif \ No newline at end of file