1.8.0 planes copying

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

1.8.0 planes copying

Postby Kilinich » Sun Oct 24, 2010 7:15 pm

1.8.0
Can't copy planes from one scene to another via clipboard neither via phunlet :(
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.8.0 planes copying

Postby electronicboy » Sun Oct 24, 2010 8:45 pm

a feature?

It would stop scene being ruined when you paste a plane over existing objects.

If it is a feature, maybe holding shift while performing the action to paste it, will also create the planes.
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: 1.8.0 planes copying

Postby kilebantick » Mon Oct 25, 2010 12:26 am

Just wondering how you'd store a plane in a phunlet. The way it'd work in my head is that the phunlet would be infinitely big, because the plane is:S
Image
User avatar
kilebantick
 
Posts: 1267
Joined: Tue Sep 01, 2009 9:50 am

Re: 1.8.0 planes copying

Postby electronicboy » Mon Oct 25, 2010 12:47 am

a phunlet would just need to store a plane's a position and angle.

all of the methods of copying objects, even saving a scene creates a script which algodoo runs to restore object properties.
all a phunlet is a small scene file which is set up to create objects at an offset from the cursor or when loaded as a scene, from the centre point of algodoo's scene.

what a phunlet would save (maybe a few change's to thinks like position). btw, Extraced from a scene file
Code: Select all
Scene.addPlane {
    attraction := 0.0;
    onCollide := (e)=>{};
    opaqueBorders := true;
    textureMatrix := [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0];
    onHitByLaser := (e)=>{};
    immortal := true;
    collideWater := true;
    texture := "";
    restitution := 0.5;
    friction := 0.5;
    color := [0.1, 0.1, 0.1, 1.0];
    drawBorder := false;
    reflectiveness := 1.0;
    heteroCollide := false;
    collideSet := 127;
    materialVelocity := 0.0;
    refractiveIndex := 1.5;
    killer := true;
    entityID := 7;
    zDepth := 12.0;
    geomID := 8;
    pos := [1000.0, -6.7075234e-012];
    angle := -3.1415925;
    body := 0
};
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: 1.8.0 planes copying

Postby Kilinich » Mon Oct 25, 2010 10:37 am

kilebantick wrote:Just wondering how you'd store a plane in a phunlet. The way it'd work in my head is that the phunlet would be infinitely big, because the plane is:S


I need to copy some planes structure (with scripting) from one scene to another. Can't do it in any way. I think it's not right. :|
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.8.0 planes copying

Postby emilk » Wed Oct 27, 2010 11:43 am

Will be fixed!
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests