Tutorial sharing room

Post your tutorials here.

Tutorial sharing room

Postby Macamac » Tue Apr 10, 2012 2:37 am

If you want to share scripting tutorials or need to ask for certain scripts.This is the place!
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm

Re: Tutorial sharing room

Postby Macamac » Sun Apr 15, 2012 9:18 pm

If any of you are beginners and are looking for the script to spawn water here is the code

this is onCollide or onHitByLaser
Code: Select all
scene.addwater({vecs = [e.pos]})


you MUST have advanced mode on to turn on advanced go in the settings and click advanced

you could come up with several ideas with this :idea:
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm

Re: Tutorial sharing room

Postby monstertje3 » Mon Apr 16, 2012 7:18 am

i think you are using phun (algodoo has no advanced mode anymore)
but if you are using algodoo it is best to add a version variable of the water in the script:
Code: Select all
scene.addwater({vecs = [e.pos];version:=2})

This prevents the code screwing up your sph settings
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: Tutorial sharing room

Postby Macamac » Sun Apr 22, 2012 7:33 am

Actually I use algodoo
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm

Re: Tutorial sharing room

Postby Macamac » Sun Apr 22, 2012 7:37 am

P.S. Thanks for that if you hadn't given me that code I would have had to make the geometry that spawns the water not collide with water otherwise it would go crazy
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm

Re: Tutorial sharing room

Postby Macamac » Sun Apr 22, 2012 7:41 am

LOOK AT ME!
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm

Re: Tutorial sharing room

Postby Nxdt » Sun Apr 22, 2012 6:18 pm

Macamac wrote:LOOK AT ME!


no
User avatar
Nxdt
 
Posts: 1019
Joined: Mon Aug 31, 2009 6:32 pm
Location: Scotland!

Re: Tutorial sharing room

Postby Macamac » Sun Apr 22, 2012 11:51 pm

LOOK AT ME NOW NXTD :evil:
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm

Re: Tutorial sharing room

Postby Nxdt » Sun Apr 22, 2012 11:58 pm

no... lrn2spell. Where is that ban hammer?
User avatar
Nxdt
 
Posts: 1019
Joined: Mon Aug 31, 2009 6:32 pm
Location: Scotland!

Re: Tutorial sharing room

Postby monstertje3 » Mon Apr 23, 2012 2:40 pm

Nxdt wrote:no... lrn2spell. Where is that ban hammer?

Code: Select all
Scene.addBox {
    collideWater := true;
    color := [0.20000000, 0.20000000, 0.20000000, 1.0000000];
    onCollide := (e)=>{ban(e.other)};
    attraction := 0.00000000;
    controllerAcc := 11.000000;
    onHitByLaser := (e)=>{};
    heteroCollide := false;
    immortal := false;
    opaqueBorders := true;
    refractiveIndex := 1.5000000;
    killer := false;
    text := "BAN!!";
    friction := 0.50000000;
    materialName := "";
    restitution := 0.50000000;
    drawBorder := true;
    controllerInvertX := false;
    controllerInvertY := false;
    textFont := "Verdana";
    edgeBlur := 0.00000000;
    textFontSize := 105.00000;
    controllerReverseXY := false;
    ruler := false;
    airFrictionMult := 1.0000000;
    showVelocity := false;
    density := 2.0000000;
    textConstrained := true;
    textureClamped := [false, false];
    reflectiveness := 1.0000000;
    textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
    showMomentum := false;
    textureMatrix := [1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000];
    texture := "";
    inertiaMultiplier := 1.0000000;
    showForceArrows := false;
    collideSet := 1;
    colorHSVA := [0.00000000, 0.00000000, 0.20000000, 1.0000000];
    materialVelocity := 0.00000000;
    attractionType := 2;
    textScale := 1.0604745;
    entityID := 777;
    zDepth := 7.0000000;
    layer := 0;
    geomID := 291;
    pos := [1.5000000, 5.2500000];
    angle := 0.00000000;
    body := 523;
    vel := [0.00000000, 0.00000000];
    angvel := 0.00000000;
    size := [3.0000000, 1.5000000]
};
Scene.addBox {
    collideWater := true;
    color := [0.33333334, 0.16666667, 0.00000000, 1.0000000];
    onCollide := (e)=>{};
    attraction := 0.00000000;
    controllerAcc := 11.000000;
    onHitByLaser := (e)=>{};
    heteroCollide := false;
    immortal := false;
    opaqueBorders := true;
    refractiveIndex := 1.5000000;
    killer := false;
    text := "";
    friction := 0.50000000;
    materialName := "";
    restitution := 0.50000000;
    drawBorder := true;
    controllerInvertX := false;
    controllerInvertY := false;
    textFont := "Verdana";
    edgeBlur := 0.00000000;
    textFontSize := 32.000000;
    controllerReverseXY := false;
    ruler := false;
    airFrictionMult := 1.0000000;
    showVelocity := false;
    density := 2.0000000;
    textConstrained := true;
    textureClamped := [false, false];
    reflectiveness := 1.0000000;
    textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
    showMomentum := false;
    textureMatrix := [1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000];
    texture := "";
    inertiaMultiplier := 1.0000000;
    showForceArrows := false;
    collideSet := 1;
    colorHSVA := [30.000000, 1.0000000, 0.33333334, 1.0000000];
    materialVelocity := 0.00000000;
    attractionType := 2;
    textScale := 0.50000000;
    entityID := 774;
    zDepth := 5.0000000;
    layer := 0;
    geomID := 288;
    pos := [1.5000000, 3.0000000];
    angle := 0.00000000;
    body := 523;
    vel := [0.00000000, 0.00000000];
    angvel := 0.00000000;
    size := [0.50000000, 4.0000000]
};
Scene.addFixjoint {
    geom0 := 291;
    geom0pos := [0.00000000, -0.50000000];
    geom1 := 288;
    geom1pos := [0.00000000, 1.7500000];
    colorHSVA := [174.19418, 0.99624097, 0.94670844, 1.0000000];
    color := [0.0035587021, 0.94670844, 0.85544586, 1.0000000];
    opaqueBorders := true;
    entityID := 776;
    zDepth := 6.0000000;
    layer := 0;
    size := 0.24020454
}


Banhammer above (paste in console)
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: Tutorial sharing room

Postby Macamac » Sun Apr 29, 2012 8:29 am

What's this some geeky little hammer what are you going to do with it BONK me on the head until it looks like this :crazy: look that is some funny joke :lol: :lol:
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm

Re: Tutorial sharing room

Postby Under Ground » Wed May 02, 2012 10:55 pm

Haha?
Image
User avatar
Under Ground
 
Posts: 819
Joined: Mon Aug 31, 2009 6:52 pm
Location: In A Cave, Somewhere On Mars.

Re: Tutorial sharing room

Postby Nxdt » Wed May 02, 2012 11:54 pm

lulwut? Another 8 year old with an attention disorder?

I like it how he makes the important words big and red.
User avatar
Nxdt
 
Posts: 1019
Joined: Mon Aug 31, 2009 6:32 pm
Location: Scotland!

Re: Tutorial sharing room

Postby TC42 » Thu May 03, 2012 12:18 am

Hmmm, maybe I should try that too...

ATTENTION EVERYONE, YOU ALL JUST LOST THE GAME. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW.


No innuendos intended.
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: Tutorial sharing room

Postby Macamac » Thu May 03, 2012 3:26 am

I'll just calmly say that I'm no 8 year - old and ----- yes I'll stop using big red bold underlined letters, anyways I was only testing something and trying to be phunny you'll be fine if it's in my signature right

P.S. I don't have attention disorder
LOOK AT ME>> :wtf:
Macamac
 
Posts: 15
Joined: Mon Apr 09, 2012 10:34 pm


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 17 guests