removed useless _ folders
This commit is contained in:
3
Platformer/Platformer.sol
Normal file
3
Platformer/Platformer.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Platformer">
|
||||
<Project name="Platformer" path="Platformer\Platformer.prj" active="true"/>
|
||||
</Solution>
|
||||
39
Platformer/Platformer/Object/Platformer_1.lsl
Normal file
39
Platformer/Platformer/Object/Platformer_1.lsl
Normal file
@@ -0,0 +1,39 @@
|
||||
// :CATEGORY:Platform
|
||||
// :NAME:Platformer
|
||||
// :AUTHOR:Davy Maltz
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:59
|
||||
// :ID:633
|
||||
// :NUM:860
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// The script for the worn attachment, which rezzes the platforms when the platformer is turned on(Assuming the platform object is in the attachment's inventory):
|
||||
// :CODE:
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
llListen(0,"","","");
|
||||
|
||||
}
|
||||
|
||||
on_rez(integer start_param)
|
||||
|
||||
{
|
||||
|
||||
llResetScript();
|
||||
|
||||
}
|
||||
|
||||
listen(integer channel,string name,key id,string message)
|
||||
|
||||
{
|
||||
|
||||
if(message==".on")
|
||||
|
||||
{
|
||||
37
Platformer/Platformer/Object/Platformer_2.lsl
Normal file
37
Platformer/Platformer/Object/Platformer_2.lsl
Normal file
@@ -0,0 +1,37 @@
|
||||
// :CATEGORY:Platform
|
||||
// :NAME:Platformer
|
||||
// :AUTHOR:Davy Maltz
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:59
|
||||
// :ID:633
|
||||
// :NUM:861
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// And then the script to go inside of the platform, which then goes inside of the platformer attachment:
|
||||
// :CODE:
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
on_rez(integer start_param)
|
||||
|
||||
{
|
||||
|
||||
llSensor("",llGetOwner(),AGENT,20,TWO_PI);
|
||||
|
||||
llSleep(1.0);
|
||||
|
||||
llSetStatus(STATUS_PHYSICS|STATUS_PHANTOM,TRUE);
|
||||
|
||||
llSetTimerEvent(0.1);
|
||||
|
||||
alpha = 1;
|
||||
|
||||
}
|
||||
|
||||
sensor(integer num_detected)
|
||||
|
||||
{
|
||||
|
||||
llSetPos(llDetectedPos(0));
|
||||
8
Platformer/Platformer/Platformer.prj
Normal file
8
Platformer/Platformer/Platformer.prj
Normal file
@@ -0,0 +1,8 @@
|
||||
<Project name="Platformer" guid="D810846B-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D8108556-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Platformer_1.lsl" guid="D810A89F-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
<Script name="Platformer_2.lsl" guid="D810C40E-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user