Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9116


Ignore:
Timestamp:
Apr 27, 2012, 2:09:48 PM (13 years ago)
Author:
mentzerf
Message:

adjusted position of the plazfield

Location:
code/branches/newlevel2012
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/data/levels/towerDefense.oxw

    r9112 r9116  
    3030  <Pawn>
    3131    <camerapositions>
    32       <CameraPosition position="-200,0,600" absolute=true />
     32      <CameraPosition position="-200,0,250" absolute=true />
    3333    </camerapositions>
    3434  </Pawn>
     
    4141  <Pawn camerapositiontemplate=playfieldcameras>
    4242    <attached>
    43       <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> <!-- crate.mesh -->
     43      <Model position="0,0,0" orientation="1,1,1,1" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> <!-- crate.mesh -->
    4444    </attached>
    4545  </Pawn>
  • code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc

    r9112 r9116  
    8282        ChatManager::message(message);
    8383    }
     84    */
    8485
     86
     87    void TowerDefense::tick(float dt)
     88        {
     89            SUPER(TowerDefense, tick, dt);
     90
     91            static bool test = false;
     92            if (!test)
     93            {
     94                orxout()<< "First tick." <<endl;
     95            }
     96            test = true;
     97        }
     98
     99
     100
     101/*
    85102    void TowerDefense::playerEntered(PlayerInfo* player)
    86103    {
  • code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.h

    r9112 r9116  
    4242
    4343            virtual void start(); //<! The function is called when the gametype starts
    44             /*virtual void end();
    45             virtual void playerEntered(PlayerInfo* player);
    46             virtual bool playerLeft(PlayerInfo* player);
     44            //virtual void end();
     45            virtual void tick(float dt);
     46         //   virtual void playerEntered(PlayerInfo* player);
     47            //virtual bool playerLeft(PlayerInfo* player);
    4748
    48             virtual void pawnKilled(Pawn* victim, Pawn* killer = 0);
    49             virtual void playerScored(PlayerInfo* player);*/
     49            //virtual void pawnKilled(Pawn* victim, Pawn* killer = 0);
     50            //virtual void playerScored(PlayerInfo* player);
    5051    };
    5152}
Note: See TracChangeset for help on using the changeset viewer.