im new and need help

Game Editor comments and discussion.

im new and need help

Postby malpal1122 » Thu Jul 05, 2007 3:50 pm

im new to game editor. most of the funtion i understand but there some things i need to know

1.how do i get my game to my cell phone

2.how do you make an enemy attack you at free will

plz i really need help
malpal1122
 
Posts: 1
Joined: Wed Jul 04, 2007 9:45 pm
Score: 0 Give a positive score

Postby Troodon » Sat Jul 07, 2007 7:07 pm

1. It was described once somewhere but I didn't find with the forum search. I think you needed a special phone and a paid service to do that. (But I'm not sure)

2. Can you describe "free will" more?
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

answer

Postby SnowFear » Sun Jul 08, 2007 10:28 am

1. i dont know =P

2. its called AI script, and i have no idea how to create one, you can ask for one in the forum.
Meow...
User avatar
SnowFear
 
Posts: 54
Joined: Thu Feb 15, 2007 4:29 pm
Score: 3 Give a positive score

Postby DocRabbit » Sun Jul 08, 2007 3:10 pm

1. What kind of cellphone, pocketPC?
If pocketPC use your active-sync to explore your pocetpc device and put it, The compiled version(exe) of your game, in whatever folder you want. If other cell phone type, don't know on those.

2.Enemy attack at will. The most basic form would be like a proximity check for distance of enemy from player, if falls within certain distance, have enemy moveto player at directional_velocity. You could use a formula calculating distance into a speed factor. Start slow and move faster closer enemy got would be something like:
Code: Select all
attackspeed = seednumber/(distance(opponent.x, opponent.y, player.x, player.y))*multiplier;
Both seednumber and multiplier would be variables you would need to declare along with attackspeed. So lets say enemy starts at 50 units away, you could make seednumber=100 and multiplier say .5. Then at 50 units away, he would start with a speed of 1. With half distance closed(25 units away) his speed would be 2. You would need to stop him 1 unit prior to reaching the player so that a divide by zero would be avoided, but you should have a collision before you would reach that anyways. I will try to work up some more substantial coding for you to look at, maybe even a little demo to show how.
Attachments
MonsterAttackDemo.zip
Simple Monster Ranged AI demo. Use arrow keys to move pacman.
(339.3 KiB) Downloaded 98 times
User avatar
DocRabbit
 
Posts: 114
Joined: Fri Oct 27, 2006 2:56 am
Score: 10 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron