# Could I use P5.js to make games that runs on Kaios Phones?

**URL:** <https://discourse.processing.org/t/could-i-use-p5-js-to-make-games-that-runs-on-kaios-phones/13355>\
**Category:** p5.js\
**Created:** [August 13, 2019, 12:03pm UTC](https://discourse.processing.org/t/could-i-use-p5-js-to-make-games-that-runs-on-kaios-phones/13355 "2019-08-13T12:03:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexpfb](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@alexpfb](https://discourse.processing.org/u/alexpfb)\
**Post date:** [August 13, 2019, 12:03pm UTC](https://discourse.processing.org/t/could-i-use-p5-js-to-make-games-that-runs-on-kaios-phones/13355/1 "2019-08-13T12:03:58Z")

</div>

I would like to make some simple 2d games to run in low cost Phones that runs KaiOs (Like [JioPhone](https://www.androidauthority.com/kaios-phone-review-979286/). Is P5.js suitable for that? In terms of performance?

---

<div class="post-metadata">

**Author:** ![figraham](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/figraham/32/4161_2.png) [@figraham](https://discourse.processing.org/u/figraham)\
**Post date:** [August 13, 2019, 7:10pm UTC](https://discourse.processing.org/t/could-i-use-p5-js-to-make-games-that-runs-on-kaios-phones/13355/2 "2019-08-13T19:10:31Z")

</div>

Judging based on the article’s description of lag in what’s app I suspect p5js will be too heavy but you could always give it a try. You might look into something like [melonjs](https://github.com/melonjs/melonJS) or [pixijs](https://github.com/pixijs/pixi.js) which I believe are lighter weight but even then I would guess that the existing games are coded in c++ or something lower level. It’s almost a necessity for such low powered hardware. You might also give the [kaios developer docs](https://developer.kaiostech.com/) a read.

---

<div class="post-metadata">

**Author:** ![alexpfb](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@alexpfb](https://discourse.processing.org/u/alexpfb)\
**Post date:** [August 13, 2019, 8:56pm UTC](https://discourse.processing.org/t/could-i-use-p5-js-to-make-games-that-runs-on-kaios-phones/13355/3 "2019-08-13T20:56:16Z")

</div>

Hi, thanks for your reply.

The apps to these phones are based in html5/Js:

> KaiOS apps are based on web technologies–HTML, CSS, and JavaScript–and are run by Gecko runtime.

My doubt is if Processing.js will add much overhead.

I will try but I don’t have one of these phones yet.
