跳到正文
SaturaDev· 来源· @saturadev · X·· 2 小时前AI 评分75
正文 · 原文

Mobile studios pay thousands of dollars for a single playable ad, and this week I had an agent build one out of a Unity game I found on GitHub.

A playable is the small game you can tap inside an ad before installing anything, and ad networks take it as one HTML file. A Unity web build is too heavy for that, so the usual route is a converter that costs a big subscription and limits what your code can do.

I wanted to know if Satura Space could do it without one, so I pointed its agent at an open source Unity match-3 (daltonbr/Match3, MIT). First it redrew the art and turned the fish into little AI agents, because there are so many of those now that matching identical ones felt about right. Then it built the game into a playable with a small engine of my own that exports the Unity scenes and prefabs and runs them on a JavaScript runtime in place of Unity. Its 17 gameplay scripts went over to JavaScript one to one.

What came out is a single 587 KB HTML file with no Unity runtime inside, and the mechanics are the real ones. I had the same seeded swaps played in the Unity editor and in the HTML, and the board and score matched after every one of them.

The engine is now a built-in plugin in Satura Space 3.4, out today. It packages the game for seven ad networks, and an agent can run the whole thing on its own.

来源:SaturaDev · x.com