The Daily Click ::. Forums ::. Klik Coding Help ::. A Possible Tricky Question
 

Post Reply  Post Oekaki 
 

Posted By Message

Heart Break Kid



Registered
  13/05/2003
Points
  1754
28th October, 2005 at 10:49:34 -

First i want you to see this pic:
http://www.freewebs.com/rehansites2/example.jpg

Now as u can see in the pictures there was a circle with lines in particular direction in it ... now i want this that when i change the direction of the circle ( 32 ) then these lines change their directions with it .... even when i change the position of this thing!!

i did something like that before but lost that game file :s

 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
28th October, 2005 at 17:23:07 -

your picture isnt working

 
n/a

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
28th October, 2005 at 18:02:06 -

Yes it is.

copy and paste the url in the address bar

Image Edited by the Author.

 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
28th October, 2005 at 21:03:27 -

This should work, use the expression evaluator button. And of couse put in the proper expressions.
Always set line1 direction to circle's direction
Always set line2 direction to circle's direction - 6
Always set line3 direction to circle's direction + 6

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Heart Break Kid



Registered
  13/05/2003
Points
  1754
28th October, 2005 at 23:13:44 -

i tried that how is that supposed to work and what when my object is moving and changing position as well as direction ..... plzzzzzz make an example for it

 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
29th October, 2005 at 09:40:27 -

Instead of making the lines look in the direction the ball is looking in, why not use "look in direction of" and select the balls position

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
29th October, 2005 at 18:49:42 -

I don't think anyone has ever told you about the wonders of the expression evaluator. Press the "1+1" on the direction selector to get to it.

www.subsoap.com/ac/toomuchtime.cca

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Heart Break Kid



Registered
  13/05/2003
Points
  1754
30th October, 2005 at 02:06:23 -

i did the same thing through another way but that was not right .. u have done something like this...
if u'll notice then the lines which u made are also comming out from the other side of the circle besides the front while moving
and u have shorten them so much to make this less noticeable but the problem is this i want those line real large as they r supposed to be used as Phazers in the game

 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

Justin Warnes



Registered
  11/11/2005
Points
  6
11th November, 2005 at 03:53:17 -

Okay, if you're making Star Trek like phasers there is a much better (albeit more difficult) way of doing this, using some trigonometry and fastloop. If you e-mail me I will help you write a working and nice-looking phaser routine.

 
[ http://www.sozomai.net ]

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
12th November, 2005 at 11:48:02 -

u'll notice? What kind of language is that?

 
Old member (~2004-2007).

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
12th November, 2005 at 20:37:18 -

I don't understand what you want.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click