1 / 10

State Machine Tool

This project by Adrián Ahuatzi Ayala explores the creation of a State Machine Tool designed to streamline game development, focusing on game mechanics and NPC behavior using C++. The tool integrates Lua scripting for greater flexibility, enabling developers to register state machines and implement dialogue systems effortlessly. The project discusses the overall architecture, including both the game and tool sides, and presents a demo to illustrate functionality. This initiative aims to fill the gap in game project development by providing a comprehensive solution for state management in interactive applications.

dixon
Télécharger la présentation

State Machine Tool

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. State Machine Tool A research project For CS580 By AdriánAhuatzi Ayala

  2. What? • Why? • How? • Demo • Questions

  3. What section .text global _start _start: movedx,len movecx,msg mov ebx,1 mov eax,4 int 0x80 mov eax,1 int 0x80 section .data msgdb ‘Woof, woof!',0xa lenequ $ - msg

  4. Why No game project, yet… Create a tool

  5. How?The big picture Compiled Interpreted

  6. How?Game side (C++) 1. NPC behavior 2. Lua friendly S.M. 3. Register with Lua 4. Start State

  7. How?Tool side 1. UI & S.M. Logic 2. Talk “Lua” 3. Lua script

  8. How?Lua S.M. GoSouth GoEast

  9. Demo! • demo

  10. Questions & References • Buckland, Programming Game AI by Example • Mascarenhas, LuaInterface: User’s Guide

More Related