• What Are You Working On? V13
    5,003 replies, posted
[QUOTE=Jimmylaw;25423413]Yours is pretty sweet, would you be able to send me the file for it please?[/QUOTE] [url]http://dl.dropbox.com/u/5062494/share/JallenzColours2010.vssettings[/url] Enjoy.
[QUOTE=Jallen;25423597][url]http://dl.dropbox.com/u/5062494/share/JallenzColours2010.vssettings[/url] Enjoy.[/QUOTE] Thank you sir.
What's a simple way to figure out what side of a square a line leaves from when you have the starting point and the angle? There must be a better way than finding the angles from the starting point to the corners and comparing them with the angle of the line.
[QUOTE=Jallen;25423597][url]http://dl.dropbox.com/u/5062494/share/JallenzColours2010.vssettings[/url] Enjoy.[/QUOTE] Heeey, what the hell man. I spent like an hour ripping some other guys theme that looked just like that in MonoDevelop because he didn't have a VS version :( Oh and also, if you want to change the actual VS theme: [URL]http://visualstudiogallery.msdn.microsoft.com/en-us/20cd93a2-c435-4d00-a797-499f16402378[/URL]
Oh awesome, I was getting annoyed at the shitty blue forced on you by VC++2010.
Been learning SDL, got a box moving around the screen etc. and I feel I'm doing well. I've come to the point that I want to add some OOP and clean it up a bit. I want to be able to reuse basic things (events, loading resources etc). Anyone got a good way of going about these things?
Learn OOP. Spend a good amount of time doing so. I jumped right in about a year ago, took a step back and bought a good book. Read up on it and do exercises and stuff. It's worth actually understanding OOP as best as you can, it's an important concept.
[QUOTE=Giraffen93;25423310]I only put ads in 2 of them. Right now i have 25$, 75 to go. Takes about 4 months for 20$ :v: It's something, i don't even need much money.[/QUOTE] Do you get social support money for your aspergers?
[img]http://dl.dropbox.com/u/2014606/server%20stress%20test.png[/img] I have been stress testing my Client\Server Structure for my Game that i have posted previously. And just to see how little CPU it is using I still have them all open.
[QUOTE=ZeekyHBomb;25421640]In that screenshot he's posted, assuming this grid in the back is the quadtree (which it cannot be due to it being 20x20 cells, but whatever), then is the more populated areas the quadtree would reveal only around 20 bullets, as opposed to 250.[/QUOTE] That grid is just a graphical grid, a background filler :) Anyway, since the bullets are all moving each tick with a random speed, amount and angle I suppose there is no way to optimise this a bit? I mean, I could try sorting them, but that requires a huge amount of cpu power aswell. It just feels weird how my PC can run Crysis on High with 40 Fps but in my own 2D game it drops to 47Fps already with just 250 bullets and nothing else. I could make it multithreaded but I have no idea how more efficient that would be, as I never dealt with multithreading before. Also, natural logarithm = ln x = e log x whis solves n in e^n = x. Somebody mixed the natural logarithm up with the normal one, forgot who it was.
I actually like the blue theme of VS2010. It's a lot nicer than that shiny-blue shit in VS2008. I'm quite tired so I've just been pissing about with the UI mainly tonight: [IMG]http://i51.tinypic.com/wml8py.png[/IMG]
[QUOTE=thelinx;25424497]Do you get social support money for your aspergers?[/QUOTE] Haha, is there such a thing? I only get studiebidrag (~120$ a month). [editline]15th October 2010[/editline] [QUOTE=ZeekyHBomb;25422071]If the logarithm naturalis is the opposite of the exponential function, then what is the root of degree e? manual merge: Well, if you check whether each objects collides with each other, then a quadtree or kd-tree will help. If you just check whether they collide with one specific object, then I don't think there's much you can do as I presume the default implementation of hitTest is probably already quite efficient. You could try AS3, which I heard is significantly faster than AS2.[/QUOTE] Sorry, missed this. I don't understand either what a quadtree or a kd-tree is. And i hate AS3 because it mocks me with "No property like ._x" and i just get mad and ragequit.
And just because i fell that 20 clients is not enough i upped it to 50 and made each one send 10 packets on startup, then i upped that to 100, The server is still able to receive all packets from the clients, i will look over the logs but the server only 20 errors in over 1000 packets and 50 connections. And they are still open and using 75% of CPU and 16mb of ram each. Also there is a YouTube video in that background that is playing clearly Oh and the clients are still able to send and receive.
[QUOTE=Giraffen93;25424755]Haha, is there such a thing? I only get studiebidrag (~120$ a month).[/QUOTE] Yeah, my uncle gets it.
[QUOTE=Giraffen93;25424755]Sorry, missed this. I don't understand either what a quadtree or a kd-tree is. And i hate AS3 because it mocks me with "No property like ._x" and i just get mad and ragequit.[/QUOTE] Quadtrees and kd-trees are methods of recursively dividing space. Tree-like structures simplify many computational problems.
89 New Posts: :v: "sqrt(x)=x*x": :smith:
[QUOTE=Giraffen93;25424755]And i hate AS3 because it mocks me with "No property like ._x" and i just get mad and ragequit.[/QUOTE] AS3 forces you into a new way of thinking, very different from AS2. You can't just swap keywords and say you're done. Also, _x is x in AS3, how hard is it to look that up? If you do decide to try AS3, this will probably help you a lot [url]http://help.adobe.com/en_US/AS3LCR/Flash_10.0/migration.html[/url]
[media]http://www.youtube.com/watch?v=P8uW28jtTIA[/media] Physics and computer programming - my two favourite subjects.
Currently working on a .NET binary word reader/writer doesn't seem to be any that do not have to open word to do so, even though Microsoft did open up specs for them
[QUOTE=ROBO_DONUT;25425409]Quadtrees and kd-trees are methods of recursively dividing space. Tree-like structures simplify many computational problems.[/QUOTE] Ahh, right. But how would i implement it without blowing up my head in the process? [editline]16th October 2010[/editline] [QUOTE=Darwin226;25425782]AS3 forces you into a new way of thinking, very different from AS2. You can't just swap keywords and say you're done. Also, _x is x in AS3, how hard is it to look that up? If you do decide to try AS3, this will probably help you a lot [url]http://help.adobe.com/en_US/AS3LCR/Flash_10.0/migration.html[/url][/QUOTE] I have AS3 in a class right now, but the teacher is a real bitch. Extremely useful guide there man.
Why do I never have any luck compiling without an IDE/ something similar? Either I can't get it to compile or the stuff doesn't work after I compile it. :frown: I more or less sank my day into compiling the gnome game package so I could play around with making a minesweeper solver. Finally installed all the dependencies, makefiles we're generated, make'd and then all the executables showed up. However, they all either didn't run or gave errors relating to not being able to load data. The minesweeper game in particular said that it found the svg images but couldn't load them, which I guess means that librsvg2-dev isn't working? Ehnn... On ubuntu btw.
whenever i get source i tend to get the dependency's as well, this is all though apt though.
Real men wget their own dependancies.
[QUOTE=CarlBooth;25426897]Real men wget their own dependancies.[/QUOTE] Real men set the universal constants at the start such that the universe evolves to contain the disk with the dependencies.
Real men just use ports :kraken:
[QUOTE=arienh4;25427177]Real men set the universal constants at the start such that the universe evolves to contain the disk with the dependencies.[/QUOTE] Real men write their own jokes.
[QUOTE=RyanDv3;25427251]Real men write their own jokes.[/QUOTE] Really? Sorry, didn't get the memo.
[QUOTE=Chandler;25427244]:kraken:[/QUOTE] I think I've just found a new favorite emote.
Anyone know what's causing visual studios to do this? It appears every time I close my program. I haven't turned anything on or put in breakpoints so I really don't know what's causing its. [url]http://dl.dropbox.com/u/12592785/Oops.jpg[/url] *FIXED*
[QUOTE=ROBO_DONUT;25427653]I think I've just found a new favorite emote.[/QUOTE] Facepunch got a whole new set of them from SomethingAwful with the update. My only gripe is that :parrot: did not come with the ugprade :(
Sorry, you need to Log In to post a reply to this thread.