Page 1 of 1

[VB.Net]Skill System

Posted: Sun Mar 20, 2011 10:16 pm
by 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

Re: [VB.Net]Skill System

Posted: Mon Mar 21, 2011 7:28 am
by 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.

Re: [VB.Net]Skill System

Posted: Mon Mar 21, 2011 6:56 pm
by zachman61
Your Tutorials are nice, but as Usman55 said please use the Code Tags
Code: Select all
[code][/code

Re: [VB.Net]Skill System

Posted: Tue Mar 22, 2011 10:33 am
by 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

Re: [VB.Net]Skill System

Posted: Tue Mar 22, 2011 11:11 am
by 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