Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I have a problem with the movement of a sprite to be the enemy.
I made this sprite follow the player (behavior bullet + 8 directions moves+move to direction of move player) but c2 rotates the image of enemy and do not want, I want the static image.
Does anyone know how to do?
In the properties for the 8Direction behavior, set 'Set Angle' to 'no'. Also make sure 'Set Angle' is 'no' in all other behaviors that have this property.
yes I have done this but still the same .... to chase the player 1 and make a turn the sprite rotation ..: (
I uploaded the game to dropbox.
Can anyone tell me how to make the ghost don't rotate to chase the player?
This is the link of capx
Develop games in your browser. Powerful, performant & highly capable.
Your last event is the culprit:
Sprite2: Set Angle Toward (Sprite.X, Sprite.Y)
Replace the action with:
Sprite2: Set Bullet angle of motion to angle(Sprite2.X,Sprite2.Y, Sprite.X, Sprite.Y)
I have done differently and it worked.
With the plugin "move to" and the action set move to target position to sprite x,sprite y
move to target position to sprite