HAVE AI NEWS HAVE AI NEWS
tg subscribe
Games

AI-Agent Development in Unity: A Game Inspired by an Ad

AI-Agent Development in Unity: A Game Inspired by an Ad

A systems analyst with no professional game development experience used AI agents to create a 3D action game in Unity combining strategy and tower defense.

A systems analyst and backend developer with no professional game development experience used AI agents to create a mobile 3D game in Unity. The project grew from the idea of recreating the mechanics of an advertisement in which a squad defends itself against waves of zombies. The development process involved MCP tools, as well as the generation of 3D models, sounds, music, and images.

From a Mobile Game Ad to an Original Project

The author had previously experimented with creating a game in Phaser 4, using agents mainly to write code and prepare graphical assets. However, the progress of AI models prompted him to test whether they could take part in more complex development work.

The starting point was an advertisement for a mobile game that he saw among vertical videos. The video showed battles and strategy elements, while users often discovered a completely different genre after installing the game. The author decided to give the agent the video from the ad and ask it to create a similar game.

Tools Used in the Project

The work was carried out through CLI tools for communicating with agents, including Codex, Antigravity, and OpenCode, as mentioned by the author. The project used:

  • MCP Unity to work with the editor, objects, components, and scenes;
  • MCP Meshy to create 3D models and animations;
  • the ElevenLabs API for sound effects;
  • Google Flow Music for the musical accompaniment;
  • image-generation tools.

The main difference from the previous project was the agent's ability to interact with Unity through MCP. It could place objects, configure components, assemble scenes, and run builds. This allowed the author to work on the game while barely engaging with Unity's interface and inner workings.

Generating 3D Assets

Meshy was used to create game models, rigs, and animations. The service also offers a library of ready-made animations and can generate custom ones, but the author considered the quality of its automatically generated movements insufficient.

The author decided not to use Blender. In his observations, even powerful models still create overly simple and unsatisfactory 3D models there, so the project used the specialized Meshy service instead.

Models Tested

During development, the author tried solutions from different providers. The project successively used GPT 6 Astra, GPT 6.1 SoL, Kimi K3.1 Pro, Gemini 4 Argon, Hydrogen, Neon, and Qwen4 Max.

ModelImpressionsOutcome
GPT 6 AstraDevelopment began with it, and the author considered its quality highStarting model
GPT 6.1 SoLComparable quality while using limits more economicallyThe author liked it
Kimi K3.1 ProRan into problems even with a simple task and damaged the projectOther models fixed the errors
Gemini 4 Argon, Hydrogen, and NeonHandled the assigned tasks without noticeable failuresHydrogen was chosen for further work
Qwen4 MaxPerformed better than Kimi, but oversimplified solutions and failed to create the game from a single promptThe author did not choose it for Unity

Ultimately, the author settled on Hydrogen. In his assessment, it combines suitable cost and quality, while the Google Pro subscription limits are sufficient for ongoing development.

What Was Created in Unity

The finished project is a 3D action game with strategy and tower defense elements. It is set in a post-apocalyptic world with anthropomorphic characters based on the author's fictional hero.

Core Mechanics

  • The player controls a preassembled squad and fights off waves of enemies.
  • During the defense, players can choose different types of weapons and destroy rolling barrels.
  • Defeating enemies awards in-game currency.
  • Free movement around the island is available between waves.
  • The money earned can be spent on replenishing the squad, improving skills, and restoring defensive structures.

Development Costs

The author needed subscriptions and API balance top-ups for the work. The reported expenses were as follows:

  • ChatGPT Plus — $20;
  • Google Pro — the author described the price as symbolic under the terms of a previous offer;
  • Meshy — $20;
  • Kimi — $40;
  • ElevenLabs — $20;
  • TokenPlan QwenCloud — $12.

These subscriptions were purchased repeatedly, so the listed amounts cannot be considered the total cost of the entire project.

Where to Find the Game

Promotional materials for the project are available on the game's website. The game itself can be downloaded from the following stores:

In the author's view, modern proprietary models combined with connected tools already make it possible to create complete game products. At the same time, the result depends on project oversight, and using multiple services requires ongoing spending on subscriptions and APIs.

The author publishes additional materials about AI and tools for applying it on his Telegram channel.

Author: koteyye

Source: habr.com

OpenAI Claims to Have Solved a Millennium Prize Problem: A Multimillion-Dollar Breakthrough and a Loud Authorship Dispute
Research

OpenAI Claims to Have Solved a Millennium Prize Problem: A Multimillion-Dollar Breakthrough and a Loud Authorship Dispute

OpenAI’s secret model found a proof for the Navier–Stokes equations with the help of 10,000 AI agents. However, the academic community accuses the company of using others’ work.

Google introduces Tool Retrieval for Gemini: fewer tokens when working with hundreds of tools
Tools

Google introduces Tool Retrieval for Gemini: fewer tokens when working with hundreds of tools

The new Gemini API mechanism loads tool schemas only on request. In Google's calculated scenario, token usage for an agent with 200 functions falls from approximately 164,000 to 23,650.

GPT-6.2 Astra and Sol: OpenAI Cuts Costs, but Problems with Long Tasks Remain
Models

GPT-6.2 Astra and Sol: OpenAI Cuts Costs, but Problems with Long Tasks Remain

GPT-6.2 Astra took second place in the Intelligence Index, while Sol offers near-flagship quality for $1.01 per task. However, initial tests revealed problems with brief answers, stopping long-running scenarios, and reliability.

411 Comments in One PR: How AI Agents Help System Analysts at YooMoney
Tools

411 Comments in One PR: How AI Agents Help System Analysts at YooMoney

YooMoney uses AI agents to find historical context, review technical solutions and pull requests, and synchronize documentation with code. At the same time, key decisions and responsibility remain with the analyst.

Local Neural Networks in AppSec: How Open Source is Reshaping Code and Service Security Testing
Tools

Local Neural Networks in AppSec: How Open Source is Reshaping Code and Service Security Testing

The shift from closed cloud APIs to autonomous local LLMs opens new opportunities for security teams: from automated SAST false-positive filtering to dynamic pentesting without the risk of source code leaks.

Zero-Trust Architecture for LLMs: How to Securely Deploy Enterprise AI Agents On-Premises
Tools

Zero-Trust Architecture for LLMs: How to Securely Deploy Enterprise AI Agents On-Premises

Developers from AGIMA have presented an engineering framework for secure on-premise deployment of AI agents. Here is how dual-circuit gateways, Vault integration, and enforced user impersonation prevent corporate secrets from leaking into language models.