Problems with Layout and Background game

Get help using Construct 2

Post » Sat Feb 21, 2015 8:03 am

Untitled.png

Link for image:http://imgur.com/ZzODAL2
I am newbie with Construct 2 and i have a problem with first demo project:Image
My project:
Layout:
  • Sizes:960,960
  • Margins:960,960
Background:
  • Position:0,0
  • Size:960,960
so how i can solve this problem??
You do not have the required permissions to view the files attached to this post.
B
6
Posts: 31
Reputation: 312

Post » Sat Feb 21, 2015 10:37 am

you position the background on 0,0

Most likely, the origin point of your image is in the center.

Double click your sprite, and change the origin point 0 to 0,0, or change the positioning to 480,480
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Post » Sat Feb 21, 2015 12:50 pm

Thank you.But The sprite:Monster always go to outside of view(even in a tutorial example:Ghost Shooter.).So how to stop this sprite go outside?
Link picture:http://imgur.com/yWPu9JS
Sorry but i can not use img tag now.
You do not have the required permissions to view the files attached to this post.
B
6
Posts: 31
Reputation: 312

Post » Sat Feb 21, 2015 12:55 pm

Perhaps actually follow the tutorial :P

You can use bound to layout.

Or add a border (sprites) with solid behavior and make the ghosts bullet behavior bounce of solid :)
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Post » Sun Feb 22, 2015 1:53 am

lennaert wrote:Perhaps actually follow the tutorial :P

You can use bound to layout.

Or add a border (sprites) with solid behavior and make the ghosts bullet behavior bounce of solid :)

In event sheet:
Monster:is outside layout>>monster:set angle toward:Player.X,Player.Y
I have used bound to layout,but can not solve this problem.Monster will stop in layout border,not go to Player position.
And use a border with solid behavior,monster will go by reflection,not to Player position
B
6
Posts: 31
Reputation: 312


Return to How do I....?

Who is online

Users browsing this forum: StillSarah and 19 guests