[VB.Net]Skill System

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
5 posts Page 1 of 1
Contributors
User avatar
ChaosOverLord
Member
Member
Posts: 36
Joined: Sun Mar 20, 2011 12:17 am

[VB.Net]Skill System
ChaosOverLord
ChaosOverLord's Tutorials Present....
Skill System In VB.Net
Have you ever wanted to create a game with the Runescape skills?
Well today is your day because here is the tutorial you will love!

First add 1 button and 2 labels to our form...

Name label 1 Level
Name label 2 EXP
Name button 1 Give Me EXP!

Now lets get coding!

Go and declare 2 new more variables using these codes

Dim exp As Integer
Dim level As Integer

Now for form load put
exp = 0
level = 1
label1.text = "Level: " & level
label2.text = "EXP: " & exp

Button 1 use this code
exp += 1
Label2.Text = "EXP: " & exp
If exp = 8 Then
level = 2
Label3.Text = "Level: " & level
Else
If exp = 16 Then
level = 3
Label3.Text = "Level: " & level
End If
End If

This will let you go to level 3 once you have 16 EXP
You do not have the required permissions to view the files attached to this post.
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: [VB.Net]Skill System
Usman55
I have seen all of your tuts you have posted and I want to tell you something. Please use the code tags so we can see the codes clearly.
Image
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

Re: [VB.Net]Skill System
zachman61
Your Tutorials are nice, but as Usman55 said please use the Code Tags
Code: Select all
[code][/code
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
Skillful
Skillful Coders
Skillful Coders
Posts: 969
Joined: Tue Nov 16, 2010 10:07 am

Re: [VB.Net]Skill System
Skillful
zachman61 wrote:
Your Tutorials are nice, but as Usman55 said please use the Code Tags
its
Code: Select all
[code] 
[/code]
you forgot the end bracket
Instead of LOL use this -
LSIBMHBIWFETALOL

Which means -
Laughing silently in between my head because it wasn't funny enough to actually laugh out loud!
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

Re: [VB.Net]Skill System
zachman61
CoderBoy1201 wrote:
zachman61 wrote:
Your Tutorials are nice, but as Usman55 said please use the Code Tags
its
Code: Select all
[code] 
[/code]
you forgot the end bracket
Well that was a fail..
when i first posted it showed both lol
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
5 posts Page 1 of 1
Return to “Tutorials”