0 Favourites

Questions about canvas and scrolling stages

  • Hello ppl!

    1)The square made of intermittent lines on the canvas, can it be bigger? I am making a scrolling shooter and that area seems to be too small to fit player and enemies without sacrificing details. Just wanted to know if it can be done and if so, how?

    2)If I plan to make stages on a big scope (giant scrolling stages as in famous platformer games) can it be done without making too many layouts? Does construct support this? I mean one giant hi-res image where I move the player through.

    Thanks in advance people ^^

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • 1)The square made of intermittent lines on the canvas, can it be bigger? I am making a scrolling shooter and that area seems to be too small to fit player and enemies without sacrificing details. Just wanted to know if it can be done and if so, how?

    Are you talking about the layout ?

    You can set the layout size in the layout properties.

    Not sure it is what you're talking about though.

    2)If I plan to make stages on a big scope (giant scrolling stages as in famous platformer games) can it be done without making too many layouts? Does construct support this? I mean one giant hi-res image where I move the player through.

    A single big image is bad design as it just consume vram uselessly.

    Have a look at the how do I FAQ and check the section "Scrolling/Camera" you'll have multiple examples of how to perform a scrolling with C2.

    An yes, it allows you to make large levels in the end, but you have to be smart about the way you set them up.

  • I did as the ppl in the topic did and the scrolling works well when the screen is the same size as the layout. In my case the screen is smaller than the layout and that causes a gap to appear between the two objects that are scrolling.

    To be precise those two objects are two rectangles which represent the sea which is supposed to scroll to the left (simulating the ship moving at a great speed).

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
[PLUGIN] Canvas
627 186,681
zenox98's avatar
zenox98
Unread hot topic
353 32,088
yojona's avatar
yojona
Unread sticky
192 1,337,425
Kyatric's avatar
Kyatric Construct Team Support