Author Topic: General Programming Megathread - New OP  (Read 30223 times)

Solved the <condition> tag in the ruby ProgramR.

Turned out it was a faulty regular expression.



Another fault with the condition tag in ProgramR, this time it's with setting a condition default using lists. I just put together this simple fix that works when nothing is matched (so nothing is returned), then I just use an if and check for a default in the collections of keys and return it then.

That's 2 major bugs so far and 1 minor bug (the above).


when rendering
1) check x + 1, if block there, don't render the left face
2) do that for x - 1, y + 1, y - 1, z + 1, z - 1
3) done

when rendering
1) check x + 1, if block there, don't render the left face
2) do that for x - 1, y + 1, y - 1, z + 1, z - 1
3) done
brian why u so smart


« Last Edit: November 11, 2012, 08:58:25 PM by Aide33 »

you are yet to post your renderer.




you seem to like lua as much as Brian likes python

This is my 3000th post wooo
well i mean it's kind of hard to not like it when you grew up with it


java is definitely up there on my favorite languages (which constantly changes - the list i posted a while ago probably isn't accurate anymore)

i had a lot of fun with it a while ago doing some pong jframe graphics stuff