VB production, I made a small game with VB to fight monsters and upgrade the class

Updated on Game 2024-02-09
11 answers
  1. Anonymous users2024-02-05

    Insert 3 texts, 1 command

    private sub form_load()= "1000" 'Blood volume.

    500" 'Demon.

    400" 'Rival.

    end sub

    private sub command1_click()if = "0" or = "0" thenmsgbox "Can't attack! "

    else:do

    200 'Your Attack Power is tentatively set to 200loop until ="0"

    msgbox "Win this round of attack! "

    end if

    end sub

  2. Anonymous users2024-02-04

    if statement, and then msgbox pops up a dialog box.

  3. Anonymous users2024-02-03

    Didn't fully understand what you meant, is it the start button of the bullet, the number appears, and then disappears a few seconds later, fill in the five boxes below, and then check whether it is true or false?

  4. Anonymous users2024-02-02

    Excuse me, can you add a space between the case and the number? And then add a carriage return between the number and the function, okay? Finally, change userenter( ) to userenter

  5. Anonymous users2024-02-01

    private sub form_load()= "Can't point me"

    trueend sub

    private sub label1_click()= "You win"

    falseend sub

    private sub timer1_timer()int(rnd * int(rnd *end sub

    Add a tab to the One Clock Control **as above.

  6. Anonymous users2024-01-31

    Don't look at the simplicity of the game, in fact, the technical problems involved in programming are more complicated.

    It is recommended that VB beginners learn to use the PictureBox control to play tank battles, especially if multiple enemy tanks are controlled by an array. When you understand the fundamental role of "arrays" in character, map, and bullet design, you will know what to do when you make Zuma-like games.

  7. Anonymous users2024-01-30

    Montemazoo? It's too complicated to play this kind of game, so you might as well start with a realistic push box or something.

  8. Anonymous users2024-01-29

    The form puts two label controls and one timer control

    dim n as integer

    private sub form_keydown(keycode as integer, shift as integer)

    select case keycode

    case vbkeyup

    if > 0 then = - 50

    case vbkeydown

    if < scaleheight - then = + 50

    case vbkeyleft

    if > 0 then = - 50

    case vbkeyright

    if < scalewidth - then = + 50

    end select

    call check

    end sub

    private sub check()

    if abs( -= 50 and abs( -= 50 then

    n = n + 1

    rnd * scalewidth, rnd * scaleheight

    end if

    end sub

    private sub form_load()

    keypreview = true

    randomize

    with label1

    caption = ""

    backcolor = vbwhite

    move (scalewidth - width) / 2, (scaleheight - height) / 2, 500, 500

    end with

    with label2

    caption = ""

    backcolor = vbyellow

    move rnd * scalewidth, rnd * scaleheight, 500, 500

    end with

    trueend sub

    private sub timer1_timer()

    msgbox "The game is aligned" & n & "Minor yellow squares"

    unload me

    end sub

  9. Anonymous users2024-01-28

    buhuhuhuhuh (Ideally, I can copy ** directly into vb, set the properties and it will work!!

    **The simpler the better, in line with beginners, okay I will add points, thank you!

  10. Anonymous users2024-01-27

    She was bored at home and used her own home** to dial her own home**, and after many times she finally dialed, she heard a hollow sound, like an echo valley and the sound of water droplets. She disappeared the next day, and three days later the police found my friend's body by a pool in Echo Valley.

    One night I was going home with my friend after dinner at twelve o'clock and passed by a place where there was a grave, and my friend was scared. As a result, the next morning he was in high spirits, and often said these words: Someone has crawled out of the grave. They were laughing. They are bleeding.

    One night there was a power outage in my house, and it turned out that there were only white candles to look around, and I lit the bedside and looked in the mirror to sleep, but that day I felt tightness in my chest, I couldn't breathe, I tossed and turned as if I was pressed by something, and when I looked in the mirror, I found that I was carrying my grandmother's bag! I obviously didn't carry it!

    The whole lake turned red (it was blood), a hand was stretched out from the lake, grabbed the girl's feet, and pulled her into the lake, and then, 100 kilometers away from the forest, the girl's body and clothes were found, but her head was missing, people opened her backpack, frightened, the bag was her head, her expression was very painful, and the people who found her had abandoned her body in the forest.

    If you read this post, please reply immediately, and click "Bodhisattva bless", and then post this in other bar**3 copies, if you don't send that hand will be stretched out when you take a bath, you will be the same as that girl! Believe that it is true.

  11. Anonymous users2024-01-26

    Hello, the mini-games on the following site are relatively new, and there are more types, so you want to have everything.

Related questions
11 answers2024-02-09

Is there any raw data? What is the interface like? Where does the grade data come from?

10 answers2024-02-09

The traditional process similar to the New Year's "window cutting" can be used to prepare circuit boards based on copper foil etching method, which is the current mainstream circuit board manufacturing method. Integrated circuit boards, including computers, mobile phones, and various electrical appliances, are all made by this process. >>>More

16 answers2024-02-09

If it is a Linux host, put the IP address of the host you want to access into the hosts file, and put the corresponding IP address into and as needed to achieve your purpose.

18 answers2024-02-09

This is a bit difficult, to each user, then you have to make it full-screen, the system's way is to add users, configure files for each user, you can only do two situations, one is when you enter, the other is when others enter: >>>More

5 answers2024-02-09

Tibetan poem Don Grace Happy Birthday".

Tang Fengsheng, golden autumn is cool, the benefactor is benevolent, and the osmanthus is fragrant. >>>More