Author Topic: Agi newbie  (Read 1809 times)

0 Members and 1 Guest are viewing this topic.

Offline Lancelot

Agi newbie
« on: January 03, 2004, 11:48:24 PM »
Hi
I'm new to Agi.
I got stuck on adding a nother character to my game.
Can somebody help me.
Tell me where I can find a tutorial on adding characters.



Kon-Tiki

  • Guest
Re:Agi newbie
« Reply #1 on: January 04, 2004, 10:01:09 AM »
Character as in NPC? It works just like an object.
Code: [Select]
load.view(5);
animate.obj(NPC);
set.view(5,NPC);
position(NPC,100,90);
draw(NPC);
To let him wander around the screen, add this code:
Code: [Select]
wander(NPC);

Hope this helps...

Offline Lancelot

Re:Agi newbie
« Reply #2 on: January 04, 2004, 11:28:26 PM »
Thanks it realy helped


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.054 seconds with 21 queries.