Adventure Game Studio

AGS Development => Editor Development => Topic started by: Head_banger on Fri 21/06/2013 13:25:45

Title: Starting point selection while Debugging
Post by: Head_banger on Fri 21/06/2013 13:25:45
I'm not sure I'm posting this in the right place but I have an Idea that struck me not to long ago while making a cut-scene  in my game "The Unknown" and I found it very annoying to have change the players starting point continuously to test the cut-scene, and I have to write the X&Y location of the main char, but it gets really annoying and unnecessary. so I thought wouldn't it be cool, if you had a second option when starting the game from the editor, that's normally the green arrow or (F5) and instead there is an yellow. or blue, or what ever color that makes you able to choose where to start from before beginning the game, that way it would be much easier than starting the game, walking to a right position and having to use the debug function to change to a different room and hope you land on an walkable area, so yeah. that's my Idea.
Title: Re: Starting point selection while Debugging
Post by: Stupot on Fri 21/06/2013 13:37:08
Not a bad idea. It should be quite easy to write a script yourself, whereby in debug mode the room-change menu comes up before anything else, so that you can at least skip to the room you want to start in as soon as you run the script.
Title: Re: Starting point selection while Debugging
Post by: Ghost on Fri 21/06/2013 16:55:50
There is a command to change the player's room and automatically place him on the nearest walkable area. It is a bit annoying that the starting position must be set by hand when you test a game, but it's nothing compared to testing a puzzle or plot sequence that may require inventory and flags being changed.
Writing a custom function sounds like the best way, since people tend to struct their games any old how ;)