I am working on one of the Game in which i have to Spawn single Sprite Object at random positions at run time with different time intervals. When that Sprite Objects Instantiated it should move towards Main Character or Main Sprite Object. Please tell me how to do this thing....I am new to Construct 2.
I also want to implement if-else if-else ladder because i want imposed some conditions according to that as there are 4 different positions or places like top/bottom/left/right of the screen from where i have to spawn object at run time and after spawning that object i have to move that object towards the main Object.
Develop games in your browser. Powerful, performant & highly capable.
This is all so basic:
create object at x: random() y: random()
give the object bullet behaviour
set angle towards position
set angle towards object
Did you follow the beginners tutorial?
Most of what you are asking is explained in it..
Thanks for your quick reply Little Stain.
I have tried this. I have created the Object through event and also add bullet behavior on that Object. Also add set angle towards position event. But when the Object spawn the angle of the Object reverse and it is moving in random direction not towards the Object i want to move.