The Daily Click ::. Forums ::. Klik Coding Help ::. selecting one active
 

Post Reply  Post Oekaki 
 

Posted By Message

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
1st October, 2009 at 20:52:14 -

so your able to create an active when you click with the mouse. Then I want to change the XScale fro the distance between the point and the mouse. I also want it to always look at the mouse when dragging (360 directions). This all works fine except all the actives that I create do it. I need the active that I just created to do this? Any help?

I could probably use spread values, but I don't know how to use them.

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
1st October, 2009 at 20:57:21 -

It may not be the most efficient way, but a simple idea comes to mind... What about:

Click
>> Set Active Value A to 0
+Create object
>> Set Active Value A to 1

Always
+Active Value A = 1
>> Do stuff.

If that doesn't work we'll just move on to another idea!

 

  		
  		

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
1st October, 2009 at 21:53:13 -

nope didn't work. Have any other ideas?

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49610

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
1st October, 2009 at 21:57:52 -

Taa Daaaaa!

http://www.jsoftgames.com/mousecreatedobjsca.zip

Done with no extensions.

 
n/a

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
1st October, 2009 at 22:17:48 -

sweet! Now it works OMC was pretty much right, but i had to add if the mouse wasn't held down: set value to 0

Thanks a lot Urban Monk! Line Rider FanGame, here I come

Edited by Sumo148

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
1st October, 2009 at 22:23:26 -

Great work with the example! Sumo I shall look forward to your line rider game.

 

  		
  		

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49610

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
1st October, 2009 at 22:42:46 -

Thankers! Line rider made in mmf2! Great!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click