From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Game programming in Ada (was: Where to find Ada GTK example programs to try?) Date: Sat, 09 May 2020 02:38:03 +0200 Organization: A noiseless patient Spider Message-ID: <87sggaj638.fsf_-_@samuel> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="33318633af9591aa6d03d830e79045e4"; logging-data="21605"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NNkLau6w1fJ7N1Krfzaep" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:XUT0+UCRlgeSUm96nliN8Od43No= sha1:14cwToKXluVDJ9owYnLEGRy+fy0= Xref: reader01.eternal-september.org comp.lang.ada:58635 Date: 2020-05-09T02:38:03+02:00 List-Id: > I would not classify computer games as GUI. And I would not start > doing this from scratch in a GTK's drawable area! I did some 3D scene > simulation in OpenGL about a quarter of century ago. That was no > fun. Today you will need more than a human life span in order to catch > up with modern 3D engines. Go for a ready to use stuff. Write Ada > bindings if there is no any. It is true that writing a high-quality 3D game is not feasible for a single individual, especially not a beginner. However it is still possible to write 2D and pseudo-3D games and there are lots of tutorials to help get started; almost all such games use SDL, so I'd encourage the OP to look at that. Like GTK, SDL was written in C for the explicit purpose of facilitating bindings to higher-level languages and SDL has bindings for Ada and many other languages. Unfortunately no Ada-specific tutorials but plenty of Pascal, Python, Lua etc. tutorials. -- Ludovic Brenta. The game is all about high quality, stress management, openness, corporate governance, and white-collar productivity - not evolution, strategic staircase, cost rationalization, and leadership culture.