|
Post by claudiamoral on Nov 1, 2020 15:02:23 GMT
two little questions ... 1. How do I delete a message? "You have taken the key" and the message stays there forever. 2. I would like my character when they take a life from him to appear again on the screen that killed him. (WHEN I'M KILLED ON A SCREEN DIFFERENT FROM THE START-UP SCREEN MY CHARACTER DOES NOT RESTART)  I also have a corrupt font Thank you
|
|
|
Post by claudiamoral on Nov 5, 2020 11:42:24 GMT
To erase the text I have thought to make a loop with putblock putting colour blocks 00. I suppose it will work, but is there a simpler way, right?
|
|
|
Post by oss003 on Nov 5, 2020 12:07:16 GMT
You can try REDRAW to delete the message. In the Kill Player event, you can add eg. LET S SCREEN and in the Restart Screen event LET SCREEN S. You have to reset S in the Game Initialisation event to start at the first screen at startup.
|
|
|
Post by claudiamoral on Nov 5, 2020 12:29:28 GMT
You can try REDRAW to delete the message. In the Kill Player event, you can add eg. LET S SCREEN and in the Restart Screen event LET SCREEN S. You have to reset S in the Game Initialisation event to start at the first screen at startup. I'm going to try redraw and dying is driving me crazy. great ... I'm going to try and I'll tell you. thank you
|
|
|
Post by Jonathan Cauldwell on Nov 5, 2020 13:19:23 GMT
Remember to put a player sprite on the screen at the point where you want it to respawn
|
|
|
Post by Minilop on Nov 5, 2020 14:12:30 GMT
A trick I use for popup messages is to use the MENU command rather than MESSAGE and REDRAW
a menu with only 1 item - press the firebutton and it disappears - it will however appear in the centre of the screen.
So if your messages are in your Message Text file like:
DEFINEMESSAGES
"THIS IS MESSAGE ONE" "THIS IS MESSAGE TWO"
I could use:
MENU 0 MENU 1
to display them sequentially.
|
|
|
Post by claudiamoral on Nov 5, 2020 23:42:58 GMT
Remember to put a player sprite on the screen at the point where you want it to respawn Thanks Jonathan, now yes, that was my problem, perfect. But I have another question: My game is jet set willy, and I would like it to reappear from where I enter the screen. I do not know if you understand me. It's more of an exploration adventure type.
|
|
|
Post by claudiamoral on Nov 5, 2020 23:45:24 GMT
A trick I use for popup messages is to use the MENU command rather than MESSAGE and REDRAW a menu with only 1 item - press the firebutton and it disappears - it will however appear in the centre of the screen. So if your messages are in your Message Text file like: DEFINEMESSAGES "THIS IS MESSAGE ONE" "THIS IS MESSAGE TWO" I could use: MENU 0 MENU 1 to display them sequentially. Thanks, I'll give it a try, even though my messages are off the game screen.
|
|
|
Post by jltursan on Nov 7, 2020 11:20:03 GMT
Remember to put a player sprite on the screen at the point where you want it to respawn Thanks Jonathan, now yes, that was my problem, perfect. But I have another question: My game is jet set willy, and I would like it to reappear from where I enter the screen. I do not know if you understand me. It's more of an exploration adventure type. I don't consider myself an AGD programmer; but you need to store the player coordinates right after entering a screen and apply again when the player sprite is being initialized. You can save the player coordinates right after doing a SCREEN[DIRECTION] command, adjusting whatever coordinate you need to adjust and its done. Once saved, you can simply apply them in INITSPRITE when TYPE of sprite is 0.
|
|
|
Post by ramon on Nov 7, 2020 15:33:01 GMT
Si sales de una pantalla con SCREEN n, SCREENLEFT, SCREENRIGHT, SCREENUP o SCREENDOWN, entonces conservas tus coordenadas X Y. Pero si lo haces con KILL o con NEXTLEVEL, entonces apareces en la posición RESPAWN que configuraste con el editor.
|
|