11-10-2018, 03:29 AM
been a long time since I posted here...but I think I'm finally ready to seriously try scripting again!
re-reading through this old post I realized something...I remember none of it and none of it makes any sense anymore
SO!
I'm starting again...from scratch and I'm going to try and do simple things that I can accomplish through scripting to give myself a chance to learn it!
firstly! I want to make a script that makes a window popup in the screen with text telling me to hit a button and when that button is pressed the entire game window shuts down
so I'd need to learn how to make a window
then put text in the window and position the text where I want it
then get the game to shut down via button press
what do I need to essentially "know" in coding in order to pull this off
I have a faint idea of what would need to happen to get it to work but no coding knowledge of whats really needed to pull it off
*when game opens make window
*the size of the window must be set and the position of the window set using right/left up/down coordinates
*the window will have text inside it
*make text for it to say
*the size of the text must be set and its position using right/left up/down coordinates
*a button must be chosen to act as the kill switch
*the game must know that only when that button is pressed ONCE can it shut down
*a kill command must be put in
I believe this is the right "structure" for it explained in steps
if theirs anything I've missed in the steps do let me know!
again just to stress this
re-reading through this old post I realized something...I remember none of it and none of it makes any sense anymore
SO!
I'm starting again...from scratch and I'm going to try and do simple things that I can accomplish through scripting to give myself a chance to learn it!
firstly! I want to make a script that makes a window popup in the screen with text telling me to hit a button and when that button is pressed the entire game window shuts down
so I'd need to learn how to make a window
then put text in the window and position the text where I want it
then get the game to shut down via button press
what do I need to essentially "know" in coding in order to pull this off
Quote:do note that any and all explanations should be explained as though your talking to a 6 year old as I have horrid times with terminology
I have a faint idea of what would need to happen to get it to work but no coding knowledge of whats really needed to pull it off
*when game opens make window
*the size of the window must be set and the position of the window set using right/left up/down coordinates
*the window will have text inside it
*make text for it to say
*the size of the text must be set and its position using right/left up/down coordinates
*a button must be chosen to act as the kill switch
*the game must know that only when that button is pressed ONCE can it shut down
*a kill command must be put in
I believe this is the right "structure" for it explained in steps
if theirs anything I've missed in the steps do let me know!
again just to stress this
Quote:any and all explanations should be explained as though your talking to a 6 year old as I have horrid times with terminology
new logo for Yesteryear created by Lunarberry!