Batch gideros4/10/2023 ![]() ![]() (command:?) - texture TextureBase or TextureRegion number The x coordinate of the anchor point number The y coordinate of the anchor point function Bitmap.getAnchorPoint ( ) end -Sets the anchor point of Bitmap object. (command:?) - texture TextureBase or TextureRegion function Bitmap.new (texture ) end -Returns the x and y coordinates of the anchor point. For example for the function that sends lua 'print' to the -(command:?) - Bitmap*īitmap = -Creates a new Bitmap object. ![]() I added definitions for the packet type last year here: įor actual implementations in Gideros, you should look at desktop player and studio code. They are not documented, so one must take a look at Gideros code to understand the format of the packets, but they are generally simple. Sending 'print' data from the player to the studio Sending a file from the studio to the player Each packet starts with a single byte (packet type), followed by a variable number of bytes depending on the type. The Studio connects to the Player through TCP (on port 15000 usually), then they both exchange packets whenever required. what happens? Does it get sent to some tcpip listener or something? Would you be able (if you know) to explain quicjly how debugging works in Gideros? For example when I print something in one of my apps. If anyone knows of a way to set a variable from the dir commands output without having to save it to a text file first, please let me know. %giderospath %\tools\gdrbridge.exe play %project % :: Load the gproj filename into a variable :: Launch the player in a separate process, thanks %giderospath %\tools\gdrbridge.exe isconnected :: Set the path of the gideros installation If I can get the player running code from within VSC then I will also try to create a project editor to add files and such, and create (or hack) a language extension for VSC to have tasty code completion and stuff for Gideros. Just FYI I'm messing about with this in the hope that I can ditch Zerobrane Studio and start using Visual Studio Code (VSC) as my code editor. the project is not run.Ĭan anyone help me figure out why manually typing works, but the same stuff in a batch file does not? The issue is that because the player is now closed. ![]() On closing the player, the script continues and the other commands are executed. bat file, when I execute the bat file, it freezes directly after the player is started. If however, I save the above commands as a. Now this works fine when I am typing manually the commands one by one at a command prompt. C:\gideros\tools\gdrbridge.exe setip 127.0.0.1Ĭ:\gideros\tools\gdrbridge.exe isconnectedĬ:\gideros\tools\gdrbridge.exe play c:\gideros\woah\woah.gproj ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |