![]() |
![]() ![]() ![]() ![]() ![]() |
Author | Topic: Making status screens |
FF4LIFE |
![]() ![]() ![]() I just would like help on something. I'm attempting to make a status screen, so it shows a bitmap, and depending on what you've got shows little sprites in certain places. I've sort of got it working, but I need to know a few things: 1) How do you make it so you can't do anythng EXCEPT hit the 'S' key again, and how to make the 'S' key kill everything. 2) How do you make the 'box' in the enter screen that you use to select what item you use? 3) Then how do you make it so if you select a certain thing, stuff happens Yeah, basicly i just want it to stop the game, and show you the screen for one, with all the stuff you've collected in its designated spots, then you hit the key again and it goes away. Then the other one I want it to show the bitmap or whatever, and if you have things, they'll be in their designated spots, but now you can highlight and click on the ones you've got. I don't know if anyones done anything like this, or if its possible, or if anyone caught one damn thing i just said, but any help would be appreciated :) -FF4LIFE |
someone2 |
![]() ![]() ![]() 1) How do you make it so you can't do anythng EXCEPT hit the 'S' key again, and how to make the 'S' key kill everything. wfb: // note: I'm not sure if Dink will do this properly, as I am unsure on whether &result will show the real value. // a different way to do is to set button 8 (see escape.c) to S, then check if &result <> 8. To kill everything on the screen.. how? A missile will be easy (set its range to 600). Otherwise: int &g; 2) How do you make the 'box' in the enter screen that you use to select what item you use? This is complex, and I'm not going to write it for you. It is possible, though. I don't know how to change the box on the ENTER screen, but you can create your own and bind it to another key (like I). Techniques useful for this: int &test = 110; int &second = &test; // we already have &first, = 10 That way, &test could be, say 11001, which might mean they have the first two items, but not the second. Also, because you will just be using 1s and 0s, you don't have to worry about rounding up. |
someone2 |
![]() ![]() ![]() Oh, and a better way to stop the game 'til S may be: { then in key-83.c: main(void) and s14cont.c has what you want to happen after S, including upping the story var. |
FF4LIFE |
![]() ![]() ![]() Ok, thanks, i'll see how much of that i can infact do. |
FF4LIFE |
![]() ![]() ![]() By the way, what is the ( <> ) that you do? What does it mean? Less than and greater than? |
someone2 |
![]() ![]() ![]() Oops :) Replace all <> with !=. (<> is Delpi for != :). |
someone2 |
![]() ![]() ![]() SoB has something similar to what you want, for the 'riddle of the purple pear'. See if you can get the source for that off Simon. (I think [email protected] .) |
![]() ![]() |
Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.