# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=80

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 81

---

## [Pong Game: Trying to add a "Press Space"-key to play the game again in the same playermode in winnerAnnouncer() without going to the home menu again](https://discourse.processing.org/t/pong-game-trying-to-add-a-press-space-key-to-play-the-game-again-in-the-same-playermode-in-winnerannouncer-without-going-to-the-home-menu-again/41325)

<div class="topic-metadata">

**Author:** [@sabisiiuuu](https://discourse.processing.org/u/sabisiiuuu)\
**Replies:** 7\
**Last updated:** [March 16, 2023, 10:33pm UTC](https://discourse.processing.org/t/pong-game-trying-to-add-a-press-space-key-to-play-the-game-again-in-the-same-playermode-in-winnerannouncer-without-going-to-the-home-menu-again/41325 "2023-03-16T22:33:34Z")

</div>

Hello everyone: The game is complete btw, but I just wanted to add this little feature mentioned in the title before presenting it. So when the game’s over, it opens the winnerAnnouncer() function saying who won and to…

---

## [Help: scenes in Processing](https://discourse.processing.org/t/help-scenes-in-processing/41330)

<div class="topic-metadata">

**Author:** [@xnainie](https://discourse.processing.org/u/xnainie)\
**Replies:** 2\
**Last updated:** [March 16, 2023, 9:46pm UTC](https://discourse.processing.org/t/help-scenes-in-processing/41330 "2023-03-16T21:46:03Z")

</div>

hello, I am working on an interactive story in processing only I am running into some things. I am quite new and I don’t understand everything yet but would like to learn. I have made my codes very basic, now comes the …

---

## [Find the correct order of drawing a box in perspective](https://discourse.processing.org/t/find-the-correct-order-of-drawing-a-box-in-perspective/41271)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 5\
**Last updated:** [March 16, 2023, 6:32pm UTC](https://discourse.processing.org/t/find-the-correct-order-of-drawing-a-box-in-perspective/41271 "2023-03-16T18:32:13Z")

</div>

Hello! Im trying to learn about perspective using code and create my own drawing system. I have this piece of code and my problem is that i dont know how to sort the sides of the cube to draw them correctly according to…

---

## [How to check if a search for a table row is successful](https://discourse.processing.org/t/how-to-check-if-a-search-for-a-table-row-is-successful/41320)

<div class="topic-metadata">

**Author:** [@proc8888](https://discourse.processing.org/u/proc8888)\
**Replies:** 2\
**Last updated:** [March 16, 2023, 3:12pm UTC](https://discourse.processing.org/t/how-to-check-if-a-search-for-a-table-row-is-successful/41320 "2023-03-16T15:12:37Z")

</div>

I am looking for a table row to retrieve some column values. The table row may or may not be there. How do I code to check if the ‘findRow’ is successful? Currrently I get an error ‘NullPointerException’ in the coding…

---

## [GameLibZeroWEB WEBGL](https://discourse.processing.org/t/gamelibzeroweb-webgl/40693)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 11\
**Last updated:** [March 16, 2023, 1:38pm UTC](https://discourse.processing.org/t/gamelibzeroweb-webgl/40693 "2023-03-16T13:38:47Z")

</div>

EDIT: Example pack: Dropbox - glz\_web\_p5\_examples.zip - Simplify your life Hello community, I am pleased to announce that I finally have a “decent” and “clean” version of the GameLibZero code that I have been using com…

---

## [Problem with serial port. Upgrade Monterey from Catalina](https://discourse.processing.org/t/problem-with-serial-port-upgrade-monterey-from-catalina/41269)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 11:59am UTC](https://discourse.processing.org/t/problem-with-serial-port-upgrade-monterey-from-catalina/41269 "2023-03-16T11:59:03Z")

</div>

Hello everybody! I upgraded my Mac OS from Catalina to Monterey. Since I have did that my program stops itself around 30 secondes. Do I have to download a special library? Do you have the same problem? In this progr…

---

## [Pong Game: Trying to make 4 different messages for when a different player wins: "You won", "bot won", "player 1 won" and "player 2 won". Could only make 2: "Player 1 won" and "Player 2 or Bot won"](https://discourse.processing.org/t/pong-game-trying-to-make-4-different-messages-for-when-a-different-player-wins-you-won-bot-won-player-1-won-and-player-2-won-could-only-make-2-player-1-won-and-player-2-or-bot-won/41310)

<div class="topic-metadata">

**Author:** [@sabisiiuuu](https://discourse.processing.org/u/sabisiiuuu)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 8:58am UTC](https://discourse.processing.org/t/pong-game-trying-to-make-4-different-messages-for-when-a-different-player-wins-you-won-bot-won-player-1-won-and-player-2-won-could-only-make-2-player-1-won-and-player-2-or-bot-won/41310 "2023-03-16T08:58:28Z")

</div>

Hello everyone! Basically the question. I am making a Pong Game and it is actually finished, but I just want to make it more perfect. I am only lacking these particular messages for when a winner has to be announced. I …

---

## [Need help with FX2D renderer! (pls)](https://discourse.processing.org/t/need-help-with-fx2d-renderer-pls/41235)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 10:10am UTC](https://discourse.processing.org/t/need-help-with-fx2d-renderer-pls/41235 "2023-03-14T10:10:13Z")

</div>

In FX2D there are a few glitches/“features” and i wanna know if someone knows a fix; focused Bug: this is really glitchy. i dont know how that works; if(focused) text("focused",10,10); if(!focused) text("not focused",1…

---

## [Problems with old code in Processing 3.0](https://discourse.processing.org/t/problems-with-old-code-in-processing-3-0/41276)

<div class="topic-metadata">

**Author:** [@aespona](https://discourse.processing.org/u/aespona)\
**Replies:** 4\
**Last updated:** [March 15, 2023, 8:14pm UTC](https://discourse.processing.org/t/problems-with-old-code-in-processing-3-0/41276 "2023-03-15T20:14:03Z")

</div>

Hello everyone, I’m new here. Sorry for my english, I’m from Spain. I have problems displaying a code that was written on a Imac 2009 in processing 3.0. Now I work with Mac Air with an M1 processor and when I run th…

---

## [Cant keep open both cards in memorygame using ArrayLists](https://discourse.processing.org/t/cant-keep-open-both-cards-in-memorygame-using-arraylists/41263)

<div class="topic-metadata">

**Author:** [@Yokiyami](https://discourse.processing.org/u/Yokiyami)\
**Replies:** 5\
**Last updated:** [March 15, 2023, 4:04pm UTC](https://discourse.processing.org/t/cant-keep-open-both-cards-in-memorygame-using-arraylists/41263 "2023-03-15T16:04:35Z")

</div>

Hello, I have made a memorygame using processing. We arent allowed to use classes. So i have used ArrayLists instead. Now i just cant seem to fix this bug: “when i click open the second card it sometime immediatly clos…

---

## [How to use JavaFX in Processing 4?](https://discourse.processing.org/t/how-to-use-javafx-in-processing-4/35842)

<div class="topic-metadata">

**Author:** [@lui\_s](https://discourse.processing.org/u/lui_s)\
**Replies:** 7\
**Last updated:** [March 15, 2023, 8:53am UTC](https://discourse.processing.org/t/how-to-use-javafx-in-processing-4/35842 "2023-03-15T08:53:13Z")

</div>

Possibly a dumb question but I can’t seem to figure it out on my own. Hopefully someone here can help me out. Below is a simple code that works fine in Processing 3. Basically it just imports a JavaFX class. In Processi…

---

## ["Guide to contributing p5.js tutorials" link broken](https://discourse.processing.org/t/guide-to-contributing-p5-js-tutorials-link-broken/41298)

<div class="topic-metadata">

**Author:** [@ashley](https://discourse.processing.org/u/ashley)\
**Replies:** 0\
**Last updated:** [March 15, 2023, 2:56pm UTC](https://discourse.processing.org/t/guide-to-contributing-p5-js-tutorials-link-broken/41298 "2023-03-15T14:56:34Z")

</div>

It seems like the first link in the Guide to contributing p5.js tutorials leads to a spreadsheet that has been deleted. This spreadsheet was intended to outline in-progress tutorials. Would someone be able to re-link thi…

---

## [How to create data array?](https://discourse.processing.org/t/how-to-create-data-array/41094)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 2\
**Last updated:** [March 2, 2023, 11:20am UTC](https://discourse.processing.org/t/how-to-create-data-array/41094 "2023-03-02T11:20:13Z")

</div>

How can I create an array of data to send to the com port from this example?

---

## [Easier way for saving image in thread?](https://discourse.processing.org/t/easier-way-for-saving-image-in-thread/41270)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 6\
**Last updated:** [March 15, 2023, 2:11pm UTC](https://discourse.processing.org/t/easier-way-for-saving-image-in-thread/41270 "2023-03-15T14:11:20Z")

</div>

So I have a drawing programm, that needs to load in images & save them. Is there something that makes it faster. For example I have an 4k image, that needs to be saved. It takes like 3 seconds. And I do not want to use p…

---

## [Demo sketches are stuttering / hanging up](https://discourse.processing.org/t/demo-sketches-are-stuttering-hanging-up/41268)

<div class="topic-metadata">

**Author:** [@User442B](https://discourse.processing.org/u/User442B)\
**Replies:** 3\
**Last updated:** [March 15, 2023, 1:38am UTC](https://discourse.processing.org/t/demo-sketches-are-stuttering-hanging-up/41268 "2023-03-15T01:38:34Z")

</div>

Hi. I recently installed processing and have begun learning it. I have noticed that my sketches are stuttering, sometimes even hanging up for a moment. This happens even when I run demo sketches, such as Bounce from the …

---

## [Create advanced shot](https://discourse.processing.org/t/create-advanced-shot/41245)

<div class="topic-metadata">

**Author:** [@hokuto](https://discourse.processing.org/u/hokuto)\
**Replies:** 6\
**Last updated:** [March 14, 2023, 7:02pm UTC](https://discourse.processing.org/t/create-advanced-shot/41245 "2023-03-14T19:02:24Z")

</div>

I know it’s a bit excessive, but how can you program these types of shots? https://youtu.be/3G3aKt7by0A

---

## [Physics engine looks like not working but dunno how to test](https://discourse.processing.org/t/physics-engine-looks-like-not-working-but-dunno-how-to-test/41229)

<div class="topic-metadata">

**Author:** [@jounce](https://discourse.processing.org/u/jounce)\
**Replies:** 14\
**Last updated:** [March 13, 2023, 10:01pm UTC](https://discourse.processing.org/t/physics-engine-looks-like-not-working-but-dunno-how-to-test/41229 "2023-03-13T22:01:37Z")

</div>

https://replit.com/@imcute-aaaa/physics-lib#script.js (im not asking about p5,but i used p5,so i can ask,right?)

---

## [Laggy fullScreen](https://discourse.processing.org/t/laggy-fullscreen/41265)

<div class="topic-metadata">

**Author:** [@JonnieNightTime](https://discourse.processing.org/u/JonnieNightTime)\
**Replies:** 0\
**Last updated:** [March 13, 2023, 4:15pm UTC](https://discourse.processing.org/t/laggy-fullscreen/41265 "2023-03-13T16:15:28Z")

</div>

Hi All, I have a sketch that runs smoothly when windowed on my Macbook, but then slows noticeably when I make it fullScreen - either on the Macbook monitor itself, or on a second monitor - even when the sketch runs at …

---

## [Drag and drop a jar file onto a sketch - cannot get it working](https://discourse.processing.org/t/drag-and-drop-a-jar-file-onto-a-sketch-cannot-get-it-working/41253)

<div class="topic-metadata">

**Author:** [@Svedblen](https://discourse.processing.org/u/Svedblen)\
**Replies:** 4\
**Last updated:** [March 13, 2023, 11:26am UTC](https://discourse.processing.org/t/drag-and-drop-a-jar-file-onto-a-sketch-cannot-get-it-working/41253 "2023-03-13T11:26:43Z")

</div>

Hi! I’m trying to reuse the same code in a few different sketches and decided that I did not want to just copy the source code. I wanted something slightly better and read about the ability to drag and drop jar-files on…

---

## [Eclipse project to Processing import](https://discourse.processing.org/t/eclipse-project-to-processing-import/41251)

<div class="topic-metadata">

**Author:** [@ch-artist](https://discourse.processing.org/u/ch-artist)\
**Replies:** 3\
**Last updated:** [March 12, 2023, 11:04pm UTC](https://discourse.processing.org/t/eclipse-project-to-processing-import/41251 "2023-03-12T23:04:30Z")

</div>

Hello, I’ve created a project using core.jar in Eclipse, works good. Can I import my Eclipse project into Processing for further development? If so how? Thanks

---

## [Keyboard detect if not focused?](https://discourse.processing.org/t/keyboard-detect-if-not-focused/41248)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 1\
**Last updated:** [March 12, 2023, 7:34pm UTC](https://discourse.processing.org/t/keyboard-detect-if-not-focused/41248 "2023-03-12T19:34:54Z")

</div>

Am i able to detect key input even if the window is not focused?

---

## [Get Mic Output Volume?](https://discourse.processing.org/t/get-mic-output-volume/41181)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 6\
**Last updated:** [March 12, 2023, 2:09pm UTC](https://discourse.processing.org/t/get-mic-output-volume/41181 "2023-03-12T14:09:17Z")

</div>

Can i get the microphone output volume, only the volume without a library? Arys

---

## [Align the arrows with the route or how to follow a path (planes)](https://discourse.processing.org/t/align-the-arrows-with-the-route-or-how-to-follow-a-path-planes/41188)

<div class="topic-metadata">

**Author:** [@hokuto](https://discourse.processing.org/u/hokuto)\
**Replies:** 17\
**Last updated:** [March 12, 2023, 12:56pm UTC](https://discourse.processing.org/t/align-the-arrows-with-the-route-or-how-to-follow-a-path-planes/41188 "2023-03-12T12:56:52Z")

</div>

This question is specially for “quark”, but anyone can answer it. I have seen a video on the quark youtube channel where some arrows move along some paths, I would like to know how you did that and if you could show me …

---

## [OrangePI + Processing](https://discourse.processing.org/t/orangepi-processing/41238)

<div class="topic-metadata">

**Author:** [@Ya\_Tot\_Samiy](https://discourse.processing.org/u/Ya_Tot_Samiy)\
**Replies:** 0\
**Last updated:** [March 11, 2023, 8:44pm UTC](https://discourse.processing.org/t/orangepi-processing/41238 "2023-03-11T20:44:11Z")

</div>

Hello, I am trying to run Processing on my OrangePi 3 LTS (Linux debian, smth like a raspberryPi). IDE GUI works good but when I try to run simple “Hello World” scetch, i see this: /home/orangepi/Desktop/processing-4.2…

---

## [Disable Window Occlusion!](https://discourse.processing.org/t/disable-window-occlusion/41233)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 0\
**Last updated:** [March 11, 2023, 3:36pm UTC](https://discourse.processing.org/t/disable-window-occlusion/41233 "2023-03-11T15:36:42Z")

</div>

You ever tried making an app that you want to use in OBS? But when its in the minimized it doesnt update? Fix: Dont use P2D.

---

## [Shader output to Processing](https://discourse.processing.org/t/shader-output-to-processing/41189)

<div class="topic-metadata">

**Author:** [@JohnC](https://discourse.processing.org/u/JohnC)\
**Replies:** 4\
**Last updated:** [March 11, 2023, 2:35am UTC](https://discourse.processing.org/t/shader-output-to-processing/41189 "2023-03-11T02:35:45Z")

</div>

Is there a way to get the shader out value back to the CPU thread (processing)?

---

## [If statement with keyboard keyPressed()](https://discourse.processing.org/t/if-statement-with-keyboard-keypressed/41226)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.processing.org/u/Dave)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 10:54pm UTC](https://discourse.processing.org/t/if-statement-with-keyboard-keypressed/41226 "2023-03-10T22:54:32Z")

</div>

I have included the code just to make it easier to explain what i am trying to do as i am now thinking scrap most of this code and do it a different way so if someone could point me in the right direction i would be grat…

---

## [Load file from google drive?](https://discourse.processing.org/t/load-file-from-google-drive/41211)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 3\
**Last updated:** [March 10, 2023, 12:20pm UTC](https://discourse.processing.org/t/load-file-from-google-drive/41211 "2023-03-10T12:20:36Z")

</div>

I have an sfdat or sftext (txt but more options) file in drive & want to load it into my software. How could this be done? :£ Arys

---

## [Info on GSoC'23 project : Screen-reader accessible p5.js canvas descriptions](https://discourse.processing.org/t/info-on-gsoc23-project-screen-reader-accessible-p5-js-canvas-descriptions/41215)

<div class="topic-metadata">

**Author:** [@acedev003](https://discourse.processing.org/u/acedev003)\
**Replies:** 0\
**Last updated:** [March 9, 2023, 5:21pm UTC](https://discourse.processing.org/t/info-on-gsoc23-project-screen-reader-accessible-p5-js-canvas-descriptions/41215 "2023-03-09T17:21:57Z")

</div>

Hi Everyone, Looking forward to contribute to opensource this GSoC season and I think the Screen Reader for p5js canvas project might be extremely helpful for a lot of people with special needs. If I guessed this correc…

---

## [A few jokes for you](https://discourse.processing.org/t/a-few-jokes-for-you/41220)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [March 10, 2023, 2:08am UTC](https://discourse.processing.org/t/a-few-jokes-for-you/41220 "2023-03-10T02:08:39Z")

</div>

A few fun jokes for you … of course displayed with JavaScript and a little bit of p5.js Source code: See also: A few quotes for you

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=79)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=81)
