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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6e61ebb7f2e02c94 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-05 09:16:25 PST Message-ID: <3D4EA226.59800A83@sympatico.ca> From: David Marceau X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.17-10mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Graphics with ADA ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 05 Aug 2002 12:04:54 -0400 NNTP-Posting-Host: 65.92.166.142 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1028563954 65.92.166.142 (Mon, 05 Aug 2002 12:12:34 EDT) NNTP-Posting-Date: Mon, 05 Aug 2002 12:12:34 EDT Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:27713 Date: 2002-08-05T12:04:54-04:00 List-Id: Jim wrote: > > i want to have a go programming a game for ADA, except i dont know how > to use graphics, i know ADA isnt the best language for games, but its > the only language i know unfortunately. > > does anyone know where to get tutortials for graphics ? 1)platform independent gtk gtkada binding http://libre.act-europe.fr/GtkAda/ This one I tried and it has a lot of components to offer. Check out the demos very carefully there are a lot of hidden perls here :) Tree controls, tables, interconnecting node graphs usable for creating UML tools :) It is most likely you would want to use this since it runs on linux/Unix and windows. 2)platform independent sdl adasdl binding http://sourceforge.net/projects/adasdl I haven't tried this one. 3)Linux 2d/3d graphics with ada http://www.mysunrise.ch/users/gdm/e3d/engine3d.tgz You'll need svgalib: http://www.arava.co.il/matan/svgalib/ This is straight console graphics. There are no XWindow or windows in this one. Potentially embeddable :) What do I mean potentially? I mean you could if you wanted to :) I'm sure someone has :) 4)proprietary windows95/nt/2000...If you want to do game programming in ada95 with just MS-Windows in mind, then consider using gnatcom in order to reuse direct2d, direct3d, directshow filters. 5)Consider using jgnat/cafe 1815 to connect to JAZZ(an open-source java zui zoomeable user interface built on top of swing/awt). http://www.cs.umd.edu/hcil/jazz/download/index.shtml It's less likely that you use this however the design and JAZZ's patterns are inspiring source code to rewrite in ada/svgalib/sdlada/gtkada. Again there are many hidden perls in the jazz source code, architecture and design patterns. It's worth the look. Cheers, David Marceau