Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11420


Ignore:
Timestamp:
May 18, 2017, 2:16:01 PM (8 years ago)
Author:
jkindle
Message:

Added rotation of coins

Location:
code/branches/SuperOrxoBros_FS17
Files:
3 edited

Legend:

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

    r11419 r11420  
    11<LevelInfo
    2         name = "SOOOOOOOOOOOB"
    3         description = "Jump as high as you can. Use the mouse to guide the jumper."
     2        name = "Super Orxo Bros."
     3        description = "The retro-game Super Mario Bros. in Orxonox."
    44        tags = "minigame"
    55        screenshot = "jump.png"
     
    130130                                        <!--Gumba-->
    131131
    132                                         <SOBGumba collisionType="dynamic" speed=400 position = "240,0,0">
     132                                        <SOBGumba collisionType="dynamic" speed=40 position = "240,0,0">
    133133                                                <attached>
    134134                                                        <Model mesh="Goomba.mesh" position="0,0,1" scale=3 pitch=90/>
  • code/branches/SuperOrxoBros_FS17/src/modules/superorxobros/SOBCoin.cc

    r11416 r11420  
    7373        Vector3 velocity = getVelocity();
    7474        velocity.z = speed_;
    75 
     75        setOrientation(Vector3::UNIT_Z, getOrientation().getRoll() + 2*dt*Radian(6));
    7676        setVelocity(velocity);
    7777
  • code/branches/SuperOrxoBros_FS17/src/modules/superorxobros/SOBFigure.cc

    r11418 r11420  
    251251
    252252
    253         //Left-right movement with acceleration
     253        //Left-right movement with acceleration and rotation
    254254        float rot = getOrientation().getRoll().valueDegrees();
    255255        if (moveRightPressed_) {
Note: See TracChangeset for help on using the changeset viewer.