1.

Solve : how do i close a open file?

Answer»

I did master GameMaker and thats not fully what i wanted.
I wanted a file that when you press a key the batch file closes an open file, then it OPENS ANOTHER so quick that it looks like its moving...
Is that proper enough for you?
Here mabye i can teach you something new.
This is movement code.
Code: [Select]{
direction=90;
speed=3;
}There.
Heres some more
Make a popup.
Code: [Select]msg * enter in what you want the popup to say.Enter that in notepad save as popup.batQuote from: itburnswhenipee on May 30, 2007, 08:18:14 AM

I did master GameMaker and thats not fully what i wanted.
I wanted a file that when you press a key the batch file closes an open file, then it opens another so quick that it looks like its moving...
Is that proper enough for you?
Here mabye i can teach you something new. (not LIKELY )
This is movement code.
Code: [Select]{
direction=90;
speed=3;
}There.
Heres some more
Make a popup.
Code: [Select]msg * enter in what you want the popup to say.Enter that in notepad save as popup.bat

What's the msg thing for? The batch help file for it says:
Quote
Send a message to a user.

MSG {username | sessionname | sessionid | @filename | *}
[/SERVER:servername] [/TIME:seconds] [/V] [/W] [message]

username Identifies the specified username.
sessionname The name of the session.
sessionid The ID of the session.
@filename Identifies a file containing a list of usernames,
sessionnames, and sessionids to send the message to.
* Send message to all sessions on specified server.
/SERVER:servername server to contact (default is current).
/TIME:seconds Time delay to wait for receiver to acknowledge msg.
/V Display information about actions being performed.
/W Wait for response from user, useful with /V.
message Message to send. If none specified, prompts for it
or reads from stdin.

You talk about GM movement code in one sentence, then you talk about a batch pop-up thing the next. I don't really get it.



ANYWAY, does anyone know a batch code for when buttons are pressed?i know one that you have to do enter at the end but i DIDNT want to use cause pressing enter is anoying
i used it to make text based games.
Code: [Select]set choice=
set /p choice=what do you do next?
if not '%choice%'==' set choice=%choice:~0,1%
if '%choice%'=='1' goto oneif you remove if '%choice%'=='1' goto one you have a code that when you enter something it saves it
and also you have to make the one next to the 0 15.
so its lik this Code: [Select]set /p choice=what do you do next?
if not '%choice%'==' set choice=%choice:~0,1%
o yeah theres a serius flaw in gml it makes the games slower...
gm needs every thing to run d an d so it takes a while to change the code


Discussion

No Comment Found