Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: My 7DRL: It's finished, I guess.  (Read 2921 times)

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
My 7DRL: It's finished, I guess.
« on: March 11, 2010, 06:53:05 pm »



This is the world after heavy application of chaos(source: debugging buttons).

Now, I want your opinions: Should I also corrupt colouration of the tiles and/or have the corruption scramble the colours differently(so that it may increase them as well as decrease)?
« Last Edit: March 12, 2010, 09:13:59 pm by qwertyuiopas »
Logged
Eh?
Eh!

winner

  • Bay Watcher
    • View Profile
Re: My 7DRL: need opinions
« Reply #1 on: March 11, 2010, 07:05:47 pm »

I'm not quite sure what was here before the chaos magic but it's very pretty now.
I think that if you scramble the colors, you should do it slowly, hopefully slowly enough that the player might not even realize it.
Logged
The great game of Warlocks!

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: My 7DRL: need opinions
« Reply #2 on: March 11, 2010, 07:24:37 pm »

Compare to



(With that one, anything causing more than 10 corruptions at once, would corrupt a pixel of the font for every 10 of the rest, and over 100 would corrupt the R,G,B, or character or a random tile for every 100.)

Progression:
Spoiler (click to show/hide)

How is that?

Generally, the player should not be affecting the world that much in one spell _EVER_ (except maybe through a self-revival spell? Cheating death must be a very corrupt thing to do.)
Logged
Eh?
Eh!

winner

  • Bay Watcher
    • View Profile
Re: My 7DRL: need opinions
« Reply #3 on: March 11, 2010, 08:12:44 pm »

You should definitely corrupt colors, otherwise it's not corruption it's just cataracts.
Also it looks like it's going to be a really awesome game.
Logged
The great game of Warlocks!

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: My 7DRL: need opinions
« Reply #4 on: March 11, 2010, 08:35:53 pm »

Technically, the problem is that the tile colour multiplies the pixel colour, so even though the pixel colour is randomized, the whole anything times zero is still zero issue comes up.
Logged
Eh?
Eh!

winner

  • Bay Watcher
    • View Profile
Re: My 7DRL: need opinions
« Reply #5 on: March 11, 2010, 08:47:46 pm »

what does it look like when you average them instead of multipying?
Logged
The great game of Warlocks!

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: My 7DRL: need opinions
« Reply #6 on: March 11, 2010, 09:07:12 pm »

Well, the problem is that the font starts white, and is supposed to be multiplied to become a specific colour.

Due to the face that at just *one* point, as part of the reason it has an unbelievable framerate, it relies on OpenGL's colouring system to match the internal one that I use. Unless the texture can override the colour in openGL without any sort of fancy effect, then the greatest bit of code I added(so that changes are slowly merged to textures, at a rate of one of 24 blocks per frame) is worthless due to inconsistant results.
Logged
Eh?
Eh!

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: My 7DRL: need opinions
« Reply #7 on: March 11, 2010, 09:23:43 pm »

After a bit of study of OpenGL, I came to a solution:
Explain corruption as coming from two sources: Your corrupted perception, and your actual influence.

Thus, having a circular area corrupted to give a visible change while keeping the current system.
Logged
Eh?
Eh!

winner

  • Bay Watcher
    • View Profile
Re: My 7DRL: need opinions
« Reply #8 on: March 11, 2010, 09:30:09 pm »

Just so you know, your flash games link on your website leads to a page that no longer exists.
Logged
The great game of Warlocks!

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: My 7DRL: need opinions
« Reply #9 on: March 11, 2010, 09:56:41 pm »

How is this?

It is the result of one 10k corruption



Edit: forgot to post this, and went of to continue work.
Now a 10k corruption(on the left) and three 1k on the same spot(on the right) looks like this:


And the site bug is fixed. It was just a g instead of an f in the hyperink on the games page that I encountered before but forgot to fix.
Logged
Eh?
Eh!

winner

  • Bay Watcher
    • View Profile
Re: My 7DRL: need opinions
« Reply #10 on: March 11, 2010, 10:47:06 pm »

it looks good. Do you just use a solid circle area effect or does the chaos decrease as an inverse square effect?
Logged
The great game of Warlocks!

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: My 7DRL: need opinions
« Reply #11 on: March 11, 2010, 11:28:09 pm »

1-(distance²/range²), then

    c*=c;
    c*=c;
    c/=2;
    int c2=c*255;

then finally c2 is used for the variations, *1.2 for the colour variations.

In fact, it would probably be clearer to just post this:
Spoiler (click to show/hide)

Edit: Note: truncated. there is more to the corrupt function, but it is irrelevant.
Logged
Eh?
Eh!

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: My 7DRL: need opinions
« Reply #12 on: March 11, 2010, 11:58:46 pm »

I'm awfully confused as to what you are doing here, but it might look cool if the chaos spread out in waves of intensity instead.
Logged
EMPATHY - being able to feel other peoples' stuff.

winner

  • Bay Watcher
    • View Profile
Re: My 7DRL: need opinions
« Reply #13 on: March 12, 2010, 02:42:19 am »

It amuses me that you have the same map boundaries check that I have everywhere in my code.
I finally got so tired of retyping that I turned it into a function "bool illegal(int y,int x)".
Logged
The great game of Warlocks!

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: My 7DRL: It's finished, I guess.
« Reply #14 on: March 12, 2010, 09:15:46 pm »

Well, It's as done as it will be.

Today, it hit that critical moment where I was able to play for quite a while because I enjoyed it.


If I had to nominate it for an award, it would be worst abuse of rand() :)
Logged
Eh?
Eh!
Pages: [1] 2