Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 47 48 [49] 50 51 ... 796

Author Topic: if self.isCoder(): post() #Programming Thread  (Read 887470 times)

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #720 on: January 20, 2012, 11:28:02 am »

My personal projects on the other hand make steady progress until I stop working on them completely.
Logged

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #721 on: January 20, 2012, 11:30:48 am »

Even Toady uses a height map for his complex 3d terrain with volume and internal structure.
I know, and I don't like it. I want overhangs, arches, shallow caves, gaps, cracks, etc :)

I'll just start with a sphere and some displacement, and go from there, I guess.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #722 on: January 20, 2012, 11:39:13 am »

Those are 99% erosional features. A good weathering algorithm applied to a traditional height map may be able to provide some/most of the features you are looking for.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #723 on: January 20, 2012, 11:42:12 am »

Well, if you have a height map and various materials in a pseudorandom placement to fill each level, "empty space" as a valid material would potentially accomplish a similar effect, no?
Logged

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #724 on: January 20, 2012, 11:45:12 am »

My personal projects on the other hand make steady progress until I stop working on them completely.

Preaching to the choir man :P I have a habit of starting a project to test a theory or idea (such as making there be no difference between the player and NPCs except for which AI controller is moving them around, or using an entity-component model) and when I have a proof of concept, I know it will work and I can do it, I just lose all interest in continuing. The fun part of figuring out how to get my idea to function is complete after all ^^
Logged

Aqizzar

  • Bay Watcher
  • There is no 'U'.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #725 on: January 20, 2012, 04:54:40 pm »

I really wish C# had a way to selectively clear the console.  Remembering even tile that needs to be overwritten is a pain, but for-looping a 59x21 block of text is not quick enough (that is to say, instant).  I'm definitely going to be looking into "graphic" libraries in the near future, but by Max's take libtcod is a joke.

Speaking of, hey Max, didn't you say you were working on your library?  What's involved in doing that?
Logged
And here is where my beef pops up like a looming awkward boner.
Please amplify your relaxed states.
Quote from: PTTG??
The ancients built these quote pyramids to forever store vast quantities of rage.

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #726 on: January 20, 2012, 05:25:41 pm »

I still like libtcod, but maybe its a bit more sane in python.
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #727 on: January 20, 2012, 06:19:56 pm »

I know, and I don't like it. I want overhangs, arches, shallow caves, gaps, cracks, etc :)

I'll just start with a sphere and some displacement, and go from there, I guess.
It is best to model after your problem domain, right? I'm pretty sure that is geology  layers and formations always form without such things, and then they come up later.
The trick is to introduce igneous intrusive structures that don't erode nearly as much, then you will get all these cool structures.

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #728 on: January 20, 2012, 06:22:50 pm »

This weekend, I will only be able to code for my self if I am too sick to drive to Mississippi and play airsoft and deliver and setup some equipment to my grandfather...
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #729 on: January 20, 2012, 11:31:39 pm »

Java goes retarded when generics are involved, apparently. Anybody know why this isn't working?

Spoiler (click to show/hide)

Mego

  • Bay Watcher
  • [PREFSTRING:MADNESS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #730 on: January 21, 2012, 12:02:31 am »

Does the constructor maybe need the generic tag as well?

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #731 on: January 21, 2012, 12:08:23 am »

http://www.angelikalanger.com/GenericsFAQ/FAQSections/ParameterizedTypes.html#FAQ104

You are not allowed because generic arrays are not type safe, yes it is retarded.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #732 on: January 21, 2012, 12:14:22 am »

Well I was going to make this awesome roguelike library in Java because I wanted the cross platform support, be nice to the linux users and all that, but fuck it, I'm done here.
Moving back to c#, Java needs to get its pants off its head and act like a grown up language. I'm not asking for it to be as serious as its father c++, but if little brother c# can handle this shit, I expect the same.

Mego

  • Bay Watcher
  • [PREFSTRING:MADNESS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #733 on: January 21, 2012, 12:22:35 am »

cross platform support, be nice to the linux users

Lolwhat.

On many Linux platforms, Java is so broken that an additional package called JPackage is needed to make it run right. On Fedora, my distro, even JPackage doesn't fix it.

Linux is hardcoded to reject Java. That's why I like it.

Willfor

  • Bay Watcher
  • The great magmaman adventurer. I do it for hugs.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #734 on: January 21, 2012, 12:29:00 am »

If you want cross platform, I would have went with python. You're losing raw speed, but gaining infinitely more. Infinitely.
Logged
In the wells of livestock vans with shells and garden sands /
Iron mixed with oxygen as per the laws of chemistry and chance /
A shape was roughly human, it was only roughly human /
Apparition eyes / Apparition eyes / Knock, apparition, knock / Eyes, apparition eyes /
Pages: 1 ... 47 48 [49] 50 51 ... 796