Author Topic: Platformer Bricks [Released]  (Read 6491 times)

Platformer Bricks
By Armageddon (Modeling + Bugtesting) and ottosparks (Coding)
Featuring sounds from Sonic Colors

gotta go fast



ottosparks can't make introductions to modification discussion topics



Grind Rails
Place these down in lines and then jump on. There are a few different types of rails outside the ordinary one.

Left+Right Rails: These are for diagonal rails.
Up+Down Rails: Self-explanatory. They go up and they go down.
Left+Right Turn Rails: These confuse people. With ordinary left and right rails, 90° turns aren't possible in reverse. These fix that.
Reversal Rails: These will reverse the player's grind direction.
Detachment Rails: These make a player detach from the rail.
Super-jump Rails: These will add velocity if the player jumps off on them.
Auto-jump Rails: Similar to detachment rails, but acts as if the player's jumping off instead.


Bumpers

These bricks will bounce players. They come with some events for customization as well as a feature that allows you to bump players toward a named brick.

There are standard bumpers that go straight up, as well as directional bumpers. Both come in 2x2 and 4x4 sizes.
A non-evented bumper will still work, just with a power fixed by the brick datablock.



Boosters

These add velocity to the player upon touching it. Like bumpers, they have an optional event feature to allow custom power settings.



Current Issues

• Players find it difficult to learn how to use grind rail bricks. This is something that I can't fix without a custom 1x1F brick that indicates its direction.
• Other players appear to lag on grind rails. As far as I know, this is because your position is updated faster than other player's. If you need to see where another player is, you need to use their grind spark trail instead.
• Lag will break targeted bumpers. I have tried many things to fix this, but nothing has worked. Either make sure your server isn't laggy or design your challenges/whatever to make players hit a wall when this happens.
• Boosters sometimes just don't work properly. I don't know why.
• I can't get the icons to work. For some reason they make the game crash when set to the correct path. Anyone that might know why, please tell me.
• Exiting rails right as you attach will make you 'superjump'. I don't plan on fixing this, as it adds interesting speedrun possibilities.
Video Demonstration
Targeted Bumper Demonstration


Latest Version [RC1]
Related: speedrun.cs
Grind Rail Tutorial

try and find bugs and give suggestions on any other improvements i should make.
a tip if grinding causes performance issues for you:

in grinding.cs, at the top, there is a line that says $Platformer::Grind::RailSpeed = 30;. changing the 30 to a higher number will increase performance, but it will also reduce the speed. keep in mind this is in milliseconds, as in, every Xms you will advance to the next grind rail. this was originally at ~75, i believe. it was lowered because []----[] has the need for speed
These are basically ready for release, but I'd like to get some feedback and make several improvements beforehand.
« Last Edit: August 07, 2013, 04:13:48 PM by otto-san »

10/10 totally wasn't payed to say this

Haha that's really nice, looking forward to that!

Btw I believe a custom playertype for it could come in handy
« Last Edit: July 10, 2013, 02:00:30 PM by Filipe »

Oh my
These are great!


Let me have your babies.

Targeted bumper demonstration is up.


All we need is a player type that doesn't collide with other players to make for some awesome challenge servers.

All we need is a player type that doesn't collide with other players to make for some awesome challenge servers.
Players won't collide with each other on grind rails.

Players won't collide with each other on grind rails.
Oh, but it has presented problems with challenges in the past, grieving, cheating by climbing on each other. :(

So hows things going with this beautiful thing?

This would go perfect with my homing attack playertype (or sonic like playertype)


So hows things going with this beautiful thing?
like i said, they're pretty much ready for release. i just need to get the icons working.

here's the current version though. try and find bugs and give suggestions on any other improvements i should make.

(btw, it's not relevant, but i tried making an amount of potentially helpful comments in the code)

edit:

i'd also love to see some kind of challenge server with these. we were making one, but it wasn't finished or worked on much at all.
here's a related script that handles speedrunning through events. it's not packaged, but it works. it also saves records to files. speedrun.cs
« Last Edit: July 20, 2013, 11:38:30 PM by otto-san »