• What are you working on? v16
    5,004 replies, posted
Yep, I wanna be the guy is the inspiration.
The jumping looks pretty awkward, but other than that, I love it :buddy:
[QUOTE=The Inzuki;28882906]The jumping looks pretty awkward, but other than that, I love it :buddy:[/QUOTE] Yeah, I'm going to rewrite that after I change the collision.
-Bah, never mind. I could be wrong and if i was then i'd feel and look like a complete dumbass.-
[QUOTE=bobthe2lol;28883305]Sucks that you didn't get to go to the seminar, Nicolas Suarez. But good job Nicolas Suarez for doing so well... Nicolas Suarez.[/QUOTE] Ranking 18th probably doesn't mean [i]being the 18th on a list that's in an alphabetical order[/i]. On top of that, he's most likely not found on the [i]list of junior participants[/i]. Especially since the list only contains people who got [i]over 66 points[/i] when the senior member who ranked 17th only got 63 points. You really suck at mining for personal details. [editline]30th March 2011[/editline] Oh, too late it seems
Started working on styling my controls library a little. [img]http://img862.imageshack.us/img862/3108/41758df4dc684d0dafbfdc8.png[/img]
Giving up on sidescrollers because of how dawn complicated and annoying the physics is, and moving on to writing a top down engine, it looks like fun.
[QUOTE=ZenX2;28883988]how dawn complicated and annoying the physics is[/QUOTE] elaborate.
It just gets on my nerves. I've never really gotten the hang of it, despite the fact I wrote my own platform physics engine.
[QUOTE=Shanethe13;28881680]:( The Canadian Computing Contest was marked. I got ~18th, and was 1 point away from being invited to the week-long seminar they have for the winners. Apparently they need to invite someone from each region of Canada, so a few people who weren't in the top twenty get an invite. One typo cost me 12 marks on a question :( [url]http://cemc.math.uwaterloo.ca/contests/computing/2011/stage1/2011.result.pdf[/url] Did anyone else here write it?[/QUOTE] I wrote it, didn't get an invite either.
[url]http://heat.jimbomcb.net/[/url] hi guys caching not done yet, it will be done eventually. you'll also be able to pick multiple weapons and filter by that, but only separate weapons implemented so far. [editline]30th March 2011[/editline] and the generator is taped together and i need to get around to fixing it up, when fixed the renders will take a fraction of the time. it's taking so long because the imagemagick library i'm using doesn't have one of the things i need so I have to call some stuff directly from command line. hacky, but it works now and will be improved upon.
[QUOTE=ThePuska;28883559]Ranking 18th probably doesn't mean [i]being the 18th on a list that's in an alphabetical order[/i]. On top of that, he's most likely not found on the [i]list of junior participants[/i]. Especially since the list only contains people who got [i]over 66 points[/i] when the senior member who ranked 17th only got 63 points.[/QUOTE] That, and the fact that my username has the name Shane in it, not Nicolas. Throw in the fact that a Shane appears in the list of honourable mentions, and it should be pretty clear which name is more likely :P Either way, Bob, I'm sure Nicolas appreciates your kind words, whoever he is :D Irtimid, did you write the senior? What'd you think? It seemed extremely easy this year compared to the others. Any other year I'd probably be lucky to get over 45 or so, but this year it was just a small typo which prevented me from getting perfect (although with a completely unfair solution to number 5 that completely bypasses the problem).
Richy, how did you rotate the player in your zombie game? I can't figure the math for the life of me :saddowns:
playerRotation = atan( mouseY-playerY / mouseX-playerX)
[QUOTE=Jimbomcb;28886304]and the generator is taped together and i need to get around to fixing it up, when fixed the renders will take a fraction of the time. it's taking so long because the imagemagick library i'm using doesn't have one of the things i need so I have to call some stuff directly from command line. hacky, but it works now and will be improved upon.[/QUOTE] Not sure if it's really necessary yet, but if you need more speed [url=http://www.graphicsmagick.org/]GraphicsMagick[/url] might be of use. It fairly consistently performs better than ImageMagick.
Or playerRotation = atan2(mouseY-playerY, mouseX-playerX)
[QUOTE=Metroid48;28888952]Not sure if it's really necessary yet, but if you need more speed [url=http://www.graphicsmagick.org/]GraphicsMagick[/url] might be of use. It fairly consistently performs better than ImageMagick.[/QUOTE] I'll give it a look, thanks. Can't check as am on phone but yeah The reason it was going slow was because the imagemagick c++ library doesn't support clut. I am having to call it direct from the command line, hopefully gm supports it... [url]http://www.imagemagick.org/script/command-line-options.php?#clut[/url] (it's different from haldclut)
[url=http://i54.tinypic.com/9kwizk.png]Well fuck...[/url]
Not strictly programming, but I updated the GWEN site with a list of controls [url]http://gwen.facepunchstudios.com/home/controls[/url] These are my favourite [img]http://gwen.facepunchstudios.com/_/rsrc/1301057190148/home/controls/properties.png[/img]
[QUOTE=garry;28889092]Not strictly programming, but I updated the GWEN site with a list of controls [url]http://gwen.facepunchstudios.com/home/controls[/url] These are my favourite [img_thumb]http://gwen.facepunchstudios.com/_/rsrc/1301057190148/home/controls/properties.png[/img_thumb][/QUOTE] Does this have a working SFML renderer yet? If it doesn't, I might have a crack at one.
I don't know how working it is, but I think it has one.
[img]http://i.imgur.com/2wTjE.png[/img] Again, having played Crysis 2, I decided to poke around at my SSAO a bit. I'd always been more of a fan of keeping the AO the same size in world space. Which means it doesn't fluctuate based on distance, but you either lose high frequency AO or the low frequency AO. Also, the performance goes up and down based on distance. Crysis 1, and 2 both using a purely screen space solution, which I've changed mine to. It's hard to make out whats in the picture, but up close you can see high frequency AO on the chair legs and very low frequency AO behind the toilets. This does mean the AO changes size when you move towards it, but I don't think it's too bad. My general rule: If it's good enough for Crysis, it's damn well good enough for me. [img]http://i.imgur.com/aGA2m.jpg[/img] Thought I'd run some of my old stuff through my engine with its new improvements. I think the new SSAO is much better especially for stuff like this. Also through down several bounce lights which I didn't have before, and the temporal AA cleans it up a bit.
I'm so proud of this! First thing I've ever programmed, made a thing to parse through TMX files from Tiled ( [url]http://www.mapeditor.org/[/url] ) to load them into a 3D array for use in a game I'm planning on making. [code] public void loadLevel(string mapName) { XmlTextReader reader = new XmlTextReader(mapName); int x = 0; int y = 0; int z = 0; int gid = 0; while (reader.Read()) { //Reading TMX file from Tiled and getting the dimensions for the coming array (x,y,z) z being layers. switch (reader.Name) { case "xml": break; case "map": //x if(reader.GetAttribute("width") != null) width = Convert.ToInt32(reader.GetAttribute("width")); //y if(reader.GetAttribute("height") != null) length = Convert.ToInt32(reader.GetAttribute("height")); break; case "layer": //z height++; reader.Skip(); break; default: //reader.Skip(); break; } } reader.Close(); //define array based on above values mapArray = new int[width, length, height]; while (reader.Read()) { switch (reader.Name) { case "layer": z++; break; case "data": break; case "tile": gid = Convert.ToInt32(reader.GetAttribute(gid)); break; default: //reader.Skip(); break; } //inserting data into array if (x < width) { mapArray[x, y, z] = gid; x++; } else if (y < height) { mapArray[x, y, z] = gid; x = 0; y++; } else { mapArray[x, y, z] = gid; x = 0; y = 0; } reader.Close(); } } [/code] It loads it all into an array correctly, now I can make maps easily! I'm going to later use the the player position with the array to load only the tiles around the player or something, so it's not all loaded at once.
[QUOTE=Darwin226;28888907]playerRotation = atan( mouseY-playerY / mouseX-playerX)[/QUOTE] Wow, that's way simpler than what I've been doing.
Basic trigonometry goes a long way.
[QUOTE=Rohans;28879639]Destroying the governments property could get you in trouble, even if it's a penny. Plus, that's not programming?[/QUOTE] Would just like to point out that destroying pennies is actually legal, the law stating that you couldn't was repealed at some point. :v:
Oh wow, [url=http://www.scmagazineus.com/oracles-mysqlcom-hacked-via-sql-injection/article/199419/]MySQL.com got hacked via SQL injection[/url].
I finally convinced my boss to let me re-write all our shitty VB apps in C# in the next round of upgrades. Yus.
I made sort-of-an encoder. It's not efficient but it's silly. [code]$ echo "THIS IS SILLY" | ./gcat Size: 14 GGGGGCGGGAGGGTGGGGCGGCCGGACGGTCGGGAGGCAGGAAGGTAGGGTGGCTGG [/code] [editline]30th March 2011[/editline] Now I just need to check if those GCATs are correct! [editline]30th March 2011[/editline] Nope, they're not... Seems like even null input generates something. I'm probably not reading it correctly. [editline]30th March 2011[/editline] [code]$ echo "THIS IS SILLY" | ./gcat Size: 14 TATTTAATTATGTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT [/code] Better... But still not all that good. T is zero.
Hmm... What to program... Damn my lack of both ideas and inspiration!
Sorry, you need to Log In to post a reply to this thread.