how to introduce speech recognition into game.
Hi, I am currently working on a university final year project, where I am taking an existing piece of work and adding a useful element to it. I have started building the classic brick breaker game but...
View Articleg4p: Scale text according to panel size
Hello, is there a way to scale a text according to the size of the superior container? The size of the container depends on the sketch size which is set before running. I could change font size for...
View ArticleHow can I change the sprite in S4P during the game?
I want to change the image loaded in an instance of a sprite in S4P, just as in Pacman when the image of a ghost changes. I cannot find any method in the library to do this. Shall I create an instance...
View ArticleWebcam and video on 64 bit
I've been working for some time on a program using the usual import processing.video.*; and had no problem with it. Now for no apparent reason processing is telling me that video is only compatible...
View ArticleLive Video Streaming
i have a problem, when i live stream my video ,it will record but when i make it stop . it will make all my program hang and then i need to reset . can anyone of you let me know how i can overcome with...
View ArticleHow can I make this sound play every time the snake eats a square?
So i'm makin' a snake game as a project, and fortunately i'm almost there. The last thing I need is to make a sound every time the snake eats one of the random squares, but as it is right now, it only...
View ArticlecontrolP5 : changing color of bang, button, sliders.
How to change the colors of bang, button and sliders? TIA.
View ArticleMethods not visible in self made library
Hi. I have made a library to enable some quicker and easier interaction. I made it in eclipse, which does not find any errors. I have also tried to import it into Processing, which at least does not...
View Articlelook At
can someone help me with this : if i want to make/code something like " look at " (trekking object ,locking it and then make my camera follow that object automatically ). how can i do that , can you...
View ArticleHorizontal scrolling
hello, i would like to add a horizontal scolling bar to this sketch since i "lost" some data at the end of the windows i can't use the example in the reference since it uses an immage. Really i tried...
View ArticleCan Minim play more than one song at the same time?
Hi everyone! I was wondering if you guys know if minim could play more than one song at a time? I am trying to use an fsr sensor to detect when someone is pressing on a certain area of a mouse pad...
View ArticleImport location and velocity data from txt
Hello, I have a txt file that contains the location and velocity data for particles and I am trying to import it in processing but I have problem with the syntax. Here is an example of my txt file:...
View ArticleMaking a basic music sequencer with minim
I've started on a project to create a music sequencer with minim using instrument classes and playNote functions etc. I've got a sequence of notes working ok, but I have no way of looping them. Here's...
View ArticleHello, in the code below I try to give a random value to textSize in the...
[see below for code]
View ArticleHow to change permission in terminal I cannot use VideoExport Library.
Hi guys, I have a problem trying to use any of the code from the library of Video Export that they get the same error. Even with the code from the website itself here >...
View ArticleGetting audio and video in sync
Hi, I have some code to play a video with different soundtracks (or sometimes no sound) and I can't seem to get them in sync. The sound plays noticeably behind the video, maybe by about a third to a...
View ArticleResizing a captured image?
I'm trying to make a program that captures an image from the webcam, then reloads the captured image in different places on the screen. I'll do more with it later, but I want to iron this problem out...
View ArticleHow to export video to a folder other than the root of the project
Hey guys! I'm making a little application that basically allows users to record small video diaries from their webcam and integrated mic. (It'll be used as a design probe). I've made everything work...
View ArticleProcessing - random video array + webcam (to make security camera-type visuals)
I'm attempting to make the visuals for an art installation I'm working on, and I'm not quite sure how to go about it in Processing. Here's what I would like to do (I'll be using an old CCTV monitor):...
View Article