[Tutorial] Cut-out Ground (Circle Ramps) |
Grimmaro « Consul » 1492556880000
| 2 | |||||||||
Hey! So I couldn't find an EN tutorial for this, so I decided to take the time and make a tutorial for these kinds of grounds. Its pretty basic if you want to make a ramp for game modes such as no-shaman or racing, but this could also be used in a more, creative way as well as I will show down below in some example pictures.
The steps are pretty easy, make sure you follow along with the XML and you shouldn't have any problems 1) Selecting your base ground. Selecting your "base ground" basically means picking a ground that will be shown as the ramp. In the example, @6827953, the base ground would be the ice. Make sure you get rid of any collision associated with your base ground because we will be adding in the platforms, later. <C><P /><Z><S><S c="4" L="200" H="200" X="367" Y="233" T="1" P="0,0,0,0.2,0,0,0,0" /></S><D /><O /></Z></C> 2) Cutting out the grounds. For this next step, you will need to select a few rectangles or circles, depending on what you're making. Then, you will make those grounds have the default background color, 6A7495 so they can have the illusion of a ramp. Make sure you get rid of all of the collision on these grounds as well. <C><P /><Z><S><S P="0,0,0,0.2,0,0,0,0" L="200" X="367" c="4" Y="233" T="1" H="200" /><S c="4" L="97" o="6a7495" H="170" X="284" Y="233" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S c="4" L="85" o="6a7495" H="10" X="330" Y="233" T="13" P="0,0,0.3,0.2,0,0,0,0" /></S><D /><O /></Z></C> 3) Adding collision. Now, you will need to add invisible platforms all around the areas that need collision. You have the basic ramp shape, except it doesn't have collision yet. To make your platforms invisible, you must make the collision rectangles white, with the color code FFFFFF and then once you're in the XML, you must add an additional 3 FFF with the rest; there should be a total of 9 once you're done. Make sure you give the invisible platforms the same friction as the base ground, so players don't get confused. I will not make the platforms invisible in this XML, for demonstration purposes. Finished XML (Without the invisible platforms) <C><P /><Z><S><S P="0,0,0,0.2,0,0,0,0" L="200" X="367" c="4" Y="233" T="1" H="200" /><S c="4" L="97" o="6a7495" H="170" X="284" Y="233" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S c="4" L="85" o="6a7495" H="10" X="330" Y="233" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="198" o="ffffff" H="15" X="366" Y="141" T="12" P="0,0,0,0.2,0,0,0,0" /><S P="0,0,0,0.2,0,0,0,0" L="198" o="ffffff" X="366" Y="325" T="12" H="15" /><S L="199" o="ffffff" X="459" H="15" Y="233" T="12" P="0,0,0,0.2,90,0,0,0" /><S P="0,0,0,0.2,170,0,0,0" L="30" o="ffffff" H="15" Y="322" T="12" X="358" /><S L="30" o="ffffff" H="15" X="375" Y="314" T="12" P="0,0,0,0.2,150,0,0,0" /><S P="0,0,0,0.2,130,0,0,0" L="30" o="ffffff" X="396" Y="298" T="12" H="15" /><S L="30" o="ffffff" X="411" H="15" Y="278" T="12" P="0,0,0,0.2,120,0,0,0" /><S P="0,0,0,0.2,100,0,0,0" L="30" o="ffffff" H="15" Y="257" T="12" X="420" /><S L="30" o="ffffff" H="15" X="423" Y="230" T="12" P="0,0,0,0.2,90,0,0,0" /><S P="0,0,0,0.2,80,0,0,0" L="30" o="ffffff" X="421" Y="210" T="12" H="15" /><S L="30" o="ffffff" X="414" H="15" Y="191" T="12" P="0,0,0,0.2,60,0,0,0" /><S P="0,0,0,0.2,50,0,0,0" L="30" o="ffffff" H="15" Y="174" T="12" X="403" /><S L="30" o="ffffff" H="15" X="387" Y="159" T="12" P="0,0,0,0.2,40,0,0,0" /><S P="0,0,0,0.2,30,0,0,0" L="30" o="ffffff" X="370" Y="148" T="12" H="15" /></S><D /><O /></Z></C> Dernière modification le 1492557120000 |
Kimsterjay « Consul » 1492556880000
| 0 | ||
Great tutorial! |
0 | ||
Nice tutorial :) you can also remove all the "ffffff" so that o="ffffff" becomes o="", or add m="" to the grounds xml to make these grounds invisible. Dernière modification le 1493116020000 |
Bhvana « Censeur » 1549745520000
| 0 | ||
thanks accually didn't work for me Dernière modification le 1569165600000 |