Space Fleet

Work together on Algodoo projects here.

Space Fleet

Postby mold999 » Sat Jan 08, 2011 3:04 am

phun/algodoo should have a fleet of armed spaceships to protect against invaders.

if you have any ideas or ships for this, post it here and ill compile them into one scene

PLEASE download the latest scene from this thread, and import your ship onto that scene. then re-post the new scene here.

it will be in a 0-g and no airfriction environment.


Rating: rated 5
Filesize: 25.5 kB
Comments: 0
Ratings: 1
download
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Space Fleet

Postby CasperFalandysz » Sat Jan 08, 2011 1:41 pm

i have some spaceship skins you can get but they am viewed from bird angle :mrgreen: do you want them? they am pretty cool 8-)
CasperFalandysz
 
Posts: 29
Joined: Wed Jan 05, 2011 4:47 pm

Re: Space Fleet

Postby Mystery » Sat Jan 08, 2011 1:51 pm

Birds eye view for your typical spaceship wouldn't turn out quite like your would hope.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Space Fleet

Postby CasperFalandysz » Sat Jan 08, 2011 7:53 pm

they am viewed from top how should that make them worse? :crazy:
CasperFalandysz
 
Posts: 29
Joined: Wed Jan 05, 2011 4:47 pm

Re: Space Fleet

Postby mold999 » Sat Jan 08, 2011 10:48 pm

casperfalandysz, i think thats a nice idea. what are the skins?
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Space Fleet

Postby frogman786 » Sat Jan 29, 2011 4:47 am

Rating: rated 5
Filesize: 11.05 kB
Comments: 0
Ratings: 1
download

i forgot to put controls in the scene sorry
Z and X for the thrusters
A and S to open and close the the cockpit
DFTBA nerdfighters

TheWonkits wrote:As immature as some of the people on this forum can be, most of you are pretty cool.

TC42 wrote:Better than spell-check... ...TC42's instant grammar-correction posts! :lol:
User avatar
frogman786
 
Posts: 71
Joined: Fri Jan 07, 2011 8:32 am
Location: Christchurch, New Zealand

Re: Space Fleet

Postby mold999 » Sun Jan 30, 2011 10:43 pm

i have improved the ship from my original post. it now has a gun, and i am working on more features.


Rating: rated 5
Filesize: 17.66 kB
Comments: 0
Ratings: 1
download



here is the current fleet:


THIS HAS BEEN EDITED!



Rating: rated 5.4
Filesize: 32.62 kB
Comments: 0
Ratings: 2
download
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Space Fleet

Postby frogman786 » Fri Feb 04, 2011 1:50 pm

Something needs to happen to the bullets from your gun so they dont just float around
DFTBA nerdfighters

TheWonkits wrote:As immature as some of the people on this forum can be, most of you are pretty cool.

TC42 wrote:Better than spell-check... ...TC42's instant grammar-correction posts! :lol:
User avatar
frogman786
 
Posts: 71
Joined: Fri Jan 07, 2011 8:32 am
Location: Christchurch, New Zealand

Re: Space Fleet

Postby HavingPhun » Fri Feb 25, 2011 3:01 am

*Bump* :clap:

Use a script to make them dissappear after impact or certain distance
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Space Fleet

Postby mold999 » Fri Feb 25, 2011 4:34 am

i dont know how to do that
:?
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Space Fleet

Postby TC42 » Fri Feb 25, 2011 4:37 am

If you bump something, at least have a script on hand :D
Code: Select all
*/bullet deletion script-put it in the bullet spawning script or oncollide of the bullets/* Oncollide:=(e)=>{e.this.collideset:=0; e.this.airfrictionmult=-inf}


/BUMP
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: Space Fleet

Postby frogman786 » Fri Feb 25, 2011 5:12 am

thanks TC42
DFTBA nerdfighters

TheWonkits wrote:As immature as some of the people on this forum can be, most of you are pretty cool.

TC42 wrote:Better than spell-check... ...TC42's instant grammar-correction posts! :lol:
User avatar
frogman786
 
Posts: 71
Joined: Fri Jan 07, 2011 8:32 am
Location: Christchurch, New Zealand

Re: Space Fleet

Postby HavingPhun » Fri Feb 25, 2011 5:50 pm

TC42 wrote:If you bump something, at least have a script on hand :D
Code: Select all
*/bullet deletion script-put it in the bullet spawning script or oncollide of the bullets/* Oncollide:=(e)=>{e.this.collideset:=0; e.this.airfrictionmult=-inf}


/BUMP

Oops sorry :P
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Space Fleet

Postby mold999 » Fri Feb 25, 2011 10:41 pm

@TC42-
it doesn't wok for me...
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Space Fleet

Postby TC42 » Fri Feb 25, 2011 10:47 pm

If it stays on the same collision group, try e.this.collideset=0 instead of what I typed; I made a typo. Just keep in mind that this will only happen when the bullet collides with something. Also, remove the comment in the script. So it would be:
Code: Select all
(e)=>{e.this.collideset=0; e.this.airfrictionmult=-inf}
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: Space Fleet

Postby mold999 » Sun Feb 27, 2011 4:24 am

still not working...
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Space Fleet

Postby frogman786 » Sun Feb 27, 2011 6:39 am

Code: Select all
(e)=>{
    scene.addCircle({
        radius = 0.03;
        color = [1, 0, 0, 1];
        pos = e.pos;
        density = 2;
        drawborder = false;
        drawcake = false;
        vel := 10 * e.normal
        Oncollide:=(e)=>{e.this.collideset:=0; e.this.airfrictionmult=-inf}
    })
}

i think this is how it should look
DFTBA nerdfighters

TheWonkits wrote:As immature as some of the people on this forum can be, most of you are pretty cool.

TC42 wrote:Better than spell-check... ...TC42's instant grammar-correction posts! :lol:
User avatar
frogman786
 
Posts: 71
Joined: Fri Jan 07, 2011 8:32 am
Location: Christchurch, New Zealand

Re: Space Fleet

Postby mold999 » Sun Feb 27, 2011 6:40 am

not working.
Phundementalism?

Ain't nobody got
thyme fo dat.
User avatar
mold999
 
Posts: 225
Joined: Sun Jan 02, 2011 1:35 am
Location: [176436, 3763234]

Re: Space Fleet

Postby bozbez » Wed Apr 20, 2011 5:11 pm

It would be much easier to make them disappear on impact by:
Code: Select all
(e)=>{
    scene.addCircle({
        radius = 0.03;
        color = [1, 0, 0, 1];
        pos = e.pos;
        density = 2;
        drawborder = false;
        drawcake = false;
        vel := 10 * e.normal;
        onCollide := ((e)=>{
            e.this.density := 0
        })
    })
}


But i think it's better to make it delete after a period of time, so, hijacking kilinich's scene.my.addSmoke script, i made it suitable for your purpose:
Code: Select all
Scene.my.addBullet := (sPos, sTime, sVel)=>{geval("scene.addCircle({pos := " + sPos + "; radius := 0.03; color := {[1,0,0,1] - [0,0,0,1*(sim.time - " + sim.time + ")/" + sTime + "]}; drawCake := false; collideSet := 1; drawBorder := true; density := {sim.time > " + sim.time + "+" + sTime + " ? 0 : 2}; vel:= "+sVel+"})")}


And adding it to your scene, i got this :) (notice the bullets fade out :D )
Rating: rated 5
Filesize: 48.8 kB
Comments: 0
Ratings: 1
download
Image

Go here. Now. That's Now. Not in 5 minutes. Now.
User avatar
bozbez
 
Posts: 149
Joined: Tue Apr 12, 2011 7:01 pm


Return to Collab forum

Who is online

Users browsing this forum: No registered users and 4 guests