4.2.3 シンプル チュートリアル 3: マップのロード、コリジョン探知


4.2.3 シンプル チュートリアル 3: マップのロード、コリジョン探知

This tutorial continues on tutorial one. Here we will learn how to load a map from a file instead of creating the geometry programmatically. You can find a fully-commented version of this tutorial's source code in the Crystal Space source directory at `CS/apps/tutorial/simpmap'.

このチュートリアルは、チュートリアル1の続きです。ここでは、プログラムで形状を作成する代わりに、ファイルからマップを読み込む方法を学びます。Crystal Spaceのソースの中の`CS/apps/tutorial/simpmap`ディレクトリに、すべてのコメントが記入されたこのチュートリアルのソースがあります。

This tutorial features (in addition to what is explained in simple1 tutorial):

このチュートリアルの項目です。(シンプル1チュートリアルに追加して)

  • Creating geometry by loading a map file using iLoader::LoadMap?().
  • Setting up collision detection for the loaded map using csColliderHelper?::InitializeCollisionWrappers?().
  • Doing movement and collision detection using the csColliderActor? class.
  • Finding a starting position in the map file using iEngine::GetCameraPositions?().
  • iLoader::LoadMap?()を使用して、マップファイルを読み込むことでの形状を作成すること。
  • csColliderHelper?::InitializeCollisionWrappers?()を使用して、読み込んだマップのための衝突探知のセットアップをすること。
  • Doing movement and collision detection using the csColliderActor? class.
  • csColliderActor?クラスを使用して、移動と衝突判定をすること。
  • Finding a starting position in the map file using iEngine::GetCameraPositions?().
  • iEngine::GetCameraPositions?()を使用して、マップファイル内の開始位置を探すこと。

4.2.3.1 Minimal Base Code
4.2.3.2 Loading The Map
4.2.3.3 Locating the Camera

4.2.3.1 最小の基礎コード
4.2.3.2 マップのロード
4.2.3.3 カメラの配置

最新の20件

2007-02-18 2007-02-12 2007-01-31 2007-02-12 2007-01-14 2007-01-21 2007-02-12
  • 4.2.3 シンプル チュートリアル 3: マップのロード、コリジョン探知
2007-02-11 2007-01-15 2007-01-14 2007-02-12 2007-02-11 2007-02-01 2007-01-21 2007-01-19 2007-02-12 2007-01-19 2009-08-27 2007-01-10

今日の16件

  • counter: 113
  • today: 1
  • yesterday: 0
  • online: 2