
-----------------------------------
moon15
Fri Mar 27, 2009 1:11 pm

Help needed badly
-----------------------------------
alrighty so im making a game and the problem is i dunt noe how to set the difficulty for the game so if anyone noes the link that might help me or even if they noe how i would do this heres the code so far:
procedure icywitch
 var icywitch :int:=Pic.FileNew("icywitch.bmp")
 Pic.Draw (icywitch, 150,250,0) 
 end icywitch

procedure ghost
 var ghost :int:=Pic.FileNew("ghost.bmp")
 Pic.Draw (ghost, 150,250,0) 
 end ghost
 
 
procedure blue_monster
 var blue_monster :int:=Pic.FileNew("ghost.bmp")
 Pic.Draw (blue_monster, 150,250,0) 
 end blue_monster
 
loop 
put "Do you wish to play this spooky freaky intense swaggerific game?(y/n)"
var reply : string (1)
get reply
cls
exit when reply not ="y"
var count :int:=0
var tick:int
put "Whats your difficulty?"
get tick 

icywitch
end loop

Mod Edit: Remember to use syntax tags! Thanks :) Code Here

-----------------------------------
DemonWasp
Fri Mar 27, 2009 2:04 pm

RE:Help needed badly
-----------------------------------
Well, how does your game work? Your code so far doesn't tell us much of anything.

Is your game an RPG, shooter, platformer, or what? What are the game mechanics - do you have hit points and deal damage, or is it one-hit-one-death? Setting the difficulty is based on the game mechanics you choose.

-----------------------------------
Insectoid
Fri Mar 27, 2009 3:22 pm

RE:Help needed badly
-----------------------------------
Setting difficulty can be easy for some games and hard for others. Things like Sudoku generators are difficult to gauge for different levels of challenge, while Pong will be dirt simple. Btw, I love the line "Do you wish to play this spooky freaky intense swaggerific game?". It's just awesome.

-----------------------------------
hossack
Fri Mar 27, 2009 8:19 pm

RE:Help needed badly
-----------------------------------
it could be something like this

if tick = 1 then
*Coding for easy*

elsif tick = 2 then
*Coding for medium*

elsif tick = 3 then
*Coding for hard*
