I've created the attached shuriken engine (with their assistance) but am running into some problems.
As it is it does many of the things we desire:
- Throws shurikens in any direction
- Shurikens sink into walls
- Shurikens can be recovered
- Shurikens send the robots they hit to a specific line of code
- Shurikens make sounds upon being thrown and hitting a wall
- Shurikens can not be thrown when right next to a wall or another "dropped"/fallen shuriken
- Shurikens spin when thrown
but we are seeing some bugs that we can't get rid of:
The first throw in each direction doesn't function (just spins in place)(thx Dr Lancer-X)- Could only get shuriken counter decreasing to work when they hit (not when thrown)
- Shurikens stopping when hitting a "dropped" shuriken acts buggy (sometimes they keep spinning)
- Due to where my "dec shurikens 1" line is placed the counter sometimes "wraps" around instead of stopping at 0
- When standing near a robot at any side you can not fire due to checking for nearby robots
- When firing robots on other sides are also damaged
- Probably many other bugs and coding mistakes I'm not yet aware of!
I can hear certain forum users who I feel like I've gotten to know a bit just by reading their posts (Dr Lancer-X) telling me that I'm over-complicating things ...
I know that I could probably make this work with 1 or 2 robots but I have not been able to get it working.
I also know that I should probably be using overlay but I had a lot of problems getting that to work too.
My plan is to start over from scratch and take what I have learned and attempt to make this better but I thought I would ask some of you pros for advice first.
Feel free to be brutal, we're still learning and honestly my 7 year old has a much better understanding of this than I do - I've tried and failed to learn to code for many years!
I've attached my sample board - if anyone wants to take a peek and give advice/fix this/laugh at us - feel free!
Thanks.
Attached File(s)
-
SHUR.zip (23.31K)
Number of downloads: 1
This post has been edited by OhGoodShepherd: 26 March 2016 - 06:48 AM

Help






