Power

Game Editor comments and discussion.

Power

Postby Azou » Sat Nov 10, 2007 6:53 pm

Hi everyone!! Well,i wanted to ask a question:how to make a power goes left or right?? I wanna mean,for example,if you push keypad 8,a fire ball will appear and goes on left and right?? :D
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Power

Postby Troodon » Mon Nov 12, 2007 8:25 pm

What do you mean?
I mean that what do you mean when you say "I mean that.."?

You mean a bar that shows the power of for example golf shot? So that player can select it?
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

Re: Power

Postby Azou » Sun Nov 18, 2007 6:45 pm

No,sorry th is is my bad english! I wanted to mean how to make a kamehameha? :D :D
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Power

Postby Troodon » Mon Nov 19, 2007 6:37 pm

The first king of Hawaii?

Or some kind of fantasy force?
http://www.zmms.tu-berlin.de/modys/team ... hameha.jpg
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

Re: Power

Postby Azou » Thu Nov 22, 2007 8:29 pm

That is it! :D :D
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Power

Postby Troodon » Thu Nov 22, 2007 8:34 pm

Well, what kind of things you would like to do with it in your game?
Generate near your hands and then throw?
Or some flash light attacks?
Can't you do all of them with big enough animations? :D
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

Re: Power

Postby Azou » Sat Nov 24, 2007 12:11 pm

tekdino wrote:Well, what kind of things you would like to do with it in your game?
Generate near your hands and then throw?
Or some flash light attacks?
Can't you do all of them with big enough animations? :D


That's with hands.Abi*out animation,i've problem with the create/destroy actor actor events.For example i push down,the animation come,but it say here.Can you tell me how to repair this? :D
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Power

Postby j2graves » Sat Nov 24, 2007 12:35 pm

do you mean that the animation keeps on going and going without stopping?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: Power

Postby Troodon » Sat Nov 24, 2007 4:53 pm

If so you can use the -animation finish- condition.
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

Re: Power

Postby Azou » Sun Nov 25, 2007 5:29 pm

Maybe...i'll try it! Thanks!! :D
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Power

Postby Azou » Thu Nov 29, 2007 5:40 pm

Okay,Tekdino,it's working! :mrgreen: But,if it's a ball,how to make it goes right or left? :D
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Power

Postby Troodon » Thu Nov 29, 2007 8:04 pm

Make a variable called Direction.
Now, everytime you hit the walk-to-right key:
Direction = 1
and in walk-to-left key:
Direction = -1

Now, in the create actor of the ball:
if (Direction == 1) { xvelocity = 5} ;
if (Direction == -1) { yvelocity = -5} ;

:)
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

Re: Power

Postby Azou » Thu Nov 29, 2007 9:02 pm

Thanx,i gave you a point!! What's your email adress?? :mrgreen:
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Power

Postby Troodon » Fri Nov 30, 2007 12:01 pm

Easy to remember:
tekdino AT gmail.com

And thanks for the point! :D
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

Re: Power

Postby Azou » Fri Nov 30, 2007 1:49 pm

That was nothing :mrgreen:
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron