Hello! I am creating a game that breaks the fourth wall by creating files and such, but I can't get around what "File" is. I did figure out how to make .txt files, but don't really know how to write .exe files that make additional popup(s) when you click on them. I don't intend to make these for malicious purpose, but just for a little spook. I don't really know if making these types of .exe files are possible, though, it wouldn't hurt to try right?
This is a video where I demonstrate the problem. I got the code of how to make a message box in an .exe from another source.
If anyone can help me, thank you very much.
This is the code I used for the .EXE file creation:
This is a video where I demonstrate the problem. I got the code of how to make a message box in an .exe from another source.
If anyone can help me, thank you very much.
This is the code I used for the .EXE file creation:
Code:
File.open("I AM HERE.exe", 'w') do |file|
file.print("x=msgbox("START RUNNING",32,"IM HERE")")
end