Results 1 to 13 of 13

Thread: Battle system

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    231

    Battle system

    Hi,people I am going to show you what I made in visual basic 6 at my own.
    This is a simple naruto battle system who you can see here:
    http://www.youtube.com/watch?v=FvBeSVxyuF4
    Say something about it or give me some idea or if you have a source of more good battle system than mine please link to it.
    And I have one question:
    How can I make my naruto sprite move to the enemy and then make the fire sprites.

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Battle system

    Nice graphics....

    My suggestions:
    • Instead of the VB's commandboxes, you can try using some pictureboxes with some nice graphics for the button
    • Instead of VB's msgbox, you can try including a custom form for displaying messages with good graphics. Then display it as Modal form(like msgbox)
    • If you haven't included sound, you can include them

    ...

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  3. #3
    Lively Member
    Join Date
    Jul 2008
    Posts
    105

    Re: Battle system

    Nice Game! ^^

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    231

    Re: Battle system

    In the game I have sond for almost evrything - basic attack,razengan,chakra attack but the mine question is how to make the fooling think:
    I want when click to the basic attack the naruto sprites move to the enemy and then make the sprites movie with fire is there any sugestion about that.

  5. #5
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Battle system

    I made a sample project with my idea....
    Attached Files Attached Files

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    231

    Re: Battle system

    Yeap that help's me and thank you but how to make Picture1 when go to Picture2 to do it with a animation of the walking sprites.
    I have a 1 idea:
    In module:
    Code:
    Public num As Integer
    In the code
    Code:
    num = num + 1
    Picture1.Picture = imgwalking(num).Picture
    Tell is this a good idea if is can you make one demo with the moving.

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Battle system

    Moved To Games Demo

  8. #8
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Battle system

    I haven't done anything regarding the animation before....

    But a thought:
    If you display an animated GIF (or anyother) animation of character ie. walking, you can simply move that control so that the animation and movement of that control will simulates a moving character....

    I will try to find a working sample...

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    231

    Re: Battle system

    Quote Originally Posted by akhileshbc View Post
    I haven't done anything regarding the animation before....

    But a thought:
    If you display an animated GIF (or anyother) animation of character ie. walking, you can simply move that control so that the animation and movement of that control will simulates a moving character....

    I will try to find a working sample...
    Thanks in advance.
    I made evrything I need gust wait to see the sample demo of moving sprites to make it in the game.

  10. #10
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Battle system

    Some improvements...

    If you want to display animated GIF pics, use this control: http://www.freevbcode.com/ShowCode.asp?ID=4045 ...
    Attached Files Attached Files

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    231

    Re: Battle system

    Here is a video of the result:
    http://4storing.com/joityt/b80e71eb6...1739ad7a8.html

    And here is the code:
    Code:
    Option Explicit
    
    Private Sub Command1_Click()
      Timer1.Enabled = True '~~~> Enable the timer
      Timer1.Interval = 10  '~~~> Speed
    End Sub
    
    Private Sub Timer1_Timer()
      If Picture2.Left < (Picture1.Left - Picture1.Width - 150) Then
      Picture2.Left = Picture2.Left + 100
      Else
        '// when it reaches the enemy, attack
        Timer1.Interval = 100
        num = num + 1
        Picture2.Picture = imgfire2(num)
        If num = 22 Then
        Timer1.Enabled = False
        Picture2.Left = 360
        Picture2.Picture = Image2.Picture
        End If
      End If
    End Sub
    And one more think I want evry time i click Command1 the animation repeat again and again and again.
    But have problem when click one time evrythink perfect ot the second one don't work where can be the problem.
    P.P:To resolve this problem just add num = 0 after Timer1.Enabled = False.
    P.P2:akhileshbc If you can make the naruto sprite of the video move in the real way please post the code ofcourse use the above code please.
    Thanks to all who help.
    Last edited by mitko29; Mar 7th, 2010 at 11:25 AM.

  12. #12
    Member
    Join Date
    Jul 2012
    Posts
    52

    Re: Battle system

    great game.. keep it up..

  13. #13
    New Member
    Join Date
    Sep 2012
    Location
    Ahmedabad, Gujarat
    Posts
    2

    Re: Battle system

    Nice effort you have put. I really appreciate. But I think you have to more concentrate on graphics. It's really poor. So improve it otherwise it is good.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width