Skip to content
Closed
80 changes: 80 additions & 0 deletions docs/Guides/Other/make-levels-on-mobile.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
sidebar_position: 1
---

import ReactPlayer from "react-player"

# level making on mobile

:::info[Author]

Tutorial created by [mxx987](https://github.com/mxx987).

:::

### before starting

You should have a ppl account that you can access easily, you CAN'T create levels on mobile if you don't have a ppl account.

::: note
if something like This ![](/static/img/make levels on mobile/manifest-error-image.png) pops up then it's ether the browser you currently are using can't upload folders or your manifest.json file is bugged. if you are 100% sure your manifest.json file is correct then use another browser
:::

### Setting up

:::note

Before doing anything you should install these apps and things, some of them are not necessary but it would make level making more convenient
:::

first, install ppl-utils level samples: this is the "levels" folder, you should install them to make level making more convenient and you can see examples for levels and use code from them. you can get it [Here](https://github.com/pewpewlive/ppl-utils/tree/master/levels)

second, install any file manager: this is NEEDED to make levels in mobile because without it you can't change the name,file type, or see your code Soo it's better to get one

third, install quick edit: this is an app found from Google play store that allows you to change code without having to rename or do anything else, not needed but it's convenient Soo go try it. (it has ads Soo beware)

you can get it from Google play [Here](https://play.google.com/store/apps/details?id=com.rhmsoft.edit&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dquick+edit+for+android&pcampaignid=APPU_1_ia8OaqmXIKWikdUPxtrhuQ0)

you can get it from apple store [Here](https://apps.apple.com/us/app/quickeditor-text-code/id1450712528)


### Coding the level

now that we set up everything, go into any file manager app and copy the "sample_advanced_level" or any other sample level of your chose and rename the coppy folder into anything ideally your level name your planning

now that we have our level folder we should go into any text maker/editor app (or quick edit if you installed it) and start coding your level, ask questions in the discord server. read the docs and finish your level

## finale touchs

now that You did your first level, we should change the manifest.json code to name your level, the code should look like this

```lua
{
"name":"Your level", -- level name
"descriptions":["descriptions goes here"], -- level description
"information":"information goes here", -- level information
"entry_point":"level.lua", -- don't change this!
"has_score_leaderboard":true, -- if the level is casual or has leader boards
"rank_thresholds_1p":{"bronze":3500, "silver":6000, "gold":9000} -- score needed to get bronze,silver,gold
}
```
change it to fit your level

### playtesting and uploading

now that we finished our level, we need to play test it and upload it when we are done

to do that first go into the "account" button and tap it ![](/static/img/make levels on mobile/account-image.png) this should take you to the sign in page Soo sign in,if you are signed In. go into the "manage my levels" button ![](/static/img/make levels on mobile/sel-manger-image.png) and press it, it should take you to a page that looks like this ![](/static/img/make levels on mobile/page-looks-image.png), if you want to create a level go into the "Select folder" and tap it ![](/static/img/make levels on mobile/creating-image.png), it should take you to the files app. select your level folder and press "use this folder" after this wait for a bit and now you have your level.

to update your level go into your level name and tap "manege" ![](/static/img/make levels on mobile/manage-image.png), this should take you to a page, scroll down until you see "//update level" section, tap the "select folder" button and select your folder and wait ![](/static/img/make levels on mobile/creating-image.png). this should let you update your level without having to create more level or other stuff

to upload your level to the community go to the manage your level page and scroll until you see the "//stats" section, this displays information about the level and let's you download your level, below the stats there is a "request a review of the level" ![](/static/img/make levels on mobile/request-image.png) press it and wait until the page reloads, this sends the level for the dev team to see and approve, this can take up from a couple of hours to day Soo please be patient :)

:::note
you can find your level on the Experimental tap and if your level appears blank or doesn't have anything, it usually means that the level code is broken.
:::

### You Did it!
Congratulations! You have successfully made your (maybe) first level, and without PC. you can now play it and have fun, try to improve your levels and don't be shy to try to get feedback.

that is all.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading