Questions tagged [processing]

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

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
70 views

Building battle ship in processing. How do i connect the ships together and randomize the location of the ships?

ive been working on this side project trying to make a battle ship game from some time now. I have come across a few things I do not know how to do. I was wondering if anyone knew how I could make ...
1
vote
0answers
30 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 ...
1
vote
0answers
34 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 ...
1
vote
0answers
300 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. ...
0
votes
1answer
51 views

How to create same paradigm of monobehaviour and processing in C++

Having worked with monobehaviour and processing before, is it possible to create the same paradigm both frameworks use which basically is writing all code in two main functions, start/setup and update/...
0
votes
0answers
16 views

Stencil not working processing

With jogamp I can create the following stencil: ...
0
votes
1answer
142 views

Topdown Game Collision Detection

I am working on a simple game with topdown movement, but I am unable to get the collisions to work properly. I know the collision detection itself works, but the constraining of the player is where I ...
0
votes
0answers
63 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
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 ...
0
votes
0answers
139 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 ...
-1
votes
1answer
151 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 ...