I want to write a game and i need some advices

  • Hello world! :)

    First of all, sorry for my English, but I don't know where else to ask for advice besides this forum.

    Since I was unable to register on the atari-forum.com, there very serious protection (((( Or they don't want to see somebody new )))


    So I wanted to register because i want to ask for some tips on programming for the Atari ST

    I programmed by myself approximately 15-20 years ago, in Pascal and Assembler under x86 as for sure, since then I have forgotten almost everything (((

    Now I have one idea for the game. And I decided to write this game. Next year will be the 40th anniversary of the release of the Atari ST series, so I decided why not, i can write a new game for the system.

    The game will be simple, but nevertheless, I haven't come across such a game yet :)

    And it will be great to play it alone or together. There will be nothing to go somewhere and collect, just two people start playing and compete against each other and everything depends only on your reaction.


    As for programming, I definitely need to work with the joystick (especially so that there is a reaction to the button being pressed and released, so that the player does not play with the joystick button pressed all the time, but has to release it)

    Also I need some work with timer. I just don't understand how to organize it. Atari ST doesn't has a built-in clock? How to program a some certain time, during which the position of objects changes?


    Less important to me, but would be great. Is this work with sound, so that some melody may be playing in the background?

    And also, that there should be some standard procedure for opening the some picture, so that the game has a loading screen.

    Although the last two points are not fundamental, if everything is so complicated that i should have to write music and draw a picture yourself, programmatically.

    Because in general, the game is so simple that it actually only needs text characters and can be completely monochrome, without color.


    Well, of course, I need the game to have one program file so that it runs on a computer where there are no third-party programs.


    I also wanted to ask about programming environments.

    I'm mainly looking at pascal, as I hope to be able to remember something about how to program there.

    I already searched a little before, in this direction and found the Personal Pascal environment. Also I was able to find the documentation in pdf format in English.

    But I don't really like the environment and this Pascal does not know assembler inserts like, for example, Turbo Pascal under MS-DOS. In assembler, you could make many of your own wonderful procedures that improved the quality of the final program. For example, a procedure-reaction to any pressed button, which immediately work. And not like the pascal function "readln" when you call it, you can write text over the image of your program and only when you press the "enter" button, then the program will continues. It's not interesting at all, especially for games :(


    There is also a Pure Pascal environment. It seems to have been written somewhere that it is very similar to Turbo Pascal, but it is a German program with a help file in German. There is also no documentation here ((( Maybe someone has it?

    There I simply will not be able to use standard Atari ST procedures for working with a joystick and something else that is not standard like music and pictures (((

    Maybe someone can say something about Alice Pascal? is somewhere any manual?

    I also found the STOS basic environment.

    Can someone advise me if this is a good solution for writing a game? It seems to have everything I need, although I have never programmed in BASIC. But maybe not everything is so complicated and bad? There is documentation from him

    https://stocoders.com


    But there is a very bad environment, it is nothing at all, like BASIC built into the ROM memory (((


    Can anyone give me some advice?

    Maybe you can suggest me some other programming solutions?

  • Another source for advice my be the forum http://www.atari-home.de/

    which is operated by us as well like this forum, so there will be no hurdles to join.

    For the language to choose for games,I am pretty certain every fast arcade style game with decent graphics and sound is/was made using 68000 assembler, followed by C.

    On the Amiga, there are two late BASIC derivatives (Amos and Blitzbasic) with which coding of arcade games was possible as well with little drawbacks compared to assembler but

    the learning curve was off course much steeper compared to learning assembler - maybe there is something similar available for the ST as well.

    For eveything else where speed does not count and you do not need to code bare metal you could use almost any language. Maybe not UCSD Pascal as machine specific (graphic/sound) capabilities are very limited

    Telex 563140 goap d

  • That forum is, sorry to say, mostly dead, only a hand full of peoples left and no one of them has skills in game programming.


    Better go to the english forum, there are many game/demo programmers left. https://www.atari-forum.com


    By the way, if you want easy doing in programming games, check out the STOS language / developement environement. That is a kind of BASIC compiler with a lot of libs for easy entry into this topic. Also some really amazing scene demos also have been built with that.


    STOS BASIC - Wikipedia
    en.wikipedia.org

  • 1ST1 Thank you for the link with Atari ST documentation. Yes this is what from i should to start
    And about STOS basic i wrote in first message. It seems to have everything I need, only its environment is very bad.

    Although I just realized that I can write programs in another editor, and in the original environment I can only try them for launch.

    Toshi

    It's all right, but it's very difficult to learn C and assembler from the beginning :(

    I think I will stay on this forum. I will definitely have more programming questions. I hope somebody will help me here.

  • You can't register on the english atari forum? Tell me your registered mailadress and username by personal message and I'll contact someone over there to assist. There are sometimes troubles to register there. For STOS forum I don't know, but maybe you find someone in the english atari forum who is also active there.

  • is there maybe a cross development package for the PC available? If not maybe development using an emulator may be a less frustrating effort (lower risk to loose data because of old storage systems, faster compile/link times)

    Telex 563140 goap d

  • On the Amiga, there are two late BASIC derivatives (Amos and Blitzbasic) with which coding of arcade games was possible as well with little drawbacks compared to assembler but

    the learning curve was off course much steeper compared to learning assembler - maybe there is something similar available for the ST as well.

    Did I get that right? You are saying that learning Blitzbasic has a *steeper learning curve* than 68k assembler on the Amiga? I don't think you meant that, right? :/

  • Toshi Yes i working in ST emulator "Hatari"
    And i can't fully understand how to run correctly STOS from "hard disk" I have something other than in manual.
    I don't have an "options" in my equipment.

    Also all those Pascal's are not working from hard drive (in emulator) too. Programs doesn't understand hard drive size and i have problems with opening and saving files (((
    I should to work with files only on a virtual diskette.