Quote:
Originally Posted by nickster654
hey i tyed to duplicate your aim method and it didnt work at all, why not?
|
O.O that was weird.
I tried to fix the program, and Alice like bugged out on me and made no sense. I replicated the method exactly as it was in my program and played it, but it didn't work, so then I played around with a few things and it just started getting weirder and weirder. There must be something wrong with your program, maybe even your version of Alice, the way it writes code based on you dropping the text. Maybe you should delete your Alice and re-download it, because you might run into the problem while coding again if it is the case.
Also, in my method of mouse-camera movement, you need to have a "body" (i use a square), and set it point of view to the camera, and then make the camera vehicle to the body. This way the body will turn side to side while the camera can look up and down. If you have the camera doing everything, I've found that you can look up, and then turning to the side will make you look sideways and the camera angle will be screwed up. This is the best way that I've found to fix this problem, and you did not put that in (because I didn't tell you about it, I'm sorry). Thats why my code has "(body) turn right" and stuff like that. All horizontal movements are done with the body and all vertical movements with the camera.
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301