I'm not looking for exact code, just the general principle of how it would work
![Smile :)](./images/smilies/ms-smile.png)
Thanks to anyone willing to help me
![Very Happy :D](./images/smilies/ms-glad.png)
Code: Select all
level = {
22,
198,
74,
130,
128,
87,
9,
127,
}
Code: Select all
level = {
{
height = 22,
length = 300,
gap = 18,
items = {
{
type = 'coin',
xOffset = 98,
},
{
type = 'barrel',
xOffset = 208,
},
{
type = 'coin',
xOffset = 280,
},
},
},
{
height = 198,
length = 103,
gap = 25,
items = {},
},
{
height = 74,
length = 180,
gap = 10,
items = {
{
type = 'barrel',
xOffset = 98,
},
},
},
{
height = 130,
length = 403,
gap = 31,
items = {
{
type = 'barrel',
xOffset = 98,
},
},
},
}
Code: Select all
levels = {
[1] = {
name = 'The first level',
speed = 10,
platforms = {
{
height = 22,
length = 300,
},
{
height = 198,
length = 103,
},
{
height = 74,
length = 180,
},
},
},
[2] = {
name = 'Faster level',
speed = 33,
platforms = {
{
height = 122,
length = 200,
},
{
height = 198,
length = 103,
},
{
height = 74,
length = 180,
},
},
},
[3] = {
name = 'Faster still!',
speed = 41,
platforms = {
{
height = 22,
length = 300,
},
{
height = 198,
length = 103,
},
{
height = 74,
length = 180,
},
},
},
}
Users browsing this forum: No registered users and 5 guests