Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Browsing all 2896 articles
Browse latest View live
↧

How to set up a menu that disappears and goes to game when clicking with mouse?

Hi, I'm trying to implement a menu into my simple game. All I am trying to do is to have this rectangle displayed with some text, and when the mouse is pressed, the rectangle disappears and the program...

View Article


Senior Project. Help!! Making Rollovers Stay After being Rolled Over

Hi! We're working on our senior project and need help making rollovers stay on the screen once they've been rolled over. We're using basic mouseX and mouseY to define where the rollovers appear. The...

View Article


Sometimes my character stops collecting the "food"

Hello everyone! I'm making a snake game where an individual icon collecting "food" but sometimes the icon wont pick up the food and sometimes it will and then will stop at some random point. Is there...

View Article

Project problems (ParticleSystem / Video)

Hello all I am new to processing and have a question with regards to how I would fix my code. import processing.video.*; Capture video; PImage prevFrame; float threshold = 50; void setup() {...

View Article

Where is toxi.geom? I can not find it anyware.

I am trying to install Processing for the MPU6050 and MPUTeapot. MPUTeapot uses the library toxi.geom. But I can not even find the library.

View Article


How to create barriers in a code game?

I am new to processing and i currently have an ellipse that floats around the screen and its direction is controlled by the arrow keys. However, I want to make barriers in a maze like form that will...

View Article

Why wont my game start??

Hello again! I'm sorry for posting so much, but I want to keep updated with the progress I make. So I have my homescreen working. I have my game here in the code too, but why isn't it playing after the...

View Article

Particles appear in the same place (Video / Particles)

Hello all I have working piece of motion detection that is supposed to place my particles where it is detected but I am having an error on line 67 ish with the argX and argY saying that they do not...

View Article


unexpected token: void error????

Hi, I've been running into this strange error: unexpected token: void. I've been double checking my code to a previous version of the code that was working properly, and there is very little change,...

View Article


Verlet Physics, Simulation of rigid body with complex geometry

Hello there, I am trying to make a body with complex geometry move with gravity. For this I created a grid of particles that all are "attached" to each other with springs and have gravity behaviour....

View Article

Create progress bar for song.

Hello, I'm trying to create a code that will play a song and have a bar created across the campus in relation to the player's position in the song. Right now I am able to create a line that moves...

View Article

Play sound at a URL?

Is there a way to play an audio file at a URL using the processing sound library? I tried just feeding the URL into the path but it didn't work, the console just complains that the file can't be found....

View Article

How do I use minim analyzer with an AudioPlayer[] ?

I'm currently working on an end of semester project and my project uses an AudioPlayer[] so that I can play multiple tracks at the press of a key. However, I'm trying to run an oscillator alongside the...

View Article


Problem With ListBox in g4p

Whenever i start this projecthttps://www.dropbox.com/sh/pirmg24uz0rz6io/AAA0skTr9mW2hvPTDbMVRRHea?dl=0, add a new oscilator and try to select one it crashes. Thank you for helping me.

View Article

Where can I edit contributed library source code?

I'm using Minim library and I need to do one of two things: I need to either extend a class in the library, or make some alterations to the minim source code. The problem is: I have no idea how to...

View Article


Opening A Webpage Inside Sketch

Is there anyone who can give me idea on how to open webpage inside sketch and not outside the sketch(browsers) with the help of controlP5 ?

View Article

Turn audio input sound into color

Hello all, I am currently having some major trouble attempting to turn input sound into color (using minim fft). I am hoping to use bandpass filters to set three frequency ranges and then use the...

View Article


Target VM failed to initialize?

Hi, I just tried to run the AmplitudeRMS sketch from the Processing Examples but Processing quits with: "Could not run the sketch. Target VM failed to initialize." Any ideas why and how to resolve...

View Article

Fix Capture Bug and Game Over Screen. (Runnable Code!)

``Hello everyone! So I have been making a game similar to the traditional snake game. The difference being that it is on individual shape catching the food rather than it growing. However, after awhile...

View Article

setVisible

I have the following program creates cubes and changes them. I am trying to make the cubes invisible until they are activated in updatecells, but I want them part of my overall VBO that is created...

View Article
Browsing all 2896 articles
Browse latest View live