• 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 10 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.
  • 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
                        • C Offline
                          CPhillips
                          last edited by 5 Apr 2009, 20:29

                          I updated the first post with a link to the Mac version:
                          http://sketchyphysics2.googlecode.com/files/SP3x-Apr5-MacAndWin.zip

                          There are no real changes between this and the last version.

                          Looks like the first thing I am going to focus on is fixing the playsound problems. I have the code that will embed and extract wav files from the model. But I need to do a little UI work. I need embed sound/clear sounds menus.

                          As soon as I got the playsound command working I was disappointed by it. At least on windows it is very very limited. You can only play one sound at a time and not very fast.

                          Can someone with both Mac and Windows tell me if it behaves the same on both?

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

                            On mac, I can play as many sounds as I want simultaneously, and can have sounds start for every frame. Don't know about windows though. Once I tried making a motor with sound, and even less than every frame it would start another loop.

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

                              AHH HHA!. ๐Ÿคฃ ๐Ÿ˜ ๐ŸŽ‰ I achieved something today that I have been trying since SP1. Joints that work without using the JCT. Its something I had working in SPIV but I could never figure out how to do in SP3.

                              [flash=600,400:3fr1gscy]http://www.youtube.com/v/tS56PNcbH9I[/flash:3fr1gscy]

                              Despite the version number in the video it doesnt work with RC1.
                              Next version of SP3x should have it.

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Physicsguy1
                                last edited by 6 Apr 2009, 03:14

                                Ooooooooooohhhhhhhh that looks great. Will they be able to be emitted? And Can anything that collides with a "joint" connect to it?

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  BTM
                                  last edited by 6 Apr 2009, 03:40

                                  !

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

                                    THANK YOU SO MUCH FOR A ZIP VERSION!!!! ๐Ÿ‘ โ˜€ ๐Ÿ˜

                                    I reject your reality and substitute my own.

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      Sgt.A.Johnson
                                      last edited by 6 Apr 2009, 19:54

                                      Man thats cool. I want a go but ill never remember code to do it

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        BTM
                                        last edited by 6 Apr 2009, 22:28

                                        2 things: one, Is that when you go back to edit scripts sometimes the spaces will be double, and if that happens to one script several times,it can make it harder to read. Can that be fixed?

                                        also, is there a way to have a OnTouch function work with specific objects?

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

                                          @unknownuser said:

                                          Ooooooooooohhhhhhhh that looks great. Will they be able to be emitted? And Can anything that collides with a "joint" connect to it?

                                          Not at this time. And yes.

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

                                          Advertisement