• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

SP3x Apr3 version.

Scheduled Pinned Locked Moved SketchyPhysics
36 Posts 10 Posters 4.6k Views
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.
  • C Offline
    CPhillips
    last edited by CPhillips 4 Apr 2009, 03:26

    SP3x is an experimental version of SketchyPhysics. At this point is is very much the same as the main version and all models made with SP3x should work fine in RC1 (and 3.0). But it exposes a few features for the hard core model creator. Specifically in the scripting area.

    There will be a Win SP3.0 release soon. Mac may take a big longer because we are still having WebDialog problems. Safari blows btw.

    The change from this version from the RC1 are:

    Exposed onTick and onTouch fields for bodies.
    Fixed camera FOV not being saved. This change will also be in 3.0.

    Win installer.
    http://sketchyphysics2.googlecode.com/files/SetupSketchyPhysics3x-Apr2.exe

    Mac and Win in a zip.
    http://sketchyphysics2.googlecode.com/files/SP3x-Apr5-MacAndWin.zip

    Details on the events and script commands in next post.

    1 Reply Last reply Reply Quote 0
    • N Offline
      nosam55
      last edited by 4 Apr 2009, 03:57

      i downloaded it and when i open SU a box pops up with "Error Loading File sketchyphysics.rb
      unknown error"

      1 Reply Last reply Reply Quote 0
      • C Offline
        CPhillips
        last edited by 4 Apr 2009, 04:02

        Hmm. Wonder what I broke. Can you do this. Load sketchup. Skip the error. Open the Ruby console under the windows menu. And then type this into the bottom part.

        load 'sketchyphysics.rb'
        

        and post the error it prints.

        Thanks
        Chris

        1 Reply Last reply Reply Quote 0
        • C Offline
          CPhillips
          last edited by 4 Apr 2009, 04:13

          Ah, I think I found the problem. I updated it. Let me know if it still errors.

          1 Reply Last reply Reply Quote 0
          • C Offline
            CPhillips
            last edited by 4 Apr 2009, 04:22

            sorry, I am out of time to write up the script commands tonight. But here is a sample that demos a few of them.


            AutoAimingGun5-Goal-Sunspawn.skp

            1 Reply Last reply Reply Quote 0
            • B Offline
              BTM
              last edited by 4 Apr 2009, 11:15

              ...So, once again, no mac yet?

              1 Reply Last reply Reply Quote 0
              • F Offline
                FredIIVX
                last edited by 4 Apr 2009, 11:49

                Im not 2 great at scripting, so could you tell me how 2 control the sound, e.g. play a gunshot.wav when joybutton('RB') is pressed? I tried different variations of things like this joybutton('rb'); playsound('gunshot.wav') but can't get it 2 work -- Edit --
                DW i resloved it in the end

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Sgt.A.Johnson
                  last edited by 4 Apr 2009, 12:56

                  @unknownuser said:

                  ...So, once again, no mac yet?
                  You always have to wait for everything on mac. My dad has one and it really annoyed me cos my pc at home wouldn't run sketchy physics and there was no sketchy physics on mac. At least i have my laptop now. not the best processor but more than enough RAM to make up for it.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MrPlanet
                    last edited by 4 Apr 2009, 15:57

                    Are we allowed to post this version?

                    I reject your reality and substitute my own.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MrPlanet
                      last edited by 4 Apr 2009, 16:14

                      Oh, yes and please could you post a zip file of this? Thanks.

                      I reject your reality and substitute my own.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        CPhillips
                        last edited by 4 Apr 2009, 18:52

                        @unknownuser said:

                        ...So, once again, no mac yet?

                        Sorry, I had trouble with the PC version and ran out of time. I will post it tonight.

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          CPhillips
                          last edited by 4 Apr 2009, 18:53

                          @unknownuser said:

                          Are we allowed to post this version?

                          It should be ok. Just be aware some things could change.

                          I will outline some of the hazards in my script post. I will finish that tonight. Its too nice a day here to spend indoors.

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            Physicsguy1
                            last edited by 4 Apr 2009, 19:11

                            Can you use your own sound files?

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              CPhillips
                              last edited by 4 Apr 2009, 19:20

                              @unknownuser said:

                              Can you use your own sound files?

                              Nope! 😄 That was the problem I discovered soon after I got sound working. I cant possibly include a decent library of sounds, for one thing they are just too big.

                              What I am going to do instead is make it possible to embed .WAV files into the Sketchup model. That way you can put whatever sounds (or music) you want in. AND the copyright issue isn't my problem anymore.

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Physicsguy1
                                last edited by 4 Apr 2009, 19:25

                                How should i achieve this?

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  BTM
                                  last edited by 4 Apr 2009, 19:26

                                  You can't right now. If you want someone else to get the sound file, post it on the forum or somewheres else, and tell them to go get it 😆

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    CPhillips
                                    last edited by 4 Apr 2009, 19:37

                                    @unknownuser said:

                                    You can't right now. If you want someone else to get the sound file, post it on the forum or somewheres else, and tell them to go get it 😆

                                    Thats right. But I'll get the embedded sound working asap.

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      phy
                                      last edited by 5 Apr 2009, 02:12

                                      @frediivx said:

                                      Im not 2 great at scripting, so could you tell me how 2 control the sound, e.g. play a gunshot.wav when joybutton('RB') is pressed? I tried different variations of things like this joybutton('rb'); playsound('gunshot.wav') but can't get it 2 work -- Edit --
                                      DW i resloved it in the end

                                      how, i can't get it to work

                                      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        BTM
                                        last edited by 5 Apr 2009, 02:41

                                        its: playsound("gunshot.wav");100
                                        the;100 represents the value of the emitter's strength.

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          Physicsguy1
                                          last edited by 5 Apr 2009, 20:21

                                          would playsound('gunshot.wav');-(a)*500 work?

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

                                          Advertisement