Quote:
Originally Posted by Watsamax1
|
Congrats, and by the way this whole thread is basically about the health system, so you can just look at previous posts to see what I told the other guy to do.
Also, for cutscenes you will have to create boolean variables like "canPlay", and you have to put EVERY method that you can do while playing the game in an "if(canPlay)" if statement before running each method, and drag the code for the method inside the if else statement (remember, EVERY method that allows the player to do something in the game, this includes moving, reloading, shooting methods, etc). You will have to create one of these if/elses for every method that is active while the game is played, but not the cutscenes. Have a the world variable "canPlay" set to true as the initial value (unless you want a cutscene in the beginning, then set it to false and put the code "canPlay = true" at the end of the cutscene). Then at every cutscene method (you will have to create a method for each cutscene and put the animation within that method), you will have to set "canPlay" to false as the first line of code (this will prevent the character from being able to move, shoot, reload, etc) and set "canPlay" to true at the end of the cutscene. Once you do this you should be able to control the cutscene without any interruptions from the player until the cutscene is over.
Tell me if this helped or just made you really confused. If you need help on the cutscenes themselves, that will be harder because that involves creativity, and you have to do that yourself (unless of course you want someone to help you create the actual cutscene to make it more realistic, but then it will not be created by you).
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