ID:180476
![]() Jun 4 2001, 9:30 am
|
|
Exactly, i want a level system....but, instead of just working up to your goal, and then changing all your stats, just like everybody else, how can i make it so that you win like...um 50 points to distribute to your stats, and u choose which stats that u want? Also, How can you make screens pop up during the game, in my game, there are several transformations, and they give you power and etc, etc. But, I want a screen to pop up when like, a person gets killed, a screen pops up and says "Power UP" "Cry" "Burn in anger" etc. But, i want it to be that whatever u pick turns out random. So like if one time, you turn into a super form, you clicked "Power Up" and the next time u went super form, you clicked "Cry". How would one stupid, handsome, poor, retarted.....etc programmer get that done?
|
On 6/4/01 1:00 pm Sariat wrote:
what about the leveling system? BTW, mist = mister I don't know that anyone has provided a levelling system (check out the NightSoil demo for possible ideas), but you gotta start somewhere! |
what about the leveling system? BTW, mist = mister Dang, looks like all my messages in Newbie Central before March 31 are gone! I had a good example in there. Anyway, you can do something like this. var/list/levelList = list(1000, 2000, 4000, 8000) mob var/level = 1 var/exp = 0 proc/CheckLevel() if(exp >= levelList[level]) ++level src << "You just went up a level!" |
Start by looking at the tutorials and demos, find one that has popups, and look at the code.
Check out the Character Handling library for a good example of some of this:
byond://Deadron.CharacterHandling
In general you want to look up the input() function. In DreamMaker, click F1 and then search on input.