DEUTSCHE VERSION |
|
Links | | | Forums | | | Comments | | | Report news |
Chat | | | Polls | | | Newsticker | | | Archive |
[Login] [Register] [Forgot your password?] |
| |||
10.Aug.2023 Janne Peräaho (Mail) |
AmigaOS 4: Amiga Game Framework After Janne Peräaho dedicated himself to porting Python games to AmigaOS 4 among other things in the past (amiga-news.de reported), he has now started a completely new project: the "Amiga Game Framework". "Amiga Game Framework" is intended for programming 2D games under AmigaOS 4 and offers a user-friendly and intuitive C-API for 2D graphics, playing sounds, reading user input and more. Asked about the motivation and intention of his project, Janne explains that he intends to use it in future game ports, but also hopes it will inspire other programmers to write new 2D games for AmigaOS 4. The goal is to make the programming interface so simple that anyone with basic C programming skills can write a game with it. And he continued explaining: "The programming interface (API) is object oriented. First you create a game object by calling GetFrameworkInterface() function and then you can call the returned object's methods, like OpenWindow(), Line(), etc. The framework is a set of include files that you include in your code like this: #include <frameworks/game/game.h> " Janne has not yet published the source code of the framework because the event handler is still missing. Without it, you can't write real games because you can't recognise keystrokes or mouse movements, nor can you close the game window by clicking the close button. Currently, he is working on elementary geometric shapes, so-called graphic primitives. The project status picture on "OS4 Coding" shows which parts of the framework are finished and which are still in progress: All the planned drawing functions (graphic primitives) are ready, but some of them still need to be improved. Currently, he is still thinking about how music should be integrated: should one be able to control a CD-ROM drive to play music, should there be a software synthesiser that one controls, MIDI support, or should the music be streamed from an OGG/MP3 file. On his project page, he has published a few example pictures as well as archives. (dr) [News message: 10. Aug. 2023, 21:49] [Comments: 0] [Send via e-mail] [Print version] [ASCII version] | ||
|
Masthead |
Privacy policy |
Netiquette |
Advertising |
Contact
Copyright © 1998-2024 by amiga-news.de - all rights reserved. |