Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Is there some way to make some sort of graphics for our game on this platform or do we have to upgrade?

+7 votes
asked Dec 1, 2025 by Kiaan (190 points)

1 Answer

0 votes
answered Dec 2, 2025 by Peter Minarik (101,340 points)

In this thread the Admin explains how to use the "Display Screen" feature.

In any language, you can do character graphics.

I have written a silly 2D raster renderer in Java and C++, where you can render lines and polygons drawn on the character screen. Here is the C++ version.

Otherwise, for any proper graphics, you'd need things to run on your local computer, not on a server (as it happens with OnlineGDB). Look into

  1. PyGame
  2. Unity
  3. Unreal Engine
As you go down the list, the difficulty to use increases, but so do the features offered by the engines.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...