|
|
|
#1 |
|
Lunatic
Join Date: Nov 2000
Location: Lowlands
Posts: 853
|
Lost Warrior: please help me again
I've been working on my RPG Tales of the Lost Warrior again for the past few days. But I got a problem! Check the beta:
PLAY BETA Now enter the Ancient Tower (at the left from your startingpoint) and try to get to the 2nd floor. When you're in front of the door and you keep the up key down all the time, you will see that the screen is switching floors over and over again. Check it out if you dont know what I mean. Any suggestions how to fix this problem. Im rewriting the engine, so it would be great to have this bug fixed. Also check this screenshot: CHECK Its an example of something new Im going to introduce in the new engine. Its gonna be possible to get images (jpg's) at the background, behind the tiles. In this example, its like the player is at a high place and looks down on a forest. Maybe some of you remember this trick from Commandos, Behind Enemy Lines. But Im also gonna make it possible to get the images over the tiles, to create some special effects. I will post some new screenshots soon, so you know what I mean. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Apr 2001
Posts: 495
|
No sure how your RPG works, but when he uses the stairs, make your useStairs variable = false. Now the only way he can use the stairs is if it equals true. Now do an if (!Key.isDown(Key.UP)){ useStairs = true;}
That way once you use the stairs, that variable is made false, and only when you LIFT UP ON THE KEY will the var be reset so you cna use the stairs again. understand? if (useStairs == false){// you cant use stairs} if (useStairs == true){//yay you can use them!! but once you do useStarirs will euql false!;} if (!Key.isDown(Key.UP)){//reset useStairs to true again since you let up on the key} I know this is not the real code, but maybe it will help you undertsand what i mean. Ely_:J3 |
|
|
|
|
|
#3 |
|
Lunatic
Join Date: Nov 2000
Location: Lowlands
Posts: 853
|
Thanx, I got the point. No I can work at my new engine.
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|