Break Brick randomly generated levels?

0 favourites
  • 5 posts
From the Asset Store
Template for a bricks 'n ball game, fully documented in comments and video
  • I want to do like 100 levels, but I don't think it would be wise to use 100 layouts. I have a thing that you drag and it spins to break the blocks and hand placed blocks on about 5 levels. But I notice a lot of pro made games are code rather than just placing blocks yourself. My stuff always looks hand made for this reason I think.

  • hand made levels aren't bad or better than auto-generation. Both have pluses and minuses. However in your case I think you are talking about just wanting to 'modularize' your code so you don't have to physically hand-make levels.

    I would suggest thinking of a process to generate your levels and have one layout that deals with variables. Whether generated blocks or predetermined, making code that can place your blocks will get you a lot further.

    I would think about how you could set up a block or "grid" system. This will allow you to programmatically place blocks. One way would be to create a place-holder sprite that is invisible and fill your entire layout with 'eligible' numbered spaces. Then when you generate your level you can figure out where to place your blocks. You can create and read a JSON file - this would be you creating a system or set of numbers where you place your blocks on the grid OR you can make code that generates it making for random levels.

    it won't be easy and might take a decent amount of time to set up and getting it working, but once its in place it could allow you to make a lot of content.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Watch this video, here the level is generated by a JSON file

    https://youtu.be/YEJugSzkXl8

  • Watch this video, here the level is generated by a JSON file

    https://youtu.be/YEJugSzkXl8

    seymore Interesting..Thought provoking.

    thanks jobel food for thought as well.

  • Watch this video, here the level is generated by a JSON file

    https://youtu.be/YEJugSzkXl8

    thanks its helpful for me

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