Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11556


Ignore:
Timestamp:
Nov 13, 2017, 4:07:13 PM (6 years ago)
Author:
zarron
Message:

Fireball implemented, Physics are crazy at the moment

Location:
code/branches/SOBv2_HS17
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SOBv2_HS17/data/levels/SOB.oxw

    r11535 r11556  
    1414        ?>
    1515
    16                                         <!--THEO-->
    1716
    1817
     
    10099                        </MovableEntity>
    101100
    102 
    103                                         <!--Gumba-->
     101                                        <!--Test Fireball-->
     102
     103
     104
     105                                        <SOBFireball collisionType="dynamic" speed=40 position = "20,0,100">
     106                                                <attached>
     107                                                        <Model mesh="planets/sol.mesh" position="0,0,1" scale=3 pitch=90/>
     108                                                       
     109                                                </attached>
     110                                                <collisionShapes>
     111                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />                     
     112                                                </collisionShapes>
     113                                        </SOBFireball>
     114
     115
     116
     117
     118                                        <!--Gumba
    104119
    105120                                        <SOBGumba collisionType="dynamic" speed=40 position = "240,0,0">
     
    112127                                                </collisionShapes>
    113128                                        </SOBGumba>
     129                                Gumba-->
    114130                                        <SOBGumba collisionType="dynamic" speed=30 position = "420,0,0">
    115131                                                <attached>
     
    231247                                                </collisionShapes>
    232248                                        </StaticEntity>
    233 
    234 
    235 
    236                                        
    237 
    238249
    239250
  • code/branches/SOBv2_HS17/src/modules/superorxobros/CMakeLists.txt

    r11416 r11556  
    99  SOBHUDInfo.cc
    1010  SOBGumba.cc
     11  SOBFireball.cc
    1112  SOBFlagstone.cc
    1213  SOBCastlestone.cc
  • code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFigure.cc

    r11538 r11556  
    122122         else if (gumba != nullptr && !(gumba->hasCollided_)) {
    123123
    124             //If player doesn't jump on its head, kill it, else, kill the player
     124            //If player jumps on its head, kill the Gumba, else, kill the player
    125125            if (getVelocity().z >= -20) {
    126126                // If player hasn't a power up, he dies. Else he shrinks and the gumba dies.
Note: See TracChangeset for help on using the changeset viewer.