Smooth curves in ground, how?.

0 favourites
  • 6 posts
From the Asset Store
25 high quality isometric ground blocks + sprite sheet
  • Hi, does anyone know how this type of ground were created with smooth curves ?.

  • Just draw a smooth ground and then change the collision polligon of the sprite in construct 2

  • I understand, Construct suggests that you do not put more than 8 points of collision due to consumption of CPU required.

    But that game should have many set points and also, the game is quite old so I guess there's not a big problem in defining many points today.

  • well you probably have to set up a tile map... so each tile doubtfully need more than 8 points.. especially since you don't need to do the bottom parts. It doesn't have to be exact. Also shrink the collision box slightly so there's a little overlap on to the ground.

  • I have a couple of big sprites with more that 30 points working on mobile... You shouls be fine if you don't use many physics interactions...

    (Sorry for the late reply)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The terrain was probably done with an array of the y position of the terrain at every X, or maybe just a polyline. It's fast because only the points near the bike need to be checked. That is an optimization that works in that particular case. C2 is more general purpose, but the same idea could be used with manual collision detection and response.

    The recommended C2 way is to make the terrain up of multiple objects that make up the curve. Tilemaps could be used but they may not give smooth enough curves depending on what you want.

    More ideas here:

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