Hey,can anyone help me?
Author |
Message |
LeVnteen
|
Posted: Thu Nov 23, 2017 9:10 am Post subject: Hey,can anyone help me? |
|
|
I am trying to make a game in which you can level up but i cant seem to get it,i want it so that when you get a certain amount of exp,your stats go up?How would i be able to do this?
var usera : int
var userd : int
var userl : int
usera:=15
userd:=20
userl:=30 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
LolADuck
|
Posted: Tue Dec 12, 2017 12:33 pm Post subject: RE:Hey,can anyone help me? |
|
|
exp:int:=0
var usera : int :=15
var userd : int :=20
var userl : int :=30
%have exp go up when a task is complete (depends on game
if exp= 300 then%when exp reaches a certain amount have stats go up
usera+=15
userd+=20
userl+=30
end if |
|
|
|
|
|
TokenHerbz
|
Posted: Wed Dec 13, 2017 12:08 am Post subject: RE:Hey,can anyone help me? |
|
|
@MODS: please move this post to the correct topic. |
|
|
|
|
|
|
|