• What are you working on? v15
    5,001 replies, posted
[QUOTE=Xerios3;27396594][hd]http://www.youtube.com/watch?v=LNRrBTSC8Qs[/hd] DirectX 10 porting progress ![/QUOTE] looks ready for a release [editline]14th January 2011[/editline] just kidding i'm not notch
Dont know if im late but i just noticed that the sub forums are now at the bottom of the thread page, that's why the facepunch API sub forum disappeared
[QUOTE=Xerios3;27396594][hd]http://www.youtube.com/watch?v=LNRrBTSC8Qs[/hd] DirectX 10 porting progress ![/QUOTE] lol @ .webm
I'm working on an extension for Chrome that dynamically highlights trending twitter topics on any webpage and allows you to view recent tweets about them in real time by hovering over them. (Tweets will appear in a small window next to your mouse, that part isn't finished yet.) [IMG]http://i.imgur.com/IeMEo.png[/IMG]
[QUOTE=EarlGreyAllDay;27397272]I'm working on an extension for Chrome that dynamically highlights trending twitter topics on any webpage and allows you to view recent tweets about them in real time by hovering over them. (Tweets will appear in a small window next to your mouse, that part isn't finished yet.) [img_thumb]http://i.imgur.com/IeMEo.png[/img_thumb][/QUOTE] It's probably good programming practice but I can't imagine why anyone would want that.
[QUOTE=eXeC64;27397679]It's probably good programming practice but I can't imagine why anyone would want that.[/QUOTE] The same reason you read comments on Facebook - to see what people are talking about on a particular subject. For example, if you are reading an article about that flood in Brisbane and want a quick idea of what people think about it you just hover your mouse over the trend and then...instant feedback. It's quite simple really.
[QUOTE=EarlGreyAllDay;27397272]I'm working on an extension for Chrome that dynamically highlights trending twitter topics on any webpage and allows you to view recent tweets about them in real time by hovering over them. (Tweets will appear in a small window next to your mouse, that part isn't finished yet.) -snip-[/QUOTE] inb4 web programming
[QUOTE=Jallen;27395100]It would eventually get stuck in this loop no matter what the seed and repeatedly trace this shape..[/QUOTE] Ah, the joys of the linear congruential generator. What standard library did you use?
[QUOTE=Richy19;27396597][media]http://www.youtube.com/watch?v=dFUlAQZB9Ng&feature=related[/media] Unix! Unix! Unix![/QUOTE] That's actually a real piece of software - i don't remember the name though.
I need a list of good real time strategy games that have walls. I've got Command & Conquer: Red Alert 2, Age of Mythology.
Dont you hate it when zombies are all up in you house? [media]http://www.youtube.com/watch?v=yVq2TBfsTzk[/media] Any thoughts on having zombie health or life bar on top of them? Also is anyone able to make a better torch image? like with light dissipating on the sides as well? I tried for like an hour and failed miserably heres the torch [media]http://img411.imageshack.us/img411/5392/torchx.png[/media] God damn you imageshack and your white background, image is there you just need to DL it to actually see it
There is a blank picture where your torch should be. Yep, found it later when it with a background. Did not know, my bad.
Been working on a Mario clone thing. [img_thumb]http://filesmelt.com/dl/mario2.png[/img_thumb] It's got an editor, movement, collision and.. that's it. The editor is cool cause it's live. It's lacking pretty much everything else right now. I think I got really close with the collision and movement physics. It could surely trick some people into thinking it's an emulator or something. I gotta say I'm kind of proud with the collision thing. It's the second I made and the first one fucked up with below 200 fps. This one still works fine with 30 (It starts fucking up at 20). I'd upload a demo to show you guys but scrolling doesn't work yet and I don't think it's worth uploading until I get it done. I am kind of interested in turning this into a "Super Mario Bros. HD" thing, kind of like Sonic 2 HD (Look it up, it's amazing (even though it's coming down with BMS syndrome)), but I'm no artist and I'd rather keep it 8 bit than look at a picture of Mario drawn by my [url=http://www.facepunch.com/threads/1044832-What-are-you-working-on-v15?p=27280793&viewfull=1#post27280793]friend[/url]. [editline]14th January 2011[/editline] [QUOTE=Richy19;27399830]Dont you hate it when zombies are all up in you house? [media]http://www.youtube.com/watch?v=yVq2TBfsTzk[/media][/quote] You should change/fix the rotation origin of the player. I can already imagine a funny sketch where someone reenacts it by contact juggling the weapon.
Hey guys, just porting GWEN to Linu- [cpp]#include <tchar.h> // Pat: min max not tied to platform api. #define GwenUtil_Min( a, b ) ( ( (a) < (b) ) ? (a) : (b) ) #define GwenUtil_Max( a, b ) ( ( (a) > (b) ) ? (a) : (b) )[/cpp] Nevermind.
[QUOTE=Maurice;27400430] You should change/fix the rotation origin of the player. I can already imagine a funny sketch where someone reenacts it by contact juggling the weapon.[/QUOTE] When i do this it makes all the bullets and such get created from the players head not the gun, atm it gets created from the gun as its there where i rotate it from. Anyone have any idea why this could be?
Why must GWEN use MSVC-only functions? [cpp] min = __min(r,__min(g,b)); max = __max(r,__max(g,b));[/cpp]
[QUOTE=Richy19;27403103]When i do this it makes all the bullets and such get created from the players head not the gun, atm it gets created from the gun as its there where i rotate it from. Anyone have any idea why this could be?[/QUOTE] I remember this showing up in the help thread. Anyway, since the gun is along the center of the player you really just need to calculate the direction vector for your character. Assuming that 0 rad is right, the x component will be cos ( theta ) and the y component will be sin ( theta ). Then just multiply these by the barrel length, round them, and add to the bullet position at creation!
[cpp]// Pat: min max not tied to platform api. template <typename T> inline T GwenUtil_Min(T a, T b) { return ((a < b) ? a : b); } template <typename T> inline T GwenUtil_Max(T a, T b) { return ((a > b) ? a : b); } #if !defined(min) || !defined(max) # undef min # undef max # define __min GwenUtil_Min # define __max GwenUtil_Max #endif[/cpp] Fixed.
Hey, Why are you checking for min/max, but defining __min/__max? Furthermore, why are you using double-underscore identifiers which are reserved for the compiler implementation?
[quote][jookia@jookia-arch UnitTest]$ file *.cpp Button.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators Checkbox.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators ComboBox.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators CrossSplitter.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators GroupBox.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators ImagePanel.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators Label.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators ListBox.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators MenuStrip.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators Numeric.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators PanelListPanel.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators ProgressBar.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators Properties.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators RadioButton.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators ScrollControl.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators Slider.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators StatusBar.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators TabControl.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators TextBox.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators TreeControl.cpp: Little-endian UTF-16 Unicode C program text, with CRLF line terminators UnitTest.cpp: ASCII C program text, with CRLF line terminators[/quote] You know it's time to get a better text editor when you can't open UTF files. [editline]14th January 2011[/editline] [QUOTE=limitofinf;27403714]Hey, Why are you checking for min/max, but defining __min/__max? Furthermore, why are you using double-underscore identifiers which are reserved for the compiler implementation?[/QUOTE] Because I'm an idiot and forgot to put the __ infront. [b]Fuck.[/b] [editline]14th January 2011[/editline] None of the Unit Test code will compile using g++.
[QUOTE=Richy19;27399830] Also is anyone able to make a better torch image? like with light dissipating on the sides as well? I tried for like an hour and failed miserably[/QUOTE] Here's a try. Note that I altered the image size and you also may need to do scaling on the beam itself. [media]http://img443.imageshack.us/img443/2507/flashlightbeam.png[/media]
I have just written a loader that runs a dll from the internet. Dirt easy, the in memory function was simple as well.
[QUOTE=Jallen;27395100]I think that this is an issue with some random number generators. I found a similar "looping" effect when I made a random paths program. [img_thumb]http://dl.dropbox.com/u/5062494/forumpost/wierdrand.png[/img_thumb] This was from rand() % 4 + 1 in C++ where each number represents either up down left or right. It would eventually get stuck in this loop no matter what the seed and repeatedly trace this shape. Note the symetry on the y = x axis. Wierd.[/QUOTE] It looks like a roshach image. Also, i read something on gamedev.net about this problem in the C random library.
Has anyone got that visual studio color scheme creator bookmarked where you can actually have a slider to set the contrast? I mean you chose some colors and then were able to adjust the contrast, can't find it anymore D:
You know, I'm bored, so if you want to you can watch me work on my Feed Aggregator; [media]http://www.livestream.com/acesweprogramming[/media]
Me too.. when I eventually start working. [media]http://www.livestream.com/garrynewman[/media]
[QUOTE=q3k;27398437]Ah, the joys of the linear congruential generator. What standard library did you use?[/QUOTE] Just the rand() function which VC++ 2010 express uses from cstdlib It can be got around by seeding with time(NULL) every N number of calls to rand() or whatever though.
[QUOTE=garry;27407402]Me too.. when I eventually start working. [media]http://www.livestream.com/garrynewman[/media][/QUOTE] Meh, programming livestreams aren't much fun if you can't even read the code.
[QUOTE=jmazouri;27398737]That's actually a real piece of software - i don't remember the name though.[/QUOTE] [url]http://en.wikipedia.org/wiki/Fsn[/url] Working on my game of life implementation. I've done the GUI (just uses sfml for it, no library. the images for the buttons and icons etc are all done by me too) [img]http://dl.dropbox.com/u/5062494/junk/golgui1.gif[/img] Compression has attacked the quality a bit. It looks better than that.
[QUOTE=Clavus;27407553]Meh, programming livestreams aren't much fun if you can't even read the code.[/QUOTE] It's perfectly readable :confused: [IMG_thumb]http://img684.imageshack.us/img684/4206/ss20110114133116.jpg[/IMG_thumb] I love how his solution is called "Everything" :v:
Sorry, you need to Log In to post a reply to this thread.