oh!oh!

Non-platform specific questions.

oh!oh!

Postby hobgoblin » Fri Feb 27, 2004 1:16 am

a fast one!

how do i put actions in mouse1???

like

key down-mouse1
create actor-shot
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby makslane » Fri Feb 27, 2004 1:17 pm

I didn't understand
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

if i understood properly

Postby ingsan » Fri Feb 27, 2004 1:36 pm

if i understood properly :

Do u remember what i told u about the shoot :?:
Add Event KeyDown,with repeat disabled
Press "a key of ur choice"
Add Action CreateActor "Shoot"

So, here it's the same except that instead of pressing a keyboard key, u just press on the lMouse left-click :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

Re: if i understood properly

Postby hobgoblin » Fri Feb 27, 2004 9:18 pm

ingsan wrote:if i understood properly :

Do u remember what i told u about the shoot :?:
Add Event KeyDown,with repeat disabled
Press "a key of ur choice"
Add Action CreateActor "Shoot"

So, here it's the same except that instead of pressing a keyboard key, u just press on the lMouse left-click :wink:


but i can't put the mouse1

mouse2 makes "any key" but doesn't work anyway
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Re: if i understood properly

Postby ingsan » Fri Feb 27, 2004 10:54 pm

Add Event KeyDown,with repeat disabled


:oops: Please excuse me ! i've done a big mistake :(

Instead of adding Event KeyDown, u have to :

add Event Mouse Button Down and then press Mouse Left-click !

Sorry i'm really confused :!:
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Re: if i understood properly

Postby hobgoblin » Fri Feb 27, 2004 11:16 pm

ingsan wrote:
Add Event KeyDown,with repeat disabled


:oops: Please excuse me ! i've done a big mistake :(

Instead of adding Event KeyDown, u have to :

add Event Mouse Button Down and then press Mouse Left-click !

Sorry i'm really confused :!:


now it works like this, but not very well... :(
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Re: if i understood properly

Postby hobgoblin » Mon Mar 01, 2004 11:22 pm

ingsan wrote:
Add Event KeyDown,with repeat disabled


:oops: Please excuse me ! i've done a big mistake :(

Instead of adding Event KeyDown, u have to :

add Event Mouse Button Down and then press Mouse Left-click !

Sorry i'm really confused :!:


look...
i'm making a first person game
so i got 3 actors the AIM , the GUN and the SHOT

the gun should shoot in the aim direction with mouse1
but it shoot only if i click with mouse1 in the gun
but i need to click in the enemys

is possible use mouse1 to shoot anywere? (not only if i click in the gun)
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby makslane » Tue Mar 02, 2004 1:33 am

Catch the Mouse Button down event in your enemies actors
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby hobgoblin » Tue Mar 02, 2004 2:03 am

makslane wrote:Catch the Mouse Button down event in your enemies actors


i did that, but the GE stop working :shock:
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby makslane » Tue Mar 02, 2004 12:03 pm

crash?
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby hobgoblin » Tue Mar 02, 2004 10:39 pm

makslane wrote:crash?


yep
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby makslane » Tue Mar 02, 2004 11:09 pm

Can you send to me your project?
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby hobgoblin » Wed Mar 03, 2004 1:17 am

makslane wrote:Can you send to me your project?


well...not really, becouse i the site that i make uploads i can do only 900kb
:oops:
and my game is 1.2mb

but forget it...i'll try to do like the shark game...
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest