C++ on LPCExpresso-1769 to make 3D pong console

  • C/C++
  • Thread starter mr.Jelle-Beat
  • Start date
  • Tags
    3d C++
In summary, C++ was chosen as the programming language for the microcontroller because of the benefits it offers for Object Oriented Programming and its ability to calculate vectors and 3D views. It is definitely a interesting project and we hope you have success with it.
  • #1
mr.Jelle-Beat
1
1
Hello, PhisicsForumsWe are a group of students from the Avans University of Applied Sciences. We're currently doing a project where we have to design and make a 3D pong console.

The idea of the project is to make a "Dedicated Video Game Console" that can be remotely controlled by remotes using infrared communication.

For the game logic we're using a microcontroller and for the rendering of the frames we're using a FPGA.During the "design-phase" of our project we have made a lot of decisions,

One of them being: The programming language running on our microcontroller.In the end after a bit of discussion we’ve decided to use C++.The reason we've decided to choose C++ as the language for our project is because we think that some of C++'s functionalities can be quite helpful considering we have to program a version of the game 3D Pong. This mostly has to do with the ability to do Object Oriented Programming. We don't necessarily think that, even though C++ is known to produce much larger programs than regular C, we'll run into any program memory problems since we have 128KB of it.(Although we have no practical experience to confirm this).So, considering our project, is choosing C++ to use on a LPCxpresso1769 a reasonable choice? Would the obvious alternative(C) maybe a better choice? What are the risks and downsides of using C++ and it's additional functionalities compared to using other languages?
 
  • Like
Likes Greg Bernhardt
Technology news on Phys.org
  • #3
You should check if your compiler supports C++ for the microcontroller you'll be using. Interesting project.
 
  • #4
@NRoos The NXP eclipse version does support C++ for the LPCExpresso1769.
To answer you questions. Do you need C++ for the game logic?
In my opinion it is handy because of the OO.
Besides it being object oriented it is also handy to use C++ if you want the MCU to calculate the vectors and "3D" view.
You can find a lot of libraries that do this for you.
And yes this can be done in C but you will have to write your own library(or find one what i didn't manage to do).
This does require a bit more of math knowledge.

It definitely is a interesting project. Please keep us updated
Good luck
 

Related to C++ on LPCExpresso-1769 to make 3D pong console

1. What is C++ and how is it used in creating a 3D pong console on LPCExpresso-1769?

C++ is a high-level, object-oriented programming language that is commonly used in software development. It is used in creating a 3D pong console on LPCExpresso-1769 by providing the necessary code and instructions for the device to run and display the game.

2. Is it difficult to learn and use C++ on LPCExpresso-1769 for creating a 3D pong console?

Learning and using C++ on LPCExpresso-1769 for creating a 3D pong console may require some prior knowledge and experience in programming, but it is not overly difficult. With dedication and practice, one can become proficient in using C++ for this purpose.

3. Are there any resources available for learning C++ on LPCExpresso-1769 for creating a 3D pong console?

Yes, there are plenty of online tutorials, courses, and documentation available for learning C++ on LPCExpresso-1769. Additionally, the device's manufacturer may also provide resources specifically for creating 3D pong consoles.

4. What are the benefits of using C++ on LPCExpresso-1769 for creating a 3D pong console?

C++ is a powerful and versatile programming language, making it suitable for creating complex and interactive applications such as a 3D pong console. It also allows for efficient memory management and optimization, which is crucial for running graphics-heavy games.

5. Can C++ on LPCExpresso-1769 be used for creating other types of games or applications?

Yes, C++ on LPCExpresso-1769 can be used for creating a wide range of games and applications, not just 3D pong consoles. Its flexibility and performance make it a popular choice for game development and other types of software development projects.

Similar threads

  • Programming and Computer Science
12
Replies
397
Views
14K
  • Programming and Computer Science
Replies
3
Views
1K
  • Programming and Computer Science
Replies
1
Views
399
  • Programming and Computer Science
Replies
7
Views
524
Replies
6
Views
1K
  • Programming and Computer Science
3
Replies
86
Views
10K
  • Programming and Computer Science
Replies
1
Views
955
  • Programming and Computer Science
Replies
3
Views
1K
  • Programming and Computer Science
Replies
5
Views
1K
Replies
2
Views
906
Back
Top