Night of horror help topic

Non-platform specific questions.

Night of horror help topic

Postby zxcvbnm » Wed Oct 13, 2010 9:31 pm

Ok just run the game and the actor will move right and left on his own. 1st step to developing enemy AI
Attachments
right and left.zip
(801.22 KiB) Downloaded 54 times
Check out Momo AlienStarcatcher , featured in apples new and noteworthy and has 5 star reviews!!!
http://itunes.apple.com/us/app/momo-ali ... 61779?mt=8
zxcvbnm
 
Posts: 248
Joined: Sun Aug 22, 2010 7:57 pm
Score: 10 Give a positive score

Re: Night of horror help topic

Postby jimmynewguy » Wed Oct 13, 2010 10:32 pm

finding direction - next step
Attachments
AI_HELP.zip
(18.24 KiB) Downloaded 48 times
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Night of horror help topic

Postby lcl » Thu Oct 14, 2010 11:51 am

Hey jimmy, I want to ask about the code you used.
That line:
Code: Select all
int result = (player.x<x);

Does this line make integer called result equal to 0 when it's not true and 1 when it's true? :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Night of horror help topic

Postby jimmynewguy » Thu Nov 18, 2010 1:26 am

:oops: never noticed this until now...sorry. The answers yes if you never figured it out :P
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Night of horror help topic

Postby lcl » Thu Nov 18, 2010 2:43 pm

Yeah, I was nearly sure just wanted to ask. :D Thanks! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest