This is the place to post levels that are made just for fun.
Moderator: Userbase Moderators
|
|
|
|
-
Waddle
- Tellah

- Posts: 1583
- Joined: Sun Sep 07, 2014 4:59 am
- Flair: hi!!!
- Pronouns: He/Him
Postby Waddle » Tue Dec 29, 2015 4:02 pm
Hullo fellas
I made a rollercoaster that plays itself; you don't have to press anything! Let's see if one of you can figure out the trick I used :^) It should work fine, but pressing down (or any button; down just breaks the level in a particularly annoying way) ruins the fun.
Look at my pwetty scweenshawt
|
|
|
|
|
|
|
|
|
-
Willhart
- Banned
- Posts: 368
- Joined: Thu Apr 10, 2014 2:18 am
Postby Willhart » Sun Jan 10, 2016 12:39 pm
Not sure how you made the custom conveyors for this level, but there is a way to make similar effect on lua fairly easily. Following allows for different speed values and works with any block including slopes.
Code: Select all firstLoop = true
function onLoadSection()
--Set Conveyor belts
if (firstLoop) then
firstLoop = false
-- Set all block-512 to push player with the speed of -1
for i,block in pairs(findblocks(162)) do
block.speedX = -1
end
-- Set all block-358 to push player with the speed of 1
for i,block in pairs(findblocks(163)) do
block.speedX = 1
end
end
end
The effect does look very neat on this level though. I'll have to look into it later.
|
|
|
|
|
|
|
|
|
-
Waddle
- Tellah

- Posts: 1583
- Joined: Sun Sep 07, 2014 4:59 am
- Flair: hi!!!
- Pronouns: He/Him
Postby Waddle » Sun Jan 10, 2016 6:14 pm
Thanks for the 'play'through, Bossy <3
Willhart wrote:Not sure how you made the custom conveyors for this level, but there is a way to make similar effect on lua fairly easily. Following allows for different speed values and works with any block including slopes.
Code: Select all firstLoop = true
function onLoadSection()
--Set Conveyor belts
if (firstLoop) then
firstLoop = false
-- Set all block-512 to push player with the speed of -1
for i,block in pairs(findblocks(162)) do
block.speedX = -1
end
-- Set all block-358 to push player with the speed of 1
for i,block in pairs(findblocks(163)) do
block.speedX = 1
end
end
end
The effect does look very neat on this level though. I'll have to look into it later.
I assumed something similar would be possible with lunalua; unfortunately I have no idea how lunalua works. Here's how I did it: While I was toying around in the editor, I found out that placing another block (I chose ice cubes) over a conveyor belt makes them go faster, but in the opposite direction. So I flipped the conveyor graphic and added slippery slopes, and uhh that's basically it.
|
|
|
|
|
|
|
|
|
-
Willhart
- Banned
- Posts: 368
- Joined: Thu Apr 10, 2014 2:18 am
Postby Willhart » Mon Jan 11, 2016 4:39 am
Waddle Derp wrote:I assumed something similar would be possible with lunalua; unfortunately I have no idea how lunalua works. Here's how I did it: While I was toying around in the editor, I found out that placing another block (I chose ice cubes) over a conveyor belt makes them go faster, but in the opposite direction. So I flipped the conveyor graphic and added slippery slopes, and uhh that's basically it.
That is very interesting to me, and something I did not know from before. Another way I know to make this effect on vanilla is to attach a moving npc to layer and then push it to lava so it dies. All the blocks on the layer attached to that npc will still push the player like they were moving even though they stay still. I don't think it worked as well as this one though on my testing. The slipperiness of ice may have helped a lot there to keep the momentum going in the air.
|
|
|
|
|
|
|
|
|
-
Waddle
- Tellah

- Posts: 1583
- Joined: Sun Sep 07, 2014 4:59 am
- Flair: hi!!!
- Pronouns: He/Him
Postby Waddle » Mon Jan 11, 2016 10:48 am
Willhart wrote:Waddle Derp wrote:I assumed something similar would be possible with lunalua; unfortunately I have no idea how lunalua works. Here's how I did it: While I was toying around in the editor, I found out that placing another block (I chose ice cubes) over a conveyor belt makes them go faster, but in the opposite direction. So I flipped the conveyor graphic and added slippery slopes, and uhh that's basically it.
That is very interesting to me, and something I did not know from before. Another way I know to make this effect on vanilla is to attach a moving npc to layer and then push it to lava so it dies. All the blocks on the layer attached to that npc will still push the player like they were moving even though they stay still. I don't think it worked as well as this one though on my testing. The slipperiness of ice may have helped a lot there to keep the momentum going in the air.
The slippery slopes definitely helped, though I'm not sure if the ice cubes did. Is the momentum of the glitch you found similar to this one? If so, I may just toy around with it to make a RollaKosta 2.0 :^)
|
|
|
|
|
|
|
|
|
-
Willhart
- Banned
- Posts: 368
- Joined: Thu Apr 10, 2014 2:18 am
Postby Willhart » Mon Jan 11, 2016 11:23 am
Waddle Derp wrote:Willhart wrote:Waddle Derp wrote:I assumed something similar would be possible with lunalua; unfortunately I have no idea how lunalua works. Here's how I did it: While I was toying around in the editor, I found out that placing another block (I chose ice cubes) over a conveyor belt makes them go faster, but in the opposite direction. So I flipped the conveyor graphic and added slippery slopes, and uhh that's basically it.
That is very interesting to me, and something I did not know from before. Another way I know to make this effect on vanilla is to attach a moving npc to layer and then push it to lava so it dies. All the blocks on the layer attached to that npc will still push the player like they were moving even though they stay still. I don't think it worked as well as this one though on my testing. The slipperiness of ice may have helped a lot there to keep the momentum going in the air.
The slippery slopes definitely helped, though I'm not sure if the ice cubes did. Is the momentum of the glitch you found similar to this one? If so, I may just toy around with it to make a RollaKosta 2.0 :^)
I've used blocks attached to moving layers to push the npc into the lava faster, which makes the effect stronger. Altering their movevent speed with npc txt files had similar effect too. It does need some setup on level start though, due to requiring killing the enemies that way on the first screen, but I've done it in couple of levels. It does work like conveyor belts but it's normally not quite as fast as the one you made. You could give it a try and see how it works for you.
|
|
|
|
|
Return to “Casual Levels”
Users browsing this forum: Petal [Bot] and 11 guests
|