[英]Displaying a Scratch Project (.SB) file within a Delphi EXE FIle
I would like to Display a Scratch Project (.SB) file within my Delphi EXE file. 我想在我的Delphi EXE文件中显示一个Scratch Project (.SB)文件。 I would like to know if it is possible to display and build the Scratch Project into your Delphi Project.
我想知道是否可以显示Scratch项目并将其构建到您的Delphi项目中。
I wish to make a small game in Scratch and then use the game within my Delphi Application without the need of the Scratch IDE. 我希望在Scratch中制作一个小游戏,然后在不需要Scratch IDE的情况下在我的Delphi应用程序中使用该游戏。 Perhaps a 3rd party delphi tool or component or something that can help me achieve this would also be nice.
也许第3方的delphi工具或组件或可以帮助我实现这一目标的东西也很好。
Is this possible? 这可能吗? How can this be done?
如何才能做到这一点?
It's possible, like everything, but it's not been done AFAIK, which means it's going to be hard work. 可能,像所有事物一样,但是还没有完成AFAIK,这意味着这将是艰苦的工作。
You have a few choices: 您有几种选择:
I am assuming that you want to port a scratch program to .EXE. 我假设您想将临时程序移植到.EXE。 If this is the case, then you can install BYOB .
如果是这种情况,则可以安装BYOB 。
After doing this, you can convert your scratch project to a BYOB project and load it into BYOB. 完成此操作后,您可以将草稿项目转换为BYOB项目,并将其加载到BYOB中。
Then, go to Share->Compile this project, and it will generate a .EXE for you. 然后,转到“共享”->“编译此项目”,它将为您生成一个.EXE。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.