Make up a game with free Pascal and how to save it

Updated on Game 2024-04-11
10 answers
  1. Anonymous users2024-02-07

    This problem is too big, and it takes some programming foundation

  2. Anonymous users2024-02-06

    In the process of input, press Ctrl+Pause Break (the last key in the first row of the keyboard), then exit debugging, if you want the program to stop at a fixed position, you need to press Ctrl+F8 where you need to stop, set the breakpoint, and then press Ctrl+F9 to run, you can stop at the breakpoint, continue to press Ctrl+F9, and it will continue to run.

  3. Anonymous users2024-02-05

    Save ** is f2, compile is f9, run ctrl+f9

    After it has been run, there will be an exe file with the same name as your pas file, which is the compiled program.

    If it's like reading ABCD, reading AB to exit, and then coming in and then reading CD and then running, FP doesn't seem to support that operation.

  4. Anonymous users2024-02-04

    First: F2 in Free Pascal is the shortcut key that will be saved in the path you specify.

    Second: One-dimensional arrays and character arrays are more useful, while two-dimensional arrays are difficult to understand, but they are not as useful as the first two.

    The third sort is actually enough to master a method, but since the landlord mentioned the high school information Olympiad, so the basic sorting must be able, not only sorting, but also other methods of calculating fortune years, such as binary trees, dichotomies, bubbling sorting, and so on.

    Fourth: Last suggestion, because I studied delphi, delphi uses pascal as the basic language, which is similar to object pascal. So the advice given should help.

    Because Delphi is visual programming, the interface is not recommended. In the case of Pascal alone, algorithms and data structures are important, and landlords can delve deeper into these two directions.

  5. Anonymous users2024-02-03

    There is save in the file menu, and you will be prompted to save it when you exit directly.

    The few you mentioned are still just the most basic data structures, and there will be more complex ones in the future, all of which are very useful, and you can't fail to learn any of them well.

    As for sorting, quicksort is the most commonly used, but the others also need to be mastered.

    The study suggestion is to carefully study the set of books of the old man Wu Wenhu. Initial.

  6. Anonymous users2024-02-02

    It is to store the variable values of all the current states of the game in the archive file according to a fixed format, and restore the corresponding state variables for a long time when the game is opened next time to read the progress, so that you can continue the last game without changing the game logic.

  7. Anonymous users2024-02-01

    It is recommended that you give up, you can learn C or C++, use them to make up, using free pascal is very troublesome, difficult, and the quality of the code is very bad.

    Of course, if you have to use it, then Free Pascal has a drawing unit, use this to draw, the game is mainly drawing, so, the drawing has, the rest is easy to compile.

  8. Anonymous users2024-01-31

    Hello! Some simple games are easy to implement.

    Such as guessing boxing, guessing numbers, etc.

    But some things like Bomberman, Plane Wars, and the like are more difficult to implement, and even if they do, the visual effect is not good.

    So it is recommended to use other programming software to edit thank you.

  9. Anonymous users2024-01-30

    Embarrassment.

    I made up a turn-based RPG myself....It sucks.

    I've also seen minesweepers or turn-based strategy games online. It's okay, but if you want to make up a good game, I convince you to give up. On the one hand, Pascal couldn't make up a real-time game. It is also not possible to use a mouse.

    Go for Delphi. I don't know if it's okay.

  10. Anonymous users2024-01-29

    Many arrays hold the current state. (Low-level ones don't use).

    Output the screen non-stop.

Related questions
4 answers2024-04-11

There shouldn't be much comparison between this, and game production will also involve programming, of course, in addition to programming, it will also involve art, because there will be character settings, interface settings, etc., of course, for large companies, different tasks will be assigned to different people to complete.

7 answers2024-04-11

The game is pronounced game in English and is pronounced [ɡe m]. >>>More

12 answers2024-04-11

Programming is to use a combination of some English words to let the computer know what you want to do Simply put, it is to divide what you want to do into steps that the computer can understand, and then translate it into a language that the computer can understand.

20 answers2024-04-11

When coding, we use the debug mode, and the debug version of the program is generated. After the program is written, it needs to be released, and the release version needs to be generated. >>>More