• What are you working on? November 2011 Edition
    3,673 replies, posted
[QUOTE=Yogurt;33417535]Did my code help you fix collisions?[/QUOTE] Nope, not yet, I think collision is still too hard for me, I'm still using my old code since that's working best, but it's still kind of annoying since I can't begin with NPC's.
Hey guys i recently read this thread and i want to start programming. I know it sounds stupid but what is the best way to start?
[QUOTE=icantread49;33416945]it's a very basic particle system designed to run in real-time on my ipod touch 2g ... you can increase the particle count in the options menu if you have a high-powered device that said, i don't know how else to make it look better ... any suggestions?[/QUOTE] Use sprites that look like smoke particles instead of orbs, color them red/orangish, move them upwards instead of in a circular pattern, then fade them out to a smokey color as they travel a certain distance and speed them up as they become smokier. I don't think that's too much for an iPod 2G.
[QUOTE=snowzombeh;33417946]Hey guys i recently read this thread and i want to start programming. I know it sounds stupid but what is the best way to start?[/QUOTE] Choose a language you would like to do.
[QUOTE=Downsider;33417961]Use sprites that look like smoke particles instead of orbs, color them red/orangish, move them upwards instead of in a circular pattern, then fade them out to a smokey color as they travel a certain distance and speed them up as they become smokier.[/quote] thanks a lot for the tips, i'll put them into effect [quote]I don't think that's too much for an iPod 2G.[/QUOTE] you're right. i was mainly referring to any suggestions that would break point-sprite compability which allows me to render all of the particles in 1 draw call. things like different size or rotation per particle would cause that breakage
[QUOTE=icantread49;33418017]you're right. i was mainly referring to any suggestions that would break point-sprite compability which allows me to render all of the particles in 1 draw call. things like different size or rotation per particle would cause that breakage[/QUOTE] You could push them into an array and do the transformations for rotation/size on the CPU for a single draw call, that's what I do for my particles in my game, granted I haven't tested scenes that are heavy with particles on the iPod 2G yet. Maybe having a lookup table to estimate the rotation transformations would be the best solution for the iPod 2G?
[QUOTE=Jookia;33415172]As of sometime this morning before I passed out pissed off from pushing to a repo I shouldn't have, Desurium now uses ~/.config and ~/.cache instead of ~/.desura![/QUOTE] Sorry for not being a linuxey person, but why would you want it to use a generic name like .config instead of a verbose one? That'd be like your .bashrc file being .rc
[QUOTE=Lexic;33418433]Sorry for not being a linuxey person, but why would you want it to use a generic name like .config instead of a verbose one? That'd be like your .bashrc file being .rc[/QUOTE] [url=http://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html]XDG Base Directory Specification.[/url] I should've written that stuff goes in .config/desura or .cache/desura.
[QUOTE=swift and shift;33414649]hey it wasn't my choice, i had to get it for my software development class[/QUOTE] Why not be a rebel and program everything directly in CIL
[QUOTE=ZenX2;33419099]Why not be a rebel and program everything directly in CIL[/QUOTE] CIL is kinda nice. Object oriented assembly FTW.
Hey guys, what happened to Austech?
So apparently one of the future java assignments will be to create a mandelbrot generator. Im gonna give openGL a rest and make a mandelbrot generator in SFML. is there a faster way to edit all the screen pixels other that how I did it in the perlin noise map maker? Ie. [code] for x < screen.width { for y < screen.Height { screen.setPixel(x, y, computeColor); } }[/code]
[QUOTE=Darwin226;33419254]Hey guys, what happened to Austech?[/QUOTE] Is that a hey-what-about-major-kong type post?
[QUOTE=Jookia;33419670]Is that a hey-what-about-major-kong type post?[/QUOTE] I have no idea what you're talking about :(
[img]http://i.imgur.com/KOxhr.png[/img] Dirt transition.
Holy shit I got two circles to move based on two separate client's input [img]http://dl.dropbox.com/u/45554193/gsgsderp.png[/img] I am so happy
[QUOTE=Darwin226;33419806]I have no idea what you're talking about :([/QUOTE] [url=https://www.youtube.com/watch?v=JlSQAZEp3PA]It's a reference to this.[/url]
[QUOTE=Darwin226;33419254]Hey guys, what happened to Austech?[/QUOTE] I spoke to him yesterday. He ate pizza.
Halp there is a hole in my code! [img]http://i.imgur.com/OgaeK.png[/img] Could you please tell me what I'm doing wrong here (look at shipHasCannon)? It is like there is a hole in the document where C# Express just won't detect anything. None of my variables work there, not even "acceleration" which works fine later on. I'm having a fever right now so I'm wondering if it is just me or if it really is C# Express fucking up.
You can't make an if statement out of a method, if I'm correct.
[QUOTE=drblah;33420552]Halp there is a hole in my code! [img]http://i.imgur.com/OgaeK.png[/img] Could you please tell me what I'm doing wrong here (look at shipHasCannon)? It is like there is a hole in the document where C# Express just won't detect anything. None of my variables work there, not even "acceleration" which works fine later on. I'm having a fever right now so I'm wondering if it is just me or if it really is C# Express fucking up.[/QUOTE] You can't put an if in a class declaration, you need to put it in a method.
You need to put the if statement inside a function, not in the class definition.
Doh! Seems like my fever is too high for this :V . Better go to bed.
Would any of you recommend I try and learn me some erlang? Or even learn me a haskel? I saw these tutorials: [url]http://learnyousomeerlang.com/content[/url] [url]http://learnyouahaskell.com/chapters[/url] And they look splendid. I'm curious what you guys think about functional programming.
[QUOTE=Darwin226;33419254]Hey guys, what happened to Austech?[/QUOTE] For a while (about a month and a half?), I stopped coding because I felt like I needed to take a break for a while, I didn't want to get bored. And then I've worked on a few learning projects (mainly to get better at networking) that unfortunately never got finished. And then I ate a pizza yesterday. I just got tired of posting projects that never got finished, or projects that eventually get dropped, but if you guys are fine with that then let me know and I'll be more active. :D
[vid]http://dl.dropbox.com/u/8745051/facepunch/tilesV7%20waterandnpc.webm[/vid] Fucked up water and NPCS! Such an accomplishment
[QUOTE=benji2015;33420998][vid]http://dl.dropbox.com/u/8745051/facepunch/tilesV7%20waterandnpc.webm[/vid] Fucked up water and NPCS! Such an accomplishment[/QUOTE] Well that's some pretty shit.
Oh god I just found out about Alt + Text Selection [img]http://i.imgur.com/hvfFS.png[/img]
[QUOTE=benji2015;33420998][vid]http://dl.dropbox.com/u/8745051/facepunch/tilesV7 waterandnpc.webm[/vid] Fucked up water and NPCS! Such an accomplishment[/QUOTE] God fucking dammit
Just got switch statements to compile (with both case and default statements) and I also added elseif. By the way, what you see in the console is a class hierarchy containing information about the code and its structure so it's really clean and easy to manage when compiling to other languages (including machine code). [IMG_thumb]http://i.imgur.com/Bnzlc.png[/IMG_thumb] The code in the picture: [code] function bool main(string cmd) { switch(cmd) { case("Hello, world!") { return true; } case("foo") { return false; } case("bar") { return true; } default() { return false; } } if(cmd == "Hello, world!") { return true; } elseif(cmd == "foo") { return false; } elseif(cmd == "bar") { return true; } else { return false; } } [/code]
Sorry, you need to Log In to post a reply to this thread.