jazz e bob

Talk about making games.

jazz e bob

Postby Fenrir » Sun Feb 06, 2005 4:22 pm

Sorry to disturb, but I have a question regarding your "Click And Move Actor" - script. There seem to be problems when I choose mainactor to function as parent for view. The actor won't move to where I have clicked.
I also would like to know how to expand the area in which the player will move.
What should I do different from your code?
Fenrir
 
Posts: 34
Joined: Thu Feb 03, 2005 3:42 pm
Location: Sweden
Score: 0 Give a positive score

Postby jazz_e_bob » Wed Feb 09, 2005 10:26 am

working on new demo now... :)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby Fenrir » Wed Feb 09, 2005 11:10 am

:D
Fenrir
 
Posts: 34
Joined: Thu Feb 03, 2005 3:42 pm
Location: Sweden
Score: 0 Give a positive score

Postby jazz_e_bob » Wed Feb 09, 2005 11:15 am

I also would like to know how to expand the area in which the player will move.

menu config -> game properties -> game resolution

http://www.artsystems.com.au/game%20editor/demo%20-%20click%20and%20move%20actor.zip

Try 02.ged
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby Fenrir » Wed Feb 09, 2005 11:47 am

jazz_e_bob wrote:
I also would like to know how to expand the area in which the player will move.

menu config -> game properties -> game resolution

http://www.artsystems.com.au/game%20editor/demo%20-%20click%20and%20move%20actor.zip

Try 02.ged


No, no. That is not what I ment. I'm creating a game for PPC, 320x240, and so I cannot change the resolution. I want the view to follow the actor, but still be able to move him by mouse. This I cannot do now.
I can't seem to read the 02.ged file. It says that my version of GE is too old, but I have v.1.2.7
Fenrir
 
Posts: 34
Joined: Thu Feb 03, 2005 3:42 pm
Location: Sweden
Score: 0 Give a positive score

Postby jazz_e_bob » Wed Feb 09, 2005 7:09 pm

:cry:

Sorry about the demo. I am running latest beta...

:oops:

Anyway:

Create an actor called "character".
Create an actor called "characterDestintion"

on create characterDestination
follow mouse
visibility state = don't draw but allow events

set the views parent to character

on mouse down characterDestination
move character to characterDestintion
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby Fenrir » Wed Feb 09, 2005 8:00 pm

Hay, Jazz-e-bob-san!

Regarding that last of what you said:

"on mouse down characterDestination
move character to characterDestintion"

how do I manage this? Do I have to script it, if yes then how?

I'm grateful for your help.
Fenrir
 
Posts: 34
Joined: Thu Feb 03, 2005 3:42 pm
Location: Sweden
Score: 0 Give a positive score

Postby jazz_e_bob » Wed Feb 09, 2005 9:08 pm

I think the script is:

moveto( "character", characterDestination.x, characterDestination.y, [put speed here] );
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby Fenrir » Thu Feb 10, 2005 10:22 am

My thanks to the bob. You are the man bob.

Another question, if I may. Now that I can move my player around using the stylus, I would like it to have animations as it moves, the right animation in the right direction (including diagonally). How could this be done?
Fenrir
 
Posts: 34
Joined: Thu Feb 03, 2005 3:42 pm
Location: Sweden
Score: 0 Give a positive score

Postby ingsan » Thu Feb 10, 2005 12:20 pm

I'm writing the tut Fenrir :)
You're too impatient :wink:
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby Fenrir » Thu Feb 10, 2005 12:54 pm

ingsan wrote:I'm writing the tut Fenrir :)
You're too impatient :wink:


Sorry, I forgot. :oops: Looking forward to see it, when it's ready. :D
Fenrir
 
Posts: 34
Joined: Thu Feb 03, 2005 3:42 pm
Location: Sweden
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron