ActiveDen

Falling Hearts

  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • United States
  • Referred between 10 and 49 users
RJFlash says

Good Stuff! ..I like the red ‘shadow effect’ :)

2 years ago
Author
Joost Joost replied

Thanks! :)

2 years ago
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
digitalfin says
Purchased

Can we use more objects that fall randomly? For example five different ones? How can this be incorporated?

1 year ago
Author
Joost Joost replied
An easy way to accomplish this would be to look for the lines:
        duplicateMovieClip(heart, "heart"+i, this.getNextHighestDepth());
        thisobj = eval('heart'+i);
and duplicate a different movieclip (heart in this case) depending on i. If you look at i % 5, you would get the numbers zero to 4 before it starts at zero again – you could use this to decide which movieclip you want to copy and assign to thisobj.

Perhaps it’s easier consider the falling card suits file, as this has it implemented for 4 objects – adding a fifth might be easier since you can just copy/edit the relevant pieces of code.

If it doesn’t work out (or you have no actionscript experience and just want me to do it), pop me an e-mail via my profile and I’ll be happy to assist :)

1 year ago

by
by
by
by
by