Ok, i was working on the beginning of this game, and when i tested it, I had this part that had you type your name in, and then it would say "Welcome, (name)", but when I tried it, the question "whats your name" didnt appear! I typed in my name (Jon) anyway and then it said "Welcome, 0"
Whats the solution to my dilema? My code is under here...
Graphics 800,600,16
AppTitle "Jonathan F's VG Trivia 1.0"
Font = LoadFont("Arial, 18, True, False, False")
SetFont Font
ssi1 = LoadImage("JonCoLogo.bmp")
ssi2 = LoadImage("Splashscreen.bmp")
clearscreen = LoadImage("Black.bmp")
DrawImage(ssi1, 0,0)
Delay (3000)
DrawImage(ssi2, 0,0)
Delay (3000)
DrawImage(clearscreen, 0,0)
name = Input$("What's your name?")
Color 70,70,70
Text 300,200, ("Welcome, ") + name
Color 70,70,70
Delay (3000)
Whats the solution to my dilema? My code is under here...
Graphics 800,600,16
AppTitle "Jonathan F's VG Trivia 1.0"
Font = LoadFont("Arial, 18, True, False, False")
SetFont Font
ssi1 = LoadImage("JonCoLogo.bmp")
ssi2 = LoadImage("Splashscreen.bmp")
clearscreen = LoadImage("Black.bmp")
DrawImage(ssi1, 0,0)
Delay (3000)
DrawImage(ssi2, 0,0)
Delay (3000)
DrawImage(clearscreen, 0,0)
name = Input$("What's your name?")
Color 70,70,70
Text 300,200, ("Welcome, ") + name
Color 70,70,70
Delay (3000)