# Starting AI

**URL:** <https://forum.kirupa.com/t/starting-ai/215880>\
**Category:** Uncategorized\
**Created:** [February 11, 2007, 5:33pm UTC](https://forum.kirupa.com/t/starting-ai/215880 "2007-02-11T17:33:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsmario](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@itsmario](https://forum.kirupa.com/u/itsmario)\
**Post date:** [February 11, 2007, 5:33pm UTC](https://forum.kirupa.com/t/starting-ai/215880/1 "2007-02-11T17:33:59Z")

</div>

i want to make a game where the char walks from side to side on the screen and shoots enemies, who come from the sides.

how do i make the enemies come from the sides randomly and attack?
