Problems with Layout and Background game

  • [attachment=0:18hl8q36][/attachment:18hl8q36]

    Link for image:http://imgur.com/ZzODAL2

    I am newbie with Construct 2 and i have a problem with first demo project:

    My project:

    Layout:

    • Sizes:960,960
    • Margins:960,960

    Background:

    • Position:0,0
    • Size:960,960

    so how i can solve this problem??

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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

  • 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.

  • Perhaps actually follow the tutorial

    You can use bound to layout.

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

  • Perhaps actually follow the tutorial

    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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)