Tony Hawk Project 8
This is a totally random question but its aimed at game programming.
Do you know how neversoft did this event game? All I am wondering is say you are in "Suburbia" and you choose a goal to do, would it look somthing like:
I could be wrong but its somthing I have always wondered how they coded it. I know it is all event programming etc. Im wondering maybe if each "goal" for that particualr area could be a single function call.
while ( we are in suburbia )
// player goes to goal
goal3(); // etc
Any insight or ideas are appriciated!
Can you describe the mechanics of what you're talking about?
Basically, each level is set up with goals and tasks to acheive before you can move on. Each goal begins when you speak to a person in the game then you have to complete their goal and you are graded on your ability to complete the goal.
I was wondering how each goal and task is called in the program. Im guessing its somthing more complex then a simple function call.
Most certainly. Once entering play, the game will loop a Play function which will process user input and handle displaying graphics, processing physics, and other game dynamics. This loop will always be the same for every area and level you play in. What will change are the variables controlling the game state.
Originally Posted by swgh
I'm sure it is scripted and the game is just running the script.