online game

Game Editor comments and discussion.

Re: online game

Postby praaab » Mon Jun 27, 2011 1:55 pm

ok im a beginner at this stuff so when you put the codeing for the jump, he doesnt jump, i put the code with the ai code. :(
praaab
 
Posts: 82
Joined: Sat Jun 18, 2011 2:14 pm
Score: 1 Give a positive score

Re: online game

Postby skydereign » Tue Jun 28, 2011 1:23 am

Well here is an example of it. Collisions currently allow sticking but this uses the code provided by lcl and the jump code I posted. I did add an if that checks if you actually need to jump (the enemy's y is greater than the player).
Attachments
basic_ai.zip
(12.78 KiB) Downloaded 67 times
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Previous

Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest