How to make object collision in easy language, and how easy language to collide with objects

Updated on technology 2024-05-22
15 answers
  1. Anonymous users2024-02-11

    Version 2 Subroutine button 1 is clicked.

    Clock 1Clock cycle 1000

    Subroutine Clock 1 cycle event.

    Local variables, right-shifting distance, integer-type, static.

    Judgment begins (Box 2.)Box 1 on the leftBox 1 on the leftwidth) clock 1Clock cycle 0

    infobox ("collided", 0, ).

    Default. Box 1Move (Shift Right Distance, Shift Right Distance, Shift Right Distance, Shift Right Distance, 5.)

    End of judgment. <>

  2. Anonymous users2024-02-10

    It's done, how can I send it to you, baby, give it extra points to the praise! It's a brain-wrenching program!!

    Version 2 Assembly Window Assembly 1

    Subroutine button 1 is clicked.

    Clock 1Clock cycle 1000

    Subroutine Clock 1 cycle event.

    Box 1Move (take random numbers (0, 250), take random numbers (0, 250), Box 2Move (take random numbers (0, 250), take random numbers (0, 250), if (Box 2.)Left 40 **Box 1Left and Box 2

    Top edge 40 **Box 1Top edge and Box 1Box 2 on the left 40

    Left and Box 1Top edge 40 **Box 2top edge).

    Clock 1Clock cycle 0

    Infobox ("Oops, touched!") ”,0, )

    Otherwise. If it ends.

    The subroutine Startup Window is created.

    Set a random number seed (250).

    Take a random number (0, 250).

  3. Anonymous users2024-02-09

    Version 2 supports the library iext2

    Assembly Window-by-side excavation assembly 1

    The assembly variable car a, an integer.

    The assembly variable car b, an integer.

    Assembly Variable Variable 2, integer.

    Variables required].

    The subroutine Startup Window is created.

    Car A Animation Box 1Create an object (,1, 1, true, )car b animation box 1Creating an object (,50, 50, true, ) is a representation of the object with variables

    The subroutine Animation Box 1 collides with the object.

    Parameter Collider Identification Value, Integer.

    Parameter abscissa before collision, integer type.

    parameter pre-collision ordinate, integer.

    Parameter The value identified by the collider, integer.

    Judgment Start (Collision Object Identification Value Car A) Variable 2 Variable 2 1

    Judgment (Identification value of the collided object car b) Variable 2 Variable 2 2

    Default. End of judgment.

    When an impact occurs, determine whether car A or car B is collided by judging the ascending body mark of the object cover, and then realize that car A is collided with a variable +1 and car B is collided with a variable +2].

    Generally speaking, you use 2D support libraries to make games. Why use animation frames? This is a trumpet.,Due to an accident.,Can't use a large trumpet.,If there's still a problem, send a private message to the "sun on QQ" trumpet generally doesn't land.]

  4. Anonymous users2024-02-08

    This can be detected with the Animation Frame component! The Animation Frame component has such an event! Me

    Shi Shi

    Pets

    The power is with me

    Give me strength

  5. Anonymous users2024-02-07

    Detect the top and left edges.

    If (*top edge=**..)top edge).

    Infomaniac ("Collided",,)

  6. Anonymous users2024-02-06

    You can go and see the Animation Box component.

  7. Anonymous users2024-02-05

    You can watch Shibao's tutorial, which is talked about.

  8. Anonymous users2024-02-04

    Ouch,If you're a novice.,Trouble cutting it into a picture**,Make a gif animation,It's the most convenient.,When the time comes, just load it with the **box.,But it's the roughest.。 If you are not a novice or an old bird, you can try what game engine module to use, such as D2D that has gone bankrupt (there are still modules flowing into the network), and there are generally tutorial guidance. If you use the GDI+ module, the graphics class or the image class will have a splitting function, and when the time comes, you can draw it on the program, and you can make an effect by brushing the action (action ** transformation) every x seconds.

    Tie a keyboard to control up, down, left and right, and adjust the x,y position of the graphic. It's been a long time since I've played a game, and this experience was used a few years ago, so I hope it can help you.

  9. Anonymous users2024-02-03

    The landlord of this ** for the RPG maker software to make the game of the character walking diagram,Easy language to read, you need to write your own**。

  10. Anonymous users2024-02-02

    I don't know、It seems that you want some database.、You go to the easy language routine to see.。 I remember some 、、、

  11. Anonymous users2024-02-01

    How should such a ** be made, ask for it!

  12. Anonymous users2024-01-31

    The first question: easy language script, if you say the ** that refers to the file to perform the task, you can double-click on it.

    Second question: set up a clock, set the period (1 second = 1000 milliseconds,) and double-click on the clock, enter **:

    Analog key ( Enter key, , the third question: If you want to press a key in the background to work on a window, take its window handle.

  13. Anonymous users2024-01-30

    Easy Language is a computer programming language. Known for "Yi", Chinese is used as the language form of program ** expression.

    Easy language is actually a programming language, to do assistance, as long as you find the base address and call, or use screenshots to judge, no matter what level, you can do it;

    If you just record the mouse and keyboard operation time and restore, in fact, as long as you master the basic language and get started, you can make it up yourself.

  14. Anonymous users2024-01-29

    Easy language scripts, if you say that the file is the first to perform the task, you can double-click on that. Set up a clock, set the period (1 second = 1000 milliseconds,) and double-click the clock, typing **. If you want to press a button to work on a window in the background, take its window handle.

  15. Anonymous users2024-01-28

    To be honest, the functions you said are not very difficult, the principle is to simulate the keys and mouse, the background is to send key messages and mouse messages, you find a good module that has such or similar functions, it is easy to achieve!

    Taking DNF as an example, first obtain the coordinates of each place that needs to be clicked through the screenshot, and then delay a certain amount of time to simulate the mouse (this is a system API function, which can be used directly) click, and then delay and click again. You can put this process inside a clock and repeat it over and over again. Oh, it's easy!

    Good luck!!!

Related questions
8 answers2024-05-22

Pay attention to the hint - Application Interface Support Library - > System Processing is the command that comes with the easy language itself, if you don't have this command, you can see if there are many support libraries in the above tool support library configuration to see if there are many support libraries that are not checked, if not, select him to the above point OK. >>>More

19 answers2024-05-22

Version 2 Subroutine Window Fetch Handle, Integer, Public, Returns Handle to Control Successfully, 0 Fails to Return >>>More

20 answers2024-05-22

There are formulas or not, and if there are any, they can be made.

15 answers2024-05-22

Write using the command: Write to file (, so write to file (take a specific directory (3) dat test. dat", to the byte set ("123456")). >>>More

7 answers2024-05-22

Hello, this problem is easy to solve.

There are several ways to replace component names with variables, but I'll give you two of them. >>>More