• What are you working on? v15
    5,001 replies, posted
[QUOTE=chimitos;28137071]What. I keep clicking on the page 114 link at the bottom of page 113, and it takes me to the top of page 113. I read though half of it, without realizing it wasn't a new page. [b]Edit:[/b] And now I am pageking. :tinfoil:[/QUOTE] Yeah, this happens to me sometimes too :raise: [img]http://filesmelt.com/dl/techneticalc.png[/img] Working on an RPN parser and evaluator for my school major work. So far I have the infix to postfix conversion done, but I have yet to start the evaluation. I'm wondering whether double would be sufficient accuracy for calculations - I'd like to use an arbitrary-precision library but the .NET framework doesn't provide any and I can't seem to find any suitable third party ones. You can see there I've got arbitrary functions working, and functions with multiple args - this is pretty rudimentary though, you'll get stack corruption if you pass more or less variables than the function wants. I'll fix this up later, there isn't much error checking anywhere. And as a sidenote, what's the name of that program that takes pretty aero screenshots so the background colours don't bleed through the sides or titlebar?
[QUOTE=Nigey Nige;28129271]Learning Python, working on a simple text adventure game: [url]http://codepad.org/wyLmdFVd[/url] I'm herping hard enough to derp here, anyone got advice on how to set this out?[/QUOTE] I know I'm a bit late, but this made me laugh: [code]print "ARGANANGANGAHNAGFAADFSAF FATAL SYSTEM ERROR"[/code]
[QUOTE=Jimmylaw;28136852]Honestly, this section of facepunch makes up for everything else of this community, there are no trolls here, no cunts, no one out just to mock other peoples creations. So, DEAR FACEPUNCH PROGRAMMING SECTION! I THANK YOU! You are the only thing that makes me come back and check this community! You are the only people that will help me with the smallest problem ever and help as much as you can without calling me an idiot or telling me to google it. You share ideas and welcome the new people! I couldn't ask for a better section of a forum.[/QUOTE] Except for two users who shall remain nameless and whose names start with S and T, and end with A and P respectively.
[QUOTE=supersnail11;28138131]Except for two users who shall remain nameless and whose names start with S and T, and end with A and P respectively.[/QUOTE] Oh you're back. Whoop.
[QUOTE=supersnail11;28138131]Except for two users who shall remain nameless and whose names start with S and T, and end with A and P respectively.[/QUOTE] I've been thinking about this since you posted it and I still can't figure out who the second person is...
Ugh SmartIrc4net is pissing me off. It keeps getting dropped for "excess flood" when its doing nothing :\...
[QUOTE=BlkDucky;28138210]I've been thinking about this since you posted it and I still can't figure out who the second person is...[/QUOTE] Tweep. He went on a short spree a few months ago about how all languages suck besides lua.
So what was that about them remaining nameless?
[QUOTE=Jimmylaw;28136852]no trolls here, no cunts, no one out just to mock other peoples creations.[/QUOTE] You must be new here...
[QUOTE=BlkDucky;28112627]I posted it earlier, but here's the link again: [url]http://roguebasin.roguelikedevelopment.org/index.php?title=Diffusion-limited_aggregation[/url][/QUOTE] Had to try something similar :) [img]http://filesmelt.com/dl/DungeonTest.PNG[/img] The red is tiles connected. Btw your charactergraphics are very similar to this game [url]http://testing.realmofthemadgod.com/[/url]
[QUOTE=Quark:;28138612]So what was that about them remaining nameless?[/QUOTE] It's not nameless once I give out the first and last letters, is it? Anyways, tweep is banned, and the first guy I haven't said his name yet.
[QUOTE=mechanarchy;28137391]And as a sidenote, what's the name of that program that takes pretty aero screenshots so the background colours don't bleed through the sides or titlebar?[/QUOTE] I use [url=http://code.google.com/p/zscreen/]zscreen[/url].
I use printscreen.
[QUOTE=Jimmylaw;28136852]there are no trolls here, no cunts, no one out just to mock other peoples creations. [/QUOTE] ha
I have taken Perlin Noise and screwed it up and made it, interesting. Any comments please. [img]http://dl.dropbox.com/u/2014606/out.png[/img]
[QUOTE=Vbits;28140612]I have taken Perlin Noise and screwed it up and made it, interesting. Any comments please. [img_thumb]http://dl.dropbox.com/u/2014606/out.png[/img_thumb][/QUOTE] make a copy 1680x1050, it looks like it could make a nice background :smile: might need a little bit of post-processing smoothing, maybe
I ran it over with a blur and the way the values work it has to be powers of two. But rendering a 2048, 2048 image works will but takes 3 minutes. I cropped it down to 1680, 1050 with paint.net and applied some more blur. [img]http://dl.dropbox.com/u/2014606/noise_desktop.png[/img]
[QUOTE=Vbits;28140612]I have taken Perlin Noise and screwed it up and made it, interesting. Any comments please. [img_thumb]http://dl.dropbox.com/u/2014606/out.png[/img_thumb][/QUOTE] Looks like paper.
Though that is true with the right configuration any type of noise will look the same.
[QUOTE=neos300;28136193]Alright. I actually understand this now, I just have to figure out how to handle collision now... [editline]18th February 2011[/editline] So to add a gravity force you just apply a force of 3 (or so) every frame?[/QUOTE] No, you don't understand. You would apply a fixed downwards [u]acceleration[/u] to every object every frame.
Remember to take into account terminal velocity though.
[QUOTE=Vbits;28144011]Remember to take into account terminal velocity though.[/QUOTE] Just remember to add air resistance/drag and that's it. The air resistance force should grow directly proportionally to velocity, but in the opposite direction and thus when the velocity grows high enough, the resistance force will cancel the gravitational force and the object will fall at a constant velocity known as the terminal velocity.
[QUOTE=Spoco;28144162]Just remember to add air resistance/drag and that's it. The air resistance force should grow directly proportionally to velocity, but in the opposite direction and thus when the velocity grows high enough, the resistance force will cancel the gravitational force and the object will fall at a constant velocity known as the terminal velocity.[/QUOTE] Actually, drag is proportional to a constant dependent on the shape of the object (which is a bit sort of shit, I know: I think you have to calculate it numerically using a computer), the area of the shape which is facing into direction of travel (hence fat people have more drag than thin people) and the square of the velocity.
[QUOTE=TheBoff;28144246]Actually, drag is proportional to a constant dependent on the shape of the object (which is a bit sort of shit, I know: I think you have to calculate it numerically using a computer), the area of the shape which is facing into direction of travel (hence fat people have more drag than thin people) and the square of the velocity.[/QUOTE] Okay, I screwed up the [u]directly[/u] proportional part, but yes I knew it's dependent on the shape of the object, but since the example code that was posted before was meant for particles and the shape probably isn't often taken into account except in physics simulations, I didn't tell about it. It would have to be calculated every frame as well and I think it would be heavy performance wise.
[QUOTE=Vbits;28141008]I ran it over with a blur and the way the values work it has to be powers of two. But rendering a 2048, 2048 image works will but takes 3 minutes. I cropped it down to 1680, 1050 with paint.net and applied some more blur. [img_thumb]http://dl.dropbox.com/u/2014606/noise_desktop.png[/img_thumb][/QUOTE] Blur ruined it for me.
[QUOTE=Dj-J3;28144653]Blur ruined it for me.[/QUOTE] [media]http://dl.dropbox.com/u/2014606/noise_raw.png[/media] Media'd due to 4.3MB file size The image you saw had different 2 blurs applied The first one still has one.
[QUOTE=Vbits;28144711][media]http://dl.dropbox.com/u/2014606/noise_raw.png[/media] Media'd due to 4.3MB file size The image you saw had different 2 blurs applied The first one still has one.[/QUOTE] I like this one the most, kinda looks like cloth.
Yeah it is alot like cloth, if you zoom in you can even see the fibers at one pixel across.
[QUOTE=Vbits;28144711][media]http://dl.dropbox.com/u/2014606/noise_raw.png[/media] Media'd due to 4.3MB file size The image you saw had different 2 blurs applied The first one still has one.[/QUOTE] Oh man, that's perfect. [url]http://img407.imageshack.us/img407/7730/ss20110219141443.png[/url]
[QUOTE=Dj-J3;28145648]Oh man, that's perfect. [url]http://img407.imageshack.us/img407/7730/ss20110219141443.png[/url][/QUOTE] You have 2 monitors.
Sorry, you need to Log In to post a reply to this thread.