Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / CPU Movement

Author
Message
Whong
20
Years of Service
User Offline
Joined: 15th Jul 2004
Location: Turku Finland
Posted: 18th Oct 2004 04:09
Hello!

How could I make my cpu player(enemy) to move forward or in any direction?

By the way do you know any good program to make cool Intros?

Thanks!

MokoSoft Entertainment
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 18th Oct 2004 06:14
You could probably try 'move object'. it moves objects.

Peace sells
Whong
20
Years of Service
User Offline
Joined: 15th Jul 2004
Location: Turku Finland
Posted: 18th Oct 2004 21:39
Hello!

Yes I've tried the move object code but it doesn't do any thing.


Thanks anyway!

MokoSoft Entertainment
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 18th Oct 2004 21:54
I have written an AI function.
you can have it, and I hope it helpes.

it is here


I am not cool anymore... or am I?
http://n0id.proboards28.com/index.cgi - please join
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 23rd Oct 2004 01:06
I haven't ran your AI code yet, but from the way it looks I like it, very organized, I'll try figure everything out later, good job.

And why doesn't the "Move Object" command work?
Also people usally call it AI(Artifical Intelligence) not Cpu, but I guess it doesn't matter.

Show some source code.

I included some basic code, but I haven't ran it yet.
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 23rd Oct 2004 09:26
I edited the source code a little, I hope it helps.

Login to post a reply

Server time is: 2025-05-24 12:20:10
Your offset time is: 2025-05-24 12:20:10