• What are you working on? V7
    2,001 replies, posted
[QUOTE=Nipa;19971877]This is a video of a mod I've been working on, IV: Co-Op. It simply demonstrates how I am currently planning to emulate the other player's presence in the game with a clone-mode I coded that copies the player's position and heading then sets it on the clone car. Just to make sure the message gets through, [highlight]THERE IS NO ACTUAL MULTIPLAYER SUPPORT AT THIS TIME.[/highlight] Anyway, without further ado: [media]http://www.youtube.com/watch?v=ZriGDz8rY-Y[/media] More information can be found in the description.. a lot more.[/QUOTE] Nice rail grind at the end.
[QUOTE=garry;19973620]Here's GWEN if you want to have a mess: [url]https://facepunch.svn.beanstalkapp.com/gwen/[/url] It's not perfect right now - but if anyone wants to get involved and make some changes let me know what you're thinking of doing and I'll give you write access..[/QUOTE] [IMG]http://i45.tinypic.com/2em1xyw.jpg[/IMG] [editline]06:04PM[/editline] Working on a SFML2 renderer at the moment. Thanks for making this really easy.
[QUOTE=Jallen;19973995]Irrklang produces some really nice lightmaps and loading the irr files is easy.[/QUOTE] I thought IrrKlang was a sound library.
[QUOTE=Eleventeen;19977117]I thought IrrKlang was a sound library.[/QUOTE] Oh woops, irredit. [editline]06:15PM[/editline] Some shadow mapping with irrlicht. [img]http://jallenbah.co.uk/content_img/shadowMapping.jpg[/img] [img]http://jallenbah.co.uk/content_img/shadowMapping1.jpg[/img]
Just battled my way through pointers, now I think about it they make sense. The problem was in python you don't have pointers and it's all really handled for you, but once I worked out how you use them they're pretty cool. I love C++!
When I took my first foray into pointers, they quickly became my worst enemy, but after I learned to use them correctly, they became a vital asset. Pointers in the wrong hands can create nightmare code.
Assuming that I was to find the inverse of a matrix in my program, what method / algorithm would you use? Gauss–Jordan elimination?
Not?
[QUOTE=Eleventeen;19979503]Not?[/QUOTE] Please learn what an inverse matrix is ok thanks. Oh and there are libraries to do it, I know d3dx has a function to do it. I wouldn't know where to start in doing it manually.
[QUOTE=Jallen;19979645]Please learn what an inverse matrix is ok thanks. Oh and there are libraries to do it, I know d3dx has a function to do it. I wouldn't know where to start in doing it manually.[/QUOTE] Yeah, I just wanted to do it manually since I can get Extra Credit in my AP Computer Science class. I'll post some of my code if I do it tonight.
Putting shadow maps back.. [img]http://dl.dropbox.com/u/3590255/Screenshots/Botch/01Feb2010_002.png[/img]
I think I actually have to somehow "learn C++" and Windows API within a few days now *shiver* (yes I know this is practically impossible. Oh and I hate C++ D:)
[img]http://jallenbah.co.uk/content_img/lolhtml.png[/img] [code]// ALL DIS COED R BELONG TO JALLEN #include <fstream> #define level_of_lolz 100 int main() { std::ofstream file("lolzerz.html"); file << "\ <!DOCTYPE HTML>\n\ <html>\n\ <head>\n\ <style>\n\ .one{\n\ background-color: #FF0000; padding:3px;\n\ border: 1px solid #FFFFFF;\n\ width: 95%;\n\ height: 95%;}\n\ .two{\n\ background-color: #00FF00; padding:3px;\n\ border: 1px solid #FFFFFF;\n\ width: 95%;\n\ height: 95%;}\n\ body{ background-color: #000000;\n\ </style></head><body>"; for(int i = 0; i < level_of_lolz; i++) { if(i % 2) file<< "<center><div class='one'> \n"; else file<< "<center><div class='two'> \n"; } for(int i = 0; i < level_of_lolz; i++) file<<"</div></center>\n"; file<<"</body></html>"; file.close(); return 0; }[/code] [editline]09:35PM[/editline] [QUOTE=garry;19980037]Putting shadow maps back..[/QUOTE] DUUUDE your screenshot totally just eclipsed mine man :( In fact, you might even say it [B]overshadowed it[/B]
Pretty cool man
[QUOTE=Jallen;19981107] DUUUDE your screenshot totally just eclipsed mine man :( In fact, you might even say it [B]overshadowed it[/B][/QUOTE] Oh, you're so [B]punny[/B]. :wink:
I moved my whole game to XNA, Which in the process cleaned up the code and (forced me to) redesign some logic to think better... There are ZERO timing issues now :D [media]http://www.youtube.com/watch?v=I07lEwMsTSY[/media] Just need to: [list] [*] Add Mixer above toolbox (Almost there) [*] Sample All my instruments (Got 6 Sample sets so far) [*] Reintegrate the MIDI Output [*] ART ART ART ART - Me and photoshop go together like C and C# :( [/list] Then It's practically a complete sequencer
[QUOTE=garry;19980037]Putting shadow maps back.. [img]http://dl.dropbox.com/u/3590255/Screenshots/Botch/01Feb2010_002.png[/img][/QUOTE] holy shit
Quick question regarding C++: Is it possible to reference a member of a class to that of another class? What I want to be able to do it basically 'link' a sf::Vector2f to the members of a struct I'm using for an RK4 integrator. Basically so that both variables are accessing the same piece of memory.
[QUOTE=Mattz333;19985309]Quick question regarding C++: Is it possible to reference a member of a class to that of another class? What I want to be able to do it basically 'link' a sf::Vector2f to the members of a struct I'm using for an RK4 integrator. Basically so that both variables are accessing the same piece of memory.[/QUOTE] No, you'd have to modify the code.
welp I got fired from my job because I "wasn't working" which they find unacceptable (Of course I had informed them that I was quitting 3 days prior, as the workload at my school is gigantic D:). The best part is they haven't paid me yet, and have cut off all access so that I can give them an invoice! Lawsuit! :sax: Also, I'm working on getting the PSP SDK Homebrew toolchain to work with buildit. (After that is NDS homebrew, followed by what might be the GP2X Wiz, and the Nintendo Wii Homebrew :D)
what job?
[QUOTE=efeX;19988165]what job?[/QUOTE] python web development. I hated every moment of it.
Basic PE class it working :D (below adds a section and rewrites the imports to it) [cpp] PeFile pe; std::fstream i("C:/SimpleInjector.exe", std::ios::binary | std::ios::in); pe.Read(i); boost::shared_ptr<Section> s(new Section(&pe)); strncpy(s->Name, "Test", 0x8); s->RawAddr = pe.S.Sections[pe.S.Sections.size() - 1]->RawAddr + pe.S.Sections[pe.S.Sections.size() - 1]->RawSize; s->Data.resize(0x1000); s->VirtualAddr = AlignBy(pe.S.Sections[pe.S.Sections.size() - 1]->VirtualAddr + pe.S.Sections[pe.S.Sections.size() - 1]->VirtualSize, 0x1000); s->Characteristics = pe.S.Sections[pe.S.Sections.size() - 1]->Characteristics; pe.S.Sections.push_back(s); pe.Calc(); Section* imps = pe.S.FindByRVA(pe.Dirs.Directories[1].RVA); ImportDirectory id(&pe); std::stringstream iss; iss.write(&imps->Data[0], imps->Data.size()); iss.seekg(pe.Dirs.Directories[1].RVA - imps->VirtualAddr); id.Read(iss, imps->VirtualAddr); pe.Dirs.Directories[1].RVA = s->VirtualAddr; iss.clear(); iss.seekp(0); id.Write(iss, s->VirtualAddr); iss.seekg(0, std::ios::end); DWORD size = iss.tellg(); iss.seekg(0); s->Data.resize(size); iss.read(&s->Data[0], size); std::fstream o("C:/SimpleInjector2.exe", std::ios::binary | std::ios::out); pe.Write(o); i.close(); o.close(); [/cpp] Ya it is messy :x. Everything went down hill when I was trying to figure out a way to do RVAs(still haven't come up with a solid way). Also doesn't help that I was programming this solely to finish something else which is just a proof of concept. Probably would have come out nicer if I was just coding it to use with other projects when I need it. Biggest headache with the rvas is the way some of the pe is structured. You have tables of data and each structure references it. So basically you have to write the data and then redo the rvas. I don't know, maybe I am over complicating things.
[url=http://globalgamejam.org/2010/i-am-wall][img]http://globalgamejam.org/sites/default/files/uploads/2010/7366/iamthewall-screenshot.png?1264968085[/img][/url] My team's project for the Game Jam last weekend. It's a little unfinished in places, but the mechanics are pretty solid and the puzzles get interesting towards the end.
I don't know whether any of you have heard of the Global Game Jam before, but that took place last weekend and I entered with 6 of my mates. Basically you have 48 hours to design and develop a computer game that meets certain criteria and there are also optional challenges (of which we only managed to get 1) :v: This is a in game screenshot of what we ended up with, the UI is pretty fugly as it got left really late and we wanted it to be pick up and play so the keys are displayed on screen instead of a tutorial. Considering the lack of time and sleep I'd say we did pretty well, the game is quite fun to play. Coded in C++ using OGRE3D with OpenAl for sound. [img]http://filesmelt.com/dl/Brink1.jpg[/img] [editline]03:14PM[/editline] [QUOTE=mahalis;19993478][url=http://globalgamejam.org/2010/i-am-wall][img]http://globalgamejam.org/sites/default/files/uploads/2010/7366/iamthewall-screenshot.png?1264968085[/img][/url] My team's project for the Game Jam last weekend. It's a little unfinished in places, but the mechanics are pretty solid and the puzzles get interesting towards the end.[/QUOTE] Oh damn, that is an epic ninja move :v:
Ninja XD
Does anyone know of a good, free terrain editor? All I want to be able to do is paint terrain (raise, lower, smooth, flatten etc) and paint my own textures onto it and for it to generate a heightmap and texture for me. In fact finding one is too much hassle, I'm just going to make the shape in blender and do some basic uv mapping on it. I'm not going to have any steep hills or anything.
[QUOTE=Jallen;19994817]Does anyone know of a good, free terrain editor?.[/QUOTE] Yeah, a copy of Visual studio and a working pair of hands :v:
[QUOTE=Jallen;19994817]Does anyone know of a good, free terrain editor? [/QUOTE] No, but it sounds like a fucking fantastic project idea to get to grips with OpenGL and to give Gwen a wee twirl!
Since everyone's doing it, this was our project: [url]http://globalgamejam.org/2010/lesser-escape[/url] [IMG]http://i163.photobucket.com/albums/t315/novemberdobby/tle.png[/IMG] I had to program the entire thing with only 8 hours of sleep because our other programmer ragequitted at the start :argh:
Sorry, you need to Log In to post a reply to this thread.