Skip to main content

Questions tagged [processing]

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

1 vote
1 answer
103 views

How to implement proportional guidance in 2D

I would like to preface this by saying I am not a dedicated game developer. I am trying to implement proportional navigation in order to create a missile class that receives the target location every ...
Stephan's user avatar
  • 21
0 votes
1 answer
118 views

Box2D & Processing - Collision location randomly assigned to center point

I am working on a particle simulation using Box2D with Processing. The setup: I generate 4 kinds of particles that exist in equal amounts (for instance 200 in total, 50 each). They are (for now) ...
wo_ste's user avatar
  • 11
-1 votes
1 answer
196 views

Mathf.PingPong equivalent in Java

I am making a 3D game with java using the Processing 3 framework. I need the Mathf.PingPong() function from Unity so that I can make a bouncing ball. Unfortunately, ...
Yeppii's user avatar
  • 3
0 votes
0 answers
141 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/...
Fudge Racoon's user avatar
1 vote
1 answer
1k views

Ray Caster - How do I fix fish eye effect on side walls?

I've come here because I can't seem to find out what's wrong with my ray tracer. I fixed the fish eye effect when looking straight on at walls, but the effect remains when the player is looking at ...
benneyHacker's user avatar
1 vote
1 answer
489 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 ...
Marc Rozendaal's user avatar
1 vote
0 answers
86 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 ...
Sydney Myers's user avatar
1 vote
1 answer
163 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/...
lockheed silverman's user avatar
1 vote
0 answers
42 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 ...
WeaponGod243's user avatar
0 votes
0 answers
118 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 ...
WeaponGod243's user avatar
0 votes
0 answers
34 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 ...
Jachdich's user avatar
  • 113
1 vote
0 answers
44 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 ...
lockheed silverman's user avatar
0 votes
1 answer
308 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 ...
Jachdich's user avatar
  • 113
2 votes
1 answer
5k 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. ...
StackingofOverflows's user avatar
2 votes
2 answers
465 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: ...
clankill3r's user avatar

15 30 50 per page