The Daily Click ::. Forums ::. Klik Coding Help ::. Meny issues (quite a beginners problem)
 

Post Reply  Post Oekaki 
 

Posted By Message

tobbe



Registered
  26/05/2003
Points
  41
14th February, 2005 at 15:15:29 -

Here is the deal, I am making a meny, four choosable icons, and I decided to have them in one active object, each icon "chosen" as one direction. So when I press right, the direction change. The thing is, I'm not getting it to work, the icon freezes or it skips an icon when pressing left/right...

http://www.gazler.com/users/ifrit//help_thumb.gif
this is the relevant event screen.
Thanks in advance/Tobbe

 
pixel artist

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
14th February, 2005 at 15:45:49 -

You have to have all the directions/animations on looping. otherwise it will just end the animation. Hav you tried that?

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

Crobasoft
www.crobasoft.com

Noyb



Registered
  31/05/2004
Points
  1117

VIP Member
14th February, 2005 at 18:59:57 -

An easier way to do that would be:
Only one action while event loops + upon pressing "Right Arrow" - set direction to direction + 8
Only one action while event loops + upon pressing "Left Arrow" - set direction to direction - 8

The "only one action" combined with nondependence on initial direction should at least prevent the skipping.

 
"Omg. Where did they get the idea to not use army guys? Are they taking drugs?" --Tim Schafer on originality in videogames
   

Post Reply



 



Advertisement

Worth A Click