PerlinScape (now with source)

This forum is currently in read-only mode.
From the Asset Store
Source File, music and art pack for Android Negotiator
  • I was excited about the Perlin Noise plugin when it was announced, but couldn't really make up my mind what to do with it. Because of some topdown prototyping and the example Newt posted in the plugin thread, I came across making this little thing:

    <img src="http://dl.dropbox.com/u/2306601/PS032b_small.png">

    PerlinScape 0.4 with source

    So you can randomly generate those little landscapes and automatically create a pseudo 3D view of it. Not a big deal, but I was pleased enough with myself to share this here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Looks cool. I must admit I am curious as to how your doing the textures.

    hehe Tell us how that's done, and I'll tell ya how to generate a collision mask.

  • i you post a cap ill show you how to mount it on a sphere to make a populous style planet

  • Newt I can tell you the secret

  • Ahh well, I figured it was staggered sprites, but I was hoping it wasn't.... kinda.

    I mean its possible to do the same thing with much smaller sprites stretched, and tiled with u, and v.

    I just haven't figured out how to do that correctly.

  • Ahh well, I figured it was staggered sprites, but I was hoping it wasn't.... kinda.

    I mean its possible to do the same thing with much smaller sprites stretched, and tiled with u, and v. I just haven't figured out how to do that correctly.

    Yes, the terrain is made out of three different 64x64 sprites and the water out of two. I'll add some more textures and will probably go for the generic mountains with snow on top for this example too.

    i you post a cap ill show you how to mount it on a sphere to make a populous style planet

    I was wondering about creating planets like this. Some spheric warping math or something? I'll release the source soon so maybe you can give it a whirl then.

    I updated the link in the first post with another improved version. The heightmap is working correctly now with the light and I added some sort of fake lightmap, at least I like to call it that. It's a bit glitchy in certain situations, due to the way I did it and the fact that Construct isn't a 3D engine, but it gives you a better 3D feel overall imo.

  • This is amazing!!! could to give .cap for this one? Really want to know how did you do it!

  • I was wondering about creating planets like this. Some spheric warping math or something?

    I've been working on that, but I ran into some issues with the lack of object space, so it means you can't rotate the object... still maybe there's a way around it (I see two but havent implemented them yet)

    So from a flat object, apply heightmap plus effect as you are now, then try applying a warp with a spherical distortion, then apply my clip to disk shader, and you'd have a planet

    clip to disk (unfinished) effect, goes nutz if object is not axis-aligned --> http://www.scirra.com/forum/viewtopic.php?f=7&t=5210

    I've been thinking of rolling all of that into a single "planetize" effect, to get correct lighting in there. But yeah, I'm supposed to be doing something else right now.

  • I almost forgot about this. But since I intended to share the source for this, well here it is:

    PerlinScape 0.4 with source

    It's a bit messy and you can probably tell I made this up while I was creating it. It was my playground with the Perlin Noise plugin and mesh distortion after all. Originally I intended to tidy it up, probably starting over from scratch with a clean commented cap. But for now you'll have to live with this.

    I quickly added a slider for Z elevation in there and the ability to enter the seed manually. The source was also saved in 0.99.82 and uses the Perlin Noise plugin (obviously) and the True Greyscale effect. Both you should be able to find here on the forum of course.

    Oh and you guys... what about making pretty planets out of such landscapes now?

  • [quote:3e3fgvi7]The source was also saved in 0.99.82 and uses the Perlin Noise plugin (obviously) and the True Greyscale effect. Both you should be able to find here on the forum of course.

    I know this is an old post but I really wanna check this out, except that I cannot find the True Greyscale effect. The search only turns up this thread.

  • I know this is an old post but I really wanna check this out, except that I cannot find the True Greyscale effect. The search only turns up this thread.

    It's always good to see someone showing interest in the important stuff!

    So here's the True Greyscale effect (courtesy of Shviller).

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