[QUOTE=Richy19;30780650]May I ask what this is?
[url]https://github.com/nullsquared/zombies[/url]
It has portals and zombies in it therefore it must be cool[/QUOTE]
it was supposed to be some top-down zombie shooter with physics for barricading doors and what-not, also with portals that the zombies could navigate through
[QUOTE=Agent766;30780120]I usually have a second monitor dedicated to references when I'm programming. But I'm retarded so it might just be me.[/QUOTE]
You mad? One screen for code/ide other is for output/compiler
I am wondering why my GPU doesn't support OpenGl 4, but supports every single OpenGL 4 extension ?
[code]Running on a GeForce GT 240/PCI/SSE2 from NVIDIA Corporation
OpenGL version 3.3.0 is supported[/code]
[code]
GL_VERSION_4_0: OK
---------------
glBlendEquationSeparatei: OK
glBlendEquationi: OK
glBlendFuncSeparatei: OK
glBlendFunci: OK
glMinSampleShading: OK[/code]
It's almost July, so... time for game programming competition #3? :buddy:
I'm bored as hell and vacation starts in a few days!
[QUOTE=ColdFusionV2;30781238]I am wondering why my GPU doesn't support OpenGl 4, but supports every single OpenGL 4 extension ?
[code]Running on a GeForce GT 240/PCI/SSE2 from NVIDIA Corporation
OpenGL version 3.3.0 is supported[/code]
[code]
GL_VERSION_4_0: OK
---------------
glBlendEquationSeparatei: OK
glBlendEquationi: OK
glBlendFuncSeparatei: OK
glBlendFunci: OK
glMinSampleShading: OK[/code][/QUOTE]
That's because OpenGL 3.3 backports as much functionality as possible from OpenGL 4.0 for previous generation graphics cards.
[QUOTE=Overv;30781510]That's because OpenGL 3.3 backports as much functionality as possible from OpenGL 4.0 for previous generation graphics cards.[/QUOTE]
Ahh i see, interesting, but if it back-ports all functionality why doesn't it let me generate a Context with 4.0 support then ?
[QUOTE=taranga;30777971]Did some Markov chains stuff, trained it with the entire of this WAYWO and the previous WAYWO (thanks to the wonderful Facepunch API!)
[code]
~/projects/fp_markov $ du -h markov.yml
1.7M markov.yml
[/code]
:ohdear: Let's see what kind of text it generates...[/QUOTE]
That's how I see the thread when I visit :v:
[editline]29th June 2011[/editline]
Also, how the hell does [url=http://www.rockethub.com/projects/752-exen-xna-for-iphone-android-and-silverlight]ExEn[/url] work, if XNA uses DirectX?
I got a simple level generator now. It's slow as hell, runs like shit and looks bad.
[img]http://i.imgur.com/EgA6D.png[/img]
[QUOTE=Veid;30776778][img]http://dl.dropbox.com/u/19756079/Screen%20shot%202011-06-29%20at%2012.50.23%20AM.png[/img]
[img]http://dl.dropbox.com/u/19756079/Screen%20shot%202011-06-29%20at%201.11.23%20AM.png[/img]
It's funny what one little mistype in a function can do to stuff...[/QUOTE]
Next time do post larger images so I can use them as a wallpaper, OK ?
[QUOTE=Ezhik;30781617]That's how I see the thread when I visit :v:
[editline]29th June 2011[/editline]
Also, how the hell does [url=http://www.rockethub.com/projects/752-exen-xna-for-iphone-android-and-silverlight]ExEn[/url] work, if XNA uses DirectX?[/QUOTE]
If XNA supports switching the backend, then just by writing a different backend and tell it to use that instead of DirectX.
Otherwise a re-write of XNA, i.e. different software with the same interface.
[QUOTE=ColdFusionV2;30781594]Ahh i see, interesting, but if it back-ports all functionality why doesn't it let me generate a Context with 4.0 support then ?[/QUOTE]
You're only checking a very small range of features. You can find a list of all the new features [url=http://en.wikipedia.org/wiki/OpenGL#OpenGL_4.0]here[/url].
[QUOTE=Overv;30781944]You're only checking a very small range of features. You can find a list of all the new features [url=http://en.wikipedia.org/wiki/OpenGL#OpenGL_4.0]here[/url].[/QUOTE]
And you still can't find any of the features [url=http://open.gl/]here[/url].
[QUOTE=Ezhik;30781617]That's how I see the thread when I visit :v:
[editline]29th June 2011[/editline]
Also, how the hell does [url=http://www.rockethub.com/projects/752-exen-xna-for-iphone-android-and-silverlight]ExEn[/url] work, if XNA uses DirectX?[/QUOTE]
It works because ExEn is not XNA.
What would you guys say is the best way for make some money out of programming with C# that isn't web?
A C# job
[QUOTE=Dlaor-guy;30781322]It's almost July, so... time for game programming competition #3? :buddy:
I'm bored as hell and vacation starts in a few days![/QUOTE]
Your not allowed to play, you make it unfair on everyone else!
I made a simple C# calculator, and it actually kinda works:
[img]http://i.imgur.com/lYj2j.png[/img][img]http://i.imgur.com/qNdq2.png[/img]
[img]http://i.imgur.com/IPHMw.png[/img][img]http://i.imgur.com/WqVTh.png[/img]
Here's the source code so you can all laugh at me:
[url]http://dl.dropbox.com/u/7284637/calculator1.rar[/url]
[QUOTE=r4nk_;30783311]A C# job[/QUOTE]
For a high school student.
I should have mentioned.
[QUOTE=Darwin226;30784095]For a high school student.
I should have mentioned.[/QUOTE]
Make an indie game and sell it on XNA creators club
[QUOTE=Richy19;30784124]Make an indie game and sell it on XNA creators club[/QUOTE]
Or on Steam, like Terraria.
[QUOTE=T3hGamerDK;30784171]Or on Steam, like Terraria.[/QUOTE]
It would be much easier to get onto XBL than steam
[QUOTE=Richy19;30784271]It would be much easier to get onto XBL than steam[/QUOTE]
But it would be worth trying anyways.
[QUOTE=sim642;30784335]But it would be worth trying anyways.[/QUOTE]
It depends what kind of game it is, you will probably find that if its only on XBL you could charge a bit extra for the exclusivity.
But you would have to see where the main market is, no point in charging $.50 more for xbox only if you could be getting x2 sales by selling to the PC as well.
Anyway marketing isnt really what this thread is about :v:
[QUOTE=Richy19;30784670]...you will probably find that if its only on XBL you could charge a bit extra for the exclusivity.[/QUOTE]
Death to exclusivity !
[QUOTE=Richy19;30784670]It depends what kind of game it is, you will probably find that if its only on XBL you could charge a bit extra for the exclusivity.
But you would have to see where the main market is, no point in charging $.50 more for xbox only if you could be getting x2 sales by selling to the PC as well.
Anyway marketing isnt really what this thread is about :v:[/QUOTE]
XBLA will get nowhere near the same number of sales as Steam, it's really not that good compared with the Steam Indie market.
[QUOTE=uitham;30779194]I know how to calculate the angle of the reflection, but how to calculate what pixel must be shining when the mouse is on what position and AAAGH I don't even understand what I am saying![/QUOTE]
That would be shading/lighting. That does get pretty complicated, especially when dealing with multiple lights. Basic lighting would just be [url=http://en.wikipedia.org/wiki/Lambertian_reflectance]Lambertian Reflection[/url], other shading models like Phong deal with specular higlighting.
Basically you take the dot product of the surface normal and the vector between the light and the nearest vertex, if that's greater than 0 it's considered lit. (you are basically calculating the angle of incidence, if it's larger than 90 degrees, it isn't lit)
You can also multiply the shaded color by the dot product to get brighter values where the light is shining more directly.
I haven't got Phong shading done yet, but it's essentially the same thing with a secular highlight that has something to do with eye coordinates and reflecting the vectors used for the lambert term.
[QUOTE=Jimmylaw;30783386]Your not allowed to play, you make it unfair on everyone else![/QUOTE]
:smug:
Anyway, I've been playing around with Bezier curves...
[quote][url=http://i.imgur.com/TOlCN.jpg][img]http://i.imgur.com/TOlCN.jpg[/img][/url][/quote]
As you can see, it's going really well.
If anyone wants the code for calculating Bezier curves: (C#, also t should be between 1 and 0)
[cpp] public static Vector2 CalculatePath(Vector2 p1, Vector2 p2, Vector2 p3, float t)
{
return (1 - t) * (1 - t) * p1 + 2 * (1 - t) * t * p2 + (t * t * p3); //Stolen from Wikipedia
}[/cpp]
I am currently working out how to do a proper WebSockets handshake, this is fun!
[url]http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76#page-9[/url]
[img]http://dl.dropbox.com/u/3695360/FP%20Parser.png[/img]
Currently got a script that will go through a thread and collect all the ratings of posts, being mostly designed for LMAO pics. I'm gonna add it so it exports the results as a html file with the funniest, latest and dumbest users, and the top 10 images posted.
Sorry, you need to Log In to post a reply to this thread.