It looks like you're new here. If you want to get involved, click one of these buttons!
Hey guys,
I've got a question for a school project i'm just working on.
I've already created an object ( rect ) and I want that rect to moves to an given coordinate with an animation.
Is there a way to do that?
Thank you
Comments
There are lots of different ways to do that, depending on what you are trying to model. Is the rect meant to represent a physical body with mass, momentum, velocity? Do you want it to speed up and slow down smoothly at the beginning and end of the movement? Does it have a maximum speed? Can you show us what you have so far?
I try to make a "connect four" or however you call it
( four in a row ) game where the stones should fall down in the row you tap on. The game is closely done, so I don't want to add physics now XD.
Right now the stones just appear in the row you tap on and I want that they fall down with an animation to an x- and y- coordinate .just in the simplest way of animating
@hallomio77 Look at what I have here and find what you need.
Oh my god
Thank you very much for that code;) its much more better than my project XD
Nice work
I must confess I got a bit carried away here. I have my procrastination hat on. Here is a complete connect4 game, pass-and-play, with realistic animation, game state management, a win animation, a notification system, and recursive win-state checking that can detect even if the winning tile is placed in the middle of the line. And all in just 210 lines! Man I love Codea. Anyone want to add AI to this?
B-)
wonderful and amazing
Awesome work @yojimbo2000