sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Textures, games and camera rigs

    Scheduled Pinned Locked Moved SketchyPhysics
    10 Posts 3 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      Wacov
      last edited by

      Latest version of MotorSketch uses textures and grass sprites. Result is a good looking but still playable game; and thanks to the no collision state I've been able to keep the boost flame effect. I'm very happy with the camera rig, which can be rotated around the car and is springy, absorbing impacts and playing much more like a conventional game. Still alot of work to be done, especially on optimizing the file size... this is maybe half way through, but it's already topping off 9MB (This is reduced from an insane 15MB!). Textures need to be tiled properly and compressed, then used at a smaller scale on surfaces, but here is how it looks so far:

      Top down view

      Starting Mesa

      Grass and barrels

      http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

      1 Reply Last reply Reply Quote 0
      • H Offline
        hobbnob
        last edited by

        what's motorsketch? is it a plugin for sketchup?

        My WIP Thread:Here

        1 Reply Last reply Reply Quote 0
        • P Offline
          Physicsguy1
          last edited by

          I think it is his new game.

          1 Reply Last reply Reply Quote 0
          • W Offline
            Wacov
            last edited by

            You should know Hobbnob, you're the only person that's rated the first version πŸ˜„

            http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

            1 Reply Last reply Reply Quote 0
            • H Offline
              hobbnob
              last edited by

              oh that, that waas good fun, i still don't know how you got the boost to work, it only went when you pressed the accelerator and the boost, which i think can only be done with an if function, buti have no idea how it works...

              My WIP Thread:Here

              1 Reply Last reply Reply Quote 0
              • W Offline
                Wacov
                last edited by

                It's an if function, so if the accelerator is pressed a certain amount, then the force is a*2000, otherwise just 0.

                http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Physicsguy1
                  last edited by

                  Can you post an example of the code?

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    Wacov
                    last edited by

                    Sure...

                    Thruster:

                    if(joyRY<0.3);a*2000;else;0;end
                    

                    Emitter (flame effect):

                    if(joyRY<0.3);a*1;else;0;end
                    

                    Rate and lifetime are both set to 1.

                    Motors:

                    if(joyRY>0.5);-0.2;elsif(joyRY<0.3);0.5-joyRY+a;else;0.5-joyRY;end
                    

                    This is for slow reverse. The boost here is really just a relic from an old test.

                    http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Physicsguy1
                      last edited by

                      this won't work. can't get a forward boost.


                      flying cannon.skp

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        Wacov
                        last edited by

                        I'm not totally sure what you're trying to achieve there; the code is pretty specific to my particular vehicle. Also note that I had to take into account that joyRY is the wrong way round for driving use; the left trigger increases the value, while the right trigger decreases it.

                        http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement