knexcar / Custom-3D-Racing

A project I created in high school senior class using the "Processing" application. My goal was to create a 3d game using only 2d drawing methods. I did this by using mathematical functions to transform the 3d points in space into 2d points on the screen, and some simple logic to decide what was drawn first.
1 stars 0 forks source link

ControlP5 Implementation? And need Help ? #1

Open LoubiTek opened 6 years ago

LoubiTek commented 6 years ago

I tested your game that I find rather well, set apart some display bugs. (blink and distor)

I wondered if using the ControlP5 library could be very useful for a better user interface (GUI). I thought of several things to make the game more fun and cool. I would like to collaborate for graphics / audio / level and game design.

I understand that in the state, the game and still at the prototype stage. But why not improve it and make it more and more autonomous. =)

I mean by a change of music and sounds. I'm not sure that use of this kind is allowed ..? License problem. If necessary I can contribute to the level of audio! ;)

For the moment I haved to make some change in the source code. Like this in CUSTOM_3D:

// Window Parameters
int RenderWindow_w = 1280;
int RenderWindow_h = 720;
String RenderEngine = P2D;
byte FPS = 60;

// Init
void Initialize ()
{
    size (RenderWindow_w, RenderWindow_h, RenderEngine);
}

// Settings
void settings ()
{
  Initialize ();
}

void draw ()
{
  println ("FrameCounter =" + frameCount + "| FPS =" + frameRate);
}

void mouseClicked ()
{
  Show_FPS ();
}

And in Menu:

// GUI
import controlP5. *;
ControlP5 cp5;

void Show_FPS ()
{
  cp5 = new ControlP5 (this);

  // Show FPS
  cp5.addFrameRate (). setInterval (1) .setPosition (width -20.0) .setColor (0);
}

Here ! Having trouble with math I can not be of any great help on this. But I like to learn to program and coded for creativity. ^^

On the other hand I have some knowledge also in 3D modeling in low poly with uv mapping technique (for texturing) with Wings 3D software.

If I can be useful to you for anything, let me know! I will be glad to help you !

knexcar commented 6 years ago

Feel free to collaborate. I've been pretty busy lately, and to be honest I haven't done much with this project ever since I got out of high school, but I would be willing to get back in and add new features.

I wondered if using the ControlP5 library could be very useful for a better user interface (GUI)

A checkpoint system! Because possibility to just make the turn of the start sign. (Default and Snow level). Or block the access completely with walls on the sides.

I mean by a change of music and sounds. I'm not sure that use of this kind is allowed ..? License problem.

On the other hand I have some knowledge also in 3D modeling in low poly with uv mapping technique (for texturing) with Wings 3D software.

  • Have a menu of options (show fps, volume control, fov, ...?)

  • Allow to choose a large amount of colors with a color picker system for cars. In order to make a customization for the multi especially. Even if it is true that there will only be 3-4 players simultaneously. So may not be necessarily useful.

  • Add other vehicles (motorcycle, kart, truck, ...?)

  • Traps, Enemies too? We can discuss it.

Feel free to create a branch to add your code. I've not really used Github a lot, so would I have to add you as a contributor before you could do that?

LoubiTek commented 6 years ago

👌 Perfect ! I just created a fork here: https://github.com/LoubiTek/Custom-3D-Racing

I try to restructure the code at best (in my own way). For example, adding an Audio.pde / GUI.pde

I created a small sound (sound_0) for the start of the countdown with a synthesized voice (3.2.1 GO!). That I could of course rework if necessary!

I work at this moment on the musics that I must curl with a rather short time according to the level. Quite complicated to syncronized ... I chose to have a Chiptune sound (with MIDI) for the whole game. In order to have something quite retro because I like everything simple this.

As well as a model for a truck. I am waiting with impatience for this import of obj. And besides, for textures the MTL format may be available! Which is often complementary with the obj format.

Hum, I still have many questions.

For example: The snow level

Snowman Fir Chalet/Cabin etc ...

Or

The desert level (which is not create, but can be done!) Catctus Oasis Pyramid etc ...

In fact I already have a model of a cactus and several mushrooms.