Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [processing]

Processing is an open source programming language and integrated development environment (IDE) built with Java

Filter by
Sorted by
Tagged with
1
vote
1answer
47 views

Collision Detection For A Maze/Cave

I have a simple code written in Processing 3.x that I am using to test out the collision detection for a cave/maze. The code is here: https://github.com/NoahJon3s/New-Journey-The-Game/blob/master/...
1
vote
0answers
22 views

Slow Processing Sketch

My game runs through a processing sketch. When I export the .jar file from Eclipse, the sketch moves incredibly slow, but it runs at the proper speed in the IDE. Is there a way that I can fix the jar ...
0
votes
0answers
53 views

Spritesheet Usage

I am working on an RPG game and I am storing most of my textures in separate .png files, but for my sprites I would like to use a sprite sheet. How do you cut and store the sheet into individual ...
0
votes
0answers
9 views

Assertion error when using .setFixedRotation

I'm new to Java and coding. I'm trying to create a tower building game using Box2d for Processing. The premise is to build up a tower that has to resist a shot from a cannon. The tougher the tower, ...
0
votes
0answers
27 views

Find mouse pos in 3D space?

I have a game where there is a set of tiles rotated 45° away from the camera. I want to work out what tile is being hovered over by the mouse, and for that I need to translate the mouse pos on the ...
1
vote
0answers
29 views

Issues With Buggy Collision Detection

I am working on a small game in Processing 3. Essentialy I have a small open-world game and I wrote up a enemy AI to make the enemies wander aimlessly back and forth around the gameworld, and chase ...
0
votes
1answer
32 views

Face culling all faces that cannot be seen [duplicate]

I'm working on a simple 3d game using the Processing Java environment. I want to optimise my code so I can draw many many 'objects' (the world is made up of many different shaped objects that live ...
2
votes
1answer
605 views

Reading a Binary File in Unity

I am trying to display the first two bytes of a binary file as a test. I have the following code. ...
1
vote
2answers
74 views

How can I check if the mouse hits a quad in 3d, and where it hits it?

I have a sketch that produces the following: ...
1
vote
2answers
105 views

How to develop custom Unity graphics?

Processing is a Java library for working with computer graphics, providing methods by which to draw primitive objects, custom meshes, etc., as well as mathematical methods (such as Simple Harmonic ...
0
votes
1answer
85 views

Why can't I load images in processing.js and let them be dynamic?

I can't easily load images. I can only render an image once unless I put this: <img src="images/papermario.png" hidden></img> in my html. I also still ...
0
votes
1answer
17 views

Importing audiofile into Unity3d gets shown after ending playmode

I am working on a game where the user has the possibility to import custom audio tracks that can be listened to during the game. For this I am making use of System.IO.File.Copy method. This works, ...
2
votes
1answer
105 views

Unity and arduino processing

This question relates to this link: https://www.freetronics.com.au/blogs/news/6537043-experimenting-with-unity-processing-and-arduino#.W2-SFs4zbIU Does anyone have any idea how I would begin doing ...
1
vote
1answer
559 views

Snake game made in processing

I have been working on this snake game for a few days, and I have the basics down, but I was wondering if anyone could help me figure out the tail. I need it to follow the body, as it does in the ...
0
votes
1answer
120 views

Creating terrain

I am working on creating a 2D side-scrolling car game. My problem is generating the terrain. When creating the terrain, I need to have it random and recorded, so I can create collisions at a later ...
1
vote
0answers
286 views

Rotation of a point around axis using quaternions

I have a simple processing program to rotate a point around arbitrary axis but it stops after a bit. I'm trying to get full rotation of the point around the axis. ...
4
votes
1answer
724 views

I want to render a texture2d on to the screen in unity, how do I do this?

So I have modified a texture in C# by removing all of its white pixels, now I want to render it on the screen in unity so that later I can use it as a terrain where I can make my sprite walk. So far, ...
0
votes
1answer
526 views

javascript efficient collision detection [closed]

I have a processing game where I am having serious lag problems with collision detection. I am using the most effective code I can think of however after about 9 levels in The game gets unbearably ...
0
votes
2answers
224 views

How to make the character cannot pass through other randomly moving objects when they are collided?

As the title above, how can i make my random wallImg solid enough so that my birdImg cannot pass through it from any sides of the wallImg? Here's the code of Processing's Crappy Bird that i've altered ...
-1
votes
1answer
984 views

How to make smooth 2-d zooming in Processing

I am making a 2d game with camera zooming using Processing. Currently, my program reduces the size of each block by one. This works very well when there are only a few blocks on-screen, but not when ...
-1
votes
1answer
131 views

Collision problem JBox2D

I work with Processing and the JBox2D library and wanna code a new Ping Pong game. But if I move the player to the top border (or lower border), he collide on a wrong position. The picture shows ...
0
votes
0answers
135 views

Translate click on screen to point on plane in 3D space

I am creating a 2.5D game with the camera at a slight angle, like so: The grid is the "playing field," and the positive x, y, and z directions are labelled. I already know all the details about ...
3
votes
1answer
3k views

Processing - implement a first person camera?

First off, I'm sorry if there are duplicates of this. I did an extensive Google search but was unable to find anything that made sense to me. (I am new to 3D rendering and such.) I want to make a ...
1
vote
1answer
472 views

Models not rendering when far away

I am making a game where objects are represented by colored cubes. I have files that mark the location and rotation of the cubes. I've been using Processing's 3D library and the cubes disappear within ...