Log In  

using google translate

At the beginning of the year I started using PICO-8 when I found out that Celeste was born from such a simple concept.
The first thing I could discover using PICO is that you can export to html...

if you can use HTML you can visualize it directly on Android using a tool called WebView.

This is a step-by-step tutorial to use your PICO-8 cartridges on your Android phone, let's begin shall we?

What do we need:

Now we need to understand what we are going to do:

1) create an application on Android (the classic helloworld: https://developer.android.com/training/basics/firstapp/).
2) Add the WebView tool to your app (https://jgvcodigo.blogspot.com/2017/12/webview-android.html).
3) Add the controls on the html file of your cartridge.
You can use the following template and call your .js file:

https://github.com/headjump/pico8_html_template (awesome morningtoast post: https://www.lexaloffle.com/bbs/?tid=30147)

4)Finally add your html and js file inside your android project:
C: \ Users \ AndroidStudioProjects \ YOUR_PROYECT \ app \ src \ main \ assets

This is the line that made the magic:
This line sends your html.


package com..;
import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.webkit.WebView;

public class MainActivity extends AppCompatActivity {

    @Override    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);        setContentView(R.layout.activity_main);
        WebView myWebView = (WebView) this.findViewById(R.id.webView);

So as you can see we are calling a simple html on android to be able to show our game. It seems the easiest way to have your first android application working.

And you don´t need as much knowledge to publish your Pico-8 game on Google play.

I leave my code so you can steal it https://github.com/demilion/Celeste-Classic-PICO-8-Android

It has a couple of extra lines such as having ads or integrated purchases.

( • . •)
/>♥ u want this?...

( • . •)
♥< \ NoOoOoOoO

( • . •)
/>♥ im joking but Buy me a coffee

Let me know what you think!!!!!!


P#61896 2019-02-15 03:15 ( Edited 2019-06-18 14:06)


How the hell do i use this code?

P#72089 2020-01-19 15:27

Hi jalecko,

Download this proyect for git https://github.com/demilion/Celeste-Classic-PICO-8-Android

Click run in Android studio

If this compiled correctly:

You can now create the APK () and send the APK file to you phone.

P#72215 2020-01-24 15:46

This seems nice (I didn't test it yet). Thanks for sharing.

I'm wondering, did you ask permission from all of the authors of those 52 games, if it was OK for you put to put them on the Play Store (with ads) (https://play.google.com/store/apps/details?id=com.demilion.a52in1a)? I didn't download to see if there was info on the app itself, but the store page had no indication of such.

P#79011 2020-07-07 14:13
P#94620 [hidden by admin]

What’s the point of coming here to shout. Also, you are confusing pico-8 (small dev environment with reasonable price to make games that can already be played for free on any device with a web browser) with a specific android app of dubious ethics made by someone else.

P#94624 2021-07-09 14:03

@op: I don’t think the Celeste license allows making derived works in this way. It’s nice to make and share a template for android packaging! But people need to respect authorship and licensing of games.

P#94625 2021-07-09 14:07

@merwok I have to imagine Leolo is jerking our chains. If $15 for a virtual console is expensive... This was the best $15 I ever spent and have built 3 retro devices to run it. I get more use out of this than my Switch.

P#95255 2021-07-25 01:08

[Please log in to post a comment]