Procedurally Generated Content in Crooked

This forum is currently in read-only mode.
  • i'm looking forward to your progress! please check your videos for the correct aspect ratio next time, so your video diary is less irritating to watch.

    Sorry about that, had it in 1000x1000 from back when it was little dots and the whole city was 1000x1000 pixels. Got it in a regular ratio now.

    At the moment I'm focusing on the buildings. I decided that I want everything kind of stylized when I'm done, so I'm going to be using Google Sketchup to design the buildings and screenshot each side to texture their outsides, I'll probably use it to model their interiors and probably the furniture in there as well. It's a nifty little program created for designing architecture - for people who can't design/model/do art...such as myself. It was originally created for Google Earth, to get more 3D buildings on their map.

    Apparently it can even turn a picture into a 3D model or something. It's a really cool program, I think I'll enjoy using it.

  • ... model their interiors and probably the furniture in there as well.

    your intended level of detail is mind-boggling... but why would you want to model the interiors by hand when you could create them procedurally, like your city?

  • I believe his missus likes decorating interior... even if it is virtual. Ya know, women. "Honey, which one for the curtains?" "Umm, red?" "Nah, blue is more relaxing." "Okay, as you say."

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • your intended level of detail is mind-boggling... but why would you want to model the interiors by hand when you could create them procedurally, like your city?

    Interiors will be based on maps, but the content will be procedural. For instance, there will be 100 interior maps for "LightResidential" buildings...but the furniture placement in there will be randomized in each one, even if you find the same map twice.

    The game goes into sidescrolling mode when you enter a building. Modelling stuff in Sketchup ensures that buildings are consistent both on top and from the side.

  • This will be my last update to this thread on progress on the program. I don't want to keep bumping this thread to the top of the forum. I will be making a simple blog for progress on the game in the coming days, and put it in the original post. That way anybody interested can see my progress, and anybody not interested doesn't have to deal with my thread being on top all the time.

    Last night Deadeye gave me a lot of really awesome performance tips. Seems that events don't have to have the Always condition to fire every frame. It also seems that comparisons done on an object will always pick the initial instance of that object and no further ones - unless you pick by comparison. Once this was hammered into my skull, my performance problems vanished...and knowing this I have a lot of refactoring to do. My program also has become frayed with features. There are a lot of features implemented, but a lot of loose ends to tie. For instance, the MacroGenerator - the process of generating the city's basic layout - is using globals right now. I need to migrate it to using private variables on a MacroGen object, because using ten globals for a process that happens once is bad design. I'm really afraid to start doing this, I've attempted and given up several times now...because there are several hundred references to these variables and one typo can screw up a lot of things. (Yes I am using Find and Replace, but a lot of it has to be done by hand as well.)

    The only way I can make it easier is with liberal commenting and group usage. If I comment every line, then if one is broken it will be more easily identifiable. So refactoring, and tying up these loose ends is my highest priority right now...I won't be adding any new features until MacroGen and MicroGen are working exactly the way I want them to, and I feel there are no more loose ends on the program. Then I will continue expanding on what is there.

    Last night as deadeye explained things to me a very simple concept for a map popped up into my head, and I figured it would speed development time to have one - a lot of my debugging time is spent looking for a road if I happen to start on grass. That was a thinly veiled excuse to ignore my refactoring pledge and add a map though, here is a quick four second clip of the concept: http://screencast.com/t/qbxdEh2bW

    I use Jing to quickly capture video and images, it lets me basically hit control-shift-s and designate a cropped area on my screen, capture, and upload in a matter of seconds. It makes really crappy videos though, so for the longer Youtube videos I use other capture software, but that takes a lot of editing time. For quick four second videos, Jing is fine.

    EDIT: Started the Blog! It is here. I have to go to work at the moment, so it's something I whipped up in a few minutes. I'll polish it up later. Oh and yes - my character's view of the world is inspired by Rorschach's.

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