Particle simulation supported by threading and SFML library.
This application simulates bouncing particles. There are 3 different ways to spawn the particle. First is specifying the starting line where particles spawn. Second is specifying 2 angles where particle are arranged. Lastly each particles will have different velocity. In addition to controlling the parameters or constants, the application allows you to switch between explorer mode and developer mode. Developer mode is responsible for controlling the behavior of particle spawn. While explorer mode displays the periphery of the sprite, which is distinguished as red circular ball. During the explorer mode, the user can dictate the movement of sprite using keys w (up), a (left), s (down), d (right). To switch between two modes, tick the checkbox as indicated in the images below.
_Explorer Mode_ _Developer Mode_ _1st batch_ _2nd batch_ _3rd batch_The required IDE to run this application is VS2022. Please be reminded that this application is not compatible with the VS2019.
To compile the cpp file clone or download this repository. Open the solution folder inside Problem-Set3
and then follow the guide below to update the directories inside the project property. All external libraries are contained in this repo.
- Project directory
- General Configuration
Click the setting icon as indicated in the image. For
Problem-Set3
folder there are 3 solution files expected, namely Client1, Client2, and Server. Click any of the item to start the configuration
- VC++ Directories
- Configure Linker/Input
- Paste the files to the application folder
```bash
C:\your_address\ParticleSimulator-CPP\Problem-Set3\Problem-Set3\x64\Debug
C:\your_address\ParticleSimulator-CPP\Problem-Set3\Problem-Set3\Client1\x64\Debug
C:\your_address\ParticleSimulator-CPP\Problem-Set3\Problem-Set3\Client2\x64\Debug
```
Now the IDE can compile and run the particle simulator application_