# PstarEngine : I'm building a small game engine with Processing and P5js

**URL:** <https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870>\
**Category:** Gallery\
**Created:** [August 5, 2025, 7:18pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870 "2025-08-05T19:18:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [August 5, 2025, 7:18pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/1 "2025-08-05T19:18:39Z")

</div>

It is about having 2 versions: in Java with Processing and in Javascript with P5js.

The idea of this project is, on the one hand, to be able to create small 2D games by being able to understand and access the engine code without needing to understand C++ and on the other hand, especially for the JAVA version, to be able to use libraries to which game engines do not generally have access (such as to do FTP for example) and to use it in applications by **completely** mastering its graphical interface.

Everything is done using the Processing editor, which is much more accessible than the programs used by professionals.  
The use of relatively advanced programming concepts, such as many design patterns, can also be educational for many people (it seems to me) who might find it useful to study its code.

* * *

> **[PstarEngine](https://ericrogergarcia.legtux.org/pstarengine/)**
>
> PstarEngine est un petit moteur de jeux et d'interfaces graphiques en 2 versions : Java et Javascript.

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [August 15, 2025, 11:14pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/4 "2025-08-15T23:14:23Z")

</div>

new link (but the old works too now)

> **[PSE-PstarEngine - EricRogerGarcia](https://ericrogergarcia.legtux.org/pse-pstarengine)**
>
> PstarEngine is a small game and graphical user interface engine in 2 versions: Java and Javascript.
> Cours d'informatique à domicile au pays de Lorient . Créer un site internet - Fabriquer des jeux vidéo - Commencer à programmer avec Scratch,...

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [August 17, 2025, 12:39pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/5 "2025-08-17T12:39:59Z")

</div>

**We can use AI for transpilation sometimes to save time (provided that it can also be done without ! ).**

see here :

> **[PSE-Roadmap - EricRogerGarcia](https://ericrogergarcia.legtux.org/pse-roadmap)**
>
> PstarEngine is a small game and graphical user interface engine in 2 versions: Java and Javascript.
> Cours d'informatique à domicile au pays de Lorient . Créer un site internet - Fabriquer des jeux vidéo - Commencer à programmer avec Scratch,...

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [August 19, 2025, 6:41am UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/6 "2025-08-19T06:41:45Z")

</div>

I am about to put my project in a software forge.

Probably

> **[Codeberg.org](https://codeberg.org/)**
>
> Codeberg is a non-profit, community-led organization that aims to help free and open source projects prosper by giving them a safe and friendly home.

The license will be of the MIT type but in a more ethical version, probably

> **[The Hippocratic License: Hippocratic License 3.0](https://firstdonoharm.dev/version/3/0/full.html)**

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [August 20, 2025, 9:50am UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/7 "2025-08-20T09:50:00Z")

</div>

# 1st Demo version (with all the code)

> **[PSE-Demo - EricRogerGarcia](https://ericrogergarcia.legtux.org/pse-demo)**
>
> PstarEngine is a small game and graphical user interface engine in 2 versions: Java and Javascript.
> Cours d'informatique à domicile au pays de Lorient . Créer un site internet - Fabriquer des jeux vidéo - Commencer à programmer avec Scratch,...

And some work on collisions in the [Roadmap page](https://ericrogergarcia.legtux.org/pse-roadmap)

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [August 20, 2025, 10:23am UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/8 "2025-08-20T10:23:32Z")

</div>

Never seen that License before - interesting although I didn’t have the energy to read it all a couple of _ **potential** _ breaches spring immediately to mind, but I will keep them to myself 😉

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [August 21, 2025, 7:35pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/9 "2025-08-21T19:35:39Z")

</div>

…thanks for all your work on your libraries for so much time !!!

💫

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [September 26, 2025, 6:01pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/10 "2025-09-26T18:01:56Z")

</div>

[PstarEngine](https://codeberg.org/EricRogerGarcia/PstarEngine) on [codeberg.org](http://codeberg.org)

I choose MIT because of that :

(From Codeberg help)

## [Warnings](https://docs.codeberg.org/getting-started/licensing/#warnings)

### [License proliferation](https://docs.codeberg.org/getting-started/licensing/#license-proliferation)

Over the years, hundreds of different software/artwork licenses have been written, used and abandoned. This causes a big harm to the Free and Open Source community because it makes it more difficult for everybody to understand their meaning and compatibility between them. A common reaction of developers is to refuse discussions about licenses or their use altogether. Rather than dispersing efforts in a multitude of isolated and incompatible efforts ([license proliferation](https://en.wikipedia.org/wiki/License_proliferation)), we recommend using whenever possible only the mainstream licenses as highlighted in this page.

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [September 26, 2025, 7:05pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/11 "2025-09-26T19:05:26Z")

</div>

[My Collections are here](https://editor.p5js.org/EricRogerGarcia/collections)

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [January 27, 2026, 9:41pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/12 "2026-01-27T21:41:57Z")

</div>

Following a problem on my old account on Codeberg, I created a new one

[new repositery here](https://codeberg.org/EricRG/PstarEngine)

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [February 8, 2026, 1:17pm UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/13 "2026-02-08T13:17:41Z")

</div>

**PstarEngine** : I started writing documentation + roadmap

[In English](https://codeberg.org/EricRG/PstarEngine/src/branch/main/Documentation/documentation.EN_numbered.md)

[En Français](https://codeberg.org/EricRG/PstarEngine/src/branch/main/Documentation/documentation.FR_numbered.md)

**N.B.** Don’t hesitate to report any oddities in the English version! I write the version in French and translate it with [reverso.net](http://reverso.net) without necessarily having the time to reread everything. : )

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [February 11, 2026, 1:34am UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/14 "2026-02-11T01:34:28Z")

</div>

PstarEngine #33.13

with debug mode enabled

[GNU Peertube Link](https://gnulinux.tube/w/d5F1ixh65tKpg1PSeqQ1Kt)

---

<div class="post-metadata">

**Author:** ![EricRogerGarcia](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericrogergarcia/32/21029_2.png) [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Post date:** [April 1, 2026, 11:47am UTC](https://discourse.processing.org/t/pstarengine-im-building-a-small-game-engine-with-processing-and-p5js/46870/15 "2026-04-01T11:47:49Z")

</div>

PstarEngine #35

[Sketch](https://ericrogergarcia.legtux.org/pstarengine/demo/)

[Repository](https://codeberg.org/EricRG/PstarEngine)
