Version 18 was the the one I was having trouble with, so i figured I'd give up on it. This was a few weeks ago. But then, a few weeks later (today), I was determined to get to the root of the problem I was having. What I wanted was to get the ball close to the tree without thinking it was water when it was done moving. I found the problem.
lisu 6 lisl 6 lr A, S ci 2 bz four_seven_1
This little bit of code checks the type of obstacle (tree or water) and then if it's 2 (tree), go ahead and go to the code that sets lisu 4 lisl 7 to 1 (which obstacle did it hit?) So in a bit of frustration, I got rid of it to see what would happen. I deleted it twice (one for each obstacle.) Turns out it wasn't needed and the game works the way I wanted it to. (end of version 19)
But as I was testing this, hole #3's upper lake wasn't where it was supposed to be. It was one pixel off. So I fixed that. Now it's at version 20, and now I can continue working on the game. Tomorrow, though, since this was a pita. (Not the sandwich, the pain type.)
As you may have noticed, I changed the trees. But I looked through a Channel F catalog and noticed that there could be a light green background with dark green sprites on it ("Baseball"). But I don't think I can do that since I have been using the green color to erase the guy while the ball is moving. So anyway, I'll have to leave the color scheme as is.
- 2
0 Comments
Recommended Comments
There are no comments to display.