Posted By: Sjlver
What is the gamestudio Workflow? - 02/20/08 15:14
Hello
I'm looking for documentation of the gamestudio workflow. I tried to read tutorials, but they all seem to start with some level / project files already available, and I'm a bit lost trying to create a new project myself. Is there any documentation describing how to create a simple project from scratch?
For the beginning, that's what I'd like to do:
- Create two objects, a sun and a planet.
- Have the planet orbit about the sun on an elliptical curve, something like
xPlanet = a * cos(omega * t);
yPlanet = b * sin(omega * t);
where omega is the speed and a, b, the two half-axes lengths of the ellipse. t represents the time, preferably in some uniform unit (not necessarily frames cause the framerate might not be constant).
That's all already, I'd be happy if I get this simple setup working.
The various questions that pop up
- What are the sun and the planet? Objects in the OO-sense? Models or Map Entities? Something else?
- Do I have to program a gameloop somewhere to call a function which updates the position of my planet? Or is this done by Gamestudio?
- Where goes the code for my planet? How do I link it to the planet and who calls it/when does it get called?
- Is it possible to create class hierarchies? Does this make sense for 3DGS? I imagine something like having a general SpaceObject with position, velocity, acceleration etc. Planet (and later SpaceShip, Asteroid, ...) would herit from that class.
As you can see, I come from a more traditional programming background and have no idea about the "point-and-click" way of game creation with 3DGS. I'm happy for any pointers!
Thanks and cheers
Jonas
I'm looking for documentation of the gamestudio workflow. I tried to read tutorials, but they all seem to start with some level / project files already available, and I'm a bit lost trying to create a new project myself. Is there any documentation describing how to create a simple project from scratch?
For the beginning, that's what I'd like to do:
- Create two objects, a sun and a planet.
- Have the planet orbit about the sun on an elliptical curve, something like
xPlanet = a * cos(omega * t);
yPlanet = b * sin(omega * t);
where omega is the speed and a, b, the two half-axes lengths of the ellipse. t represents the time, preferably in some uniform unit (not necessarily frames cause the framerate might not be constant).
That's all already, I'd be happy if I get this simple setup working.
The various questions that pop up
- What are the sun and the planet? Objects in the OO-sense? Models or Map Entities? Something else?
- Do I have to program a gameloop somewhere to call a function which updates the position of my planet? Or is this done by Gamestudio?
- Where goes the code for my planet? How do I link it to the planet and who calls it/when does it get called?
- Is it possible to create class hierarchies? Does this make sense for 3DGS? I imagine something like having a general SpaceObject with position, velocity, acceleration etc. Planet (and later SpaceShip, Asteroid, ...) would herit from that class.
As you can see, I come from a more traditional programming background and have no idea about the "point-and-click" way of game creation with 3DGS. I'm happy for any pointers!
Thanks and cheers
Jonas