|
||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| Some recent topics started on our forums | |
| [C++/DX9] Weird texture editing & render issue | I coded up some drawing routines for my Texture class, including a Layer class (it all wraps up creating an instance of IDirect3DSurface9, locking, setting/getting pixel data, and unlocking.) It all works fine...except if I try to use it during runti... |
| Posted March 3, 2008 2:47:27 PM | |
| MessageBox style function | I'm working on a MessageBox style function for my game. Here's an example: void OnActivate() { std::string Choices[] = {"Yes", "No"}; std::string Choice = dft::ShowChoiceBox("Do you want to continue?", Choices, sizeof(Choices)... |
| Posted February 20, 2008 2:13:14 PM | |
| Chompy | Introducing Chompy: Download - Windows only Full source included; same as with Blocks Gone Wild. Simple Snake clone made in about 4 hours. Eat the #, grow longer (depending on the difficulty.) Gain more points as you grow larger. Hit... |
| Posted June 29, 2007 9:59:01 AM | |
| Blocks Gone Wild | ARE YOU READY FOR SOME BLOCK-ON-BLOCK action?! WELL GET READY FOR BLOCKS GONE WILD! as these hot young blocks take everything off, we don't know what to expect! [UPDATED] Download - Windows only & full source included I got bored and decid... |
| Posted June 28, 2007 10:40:09 AM | |
| Journal Email Notifications | I was wondering if we could get email notifications for replies to our journals. I'd much prefer that to refreshing the page every now and then. Thanks! |
| Posted June 1, 2007 12:40:08 AM | |
| Simpler STL container enumeration | I was just wondering why nobody (that I can find) has written simpler STL container enumeration/iteration code. I've been writing some STL wrappers and came up with the following solution (similar to C#'s design) and it works really well and I don't... |
| Posted October 11, 2006 10:23:25 PM | |
| New image system for GDS entries | The GDS image system really distorts and screws up screenshots that are uploaded which can make the entry look less than good. Maybe we could use a system that is similar to the IOTD gallery (when the user clicks on an image it is opened, full s... |
| Posted July 15, 2006 5:15:57 PM | |
| dftGUI Ver. 1 | Hey all. This is the GUI system I've been working on for my 4E5 entry. Its the culmination of about 10 hours of work split between 2 days. The system is made out of 12 classes so far: Widget Button TextBox CheckBox Fader Fader::Bar Tal... |
| Posted July 7, 2006 11:14:13 AM | |
| wbr tag being inserted into my link | I'm trying to add a link(http://www.dragonforgetechnology.comProjects/ProjectAsrion/Documentation/ProjectAsrion.html) to my journal template and every time I save changes, < wbr > (without the spaces) gets added after the 'Doc' in 'Documentatio... |
| Posted June 2, 2006 12:20:37 AM | |
| Comments and a couple ideas | First of all, a lot of the times when I first go into my bookmarks or a post, the number of pages will be reported wrong (around twice as many pages) and if I click on any of these extra pages I get a blank page and have to go back and force ref... |
| Posted April 24, 2006 6:32:10 PM | |
| View All Topics Started By This User | |
| Some recent replies made on our forums | |
| Direct3D 9 Framerate Limited... | Message queue code should handle all the messages available, not one per-frame (meaning your code is right on that part.) However, you don't handle seem to handle WM_QUIT, which is not good. p_dx_Device->Clear(0, NULL, D3DCLEAR_TARG... |
| Posted November 9, 2009 2:44:20 AM | |
| How do you manage user interface events? | Unless you need something more powerful (i.e. if you're making an in-game editor or something), I'd recommend going with the "immediate mode" UI system. On the other hand, I'm not too fond of it myself lol. Dave's got the right idea, the best solu... |
| Posted November 2, 2009 2:10:15 PM | |
| static vector inside a class | You have to declare obj::It outside of the class: class obj { public: obj(int i) { ID = i; } int ID; static vector<obj*> It; }; // More than likely in the .cpp file. vector<obj*> obj::It; ... |
| Posted October 28, 2009 8:55:32 PM | |
| Managed DirectX on Win 7 | Use source tags when posting code: [ source ] [ /source ] (Without spaces of course.) Your triangle is probably getting culled; change the renderstate CullMode to Cull.None. |
| Posted October 26, 2009 4:45:06 PM | |
| How does your for loop look like? | In my opinion, single letter variable names are a horrible idea; they're not descriptive in anyway, they can be hard to pick out of the rest of the code, and some characters look like others in certain fonts. As for how I write my for loops: //... |
| Posted October 19, 2009 5:55:32 PM | |
| something to replace Magic in a Fantasy MMO | One possible solution is to skip it completely and replace it with skills generalized for each character/class/whatever. Replace the magic bar with endurance/fatigue, action points, or something along that lines. As pointed out by the other posts,... |
| Posted October 19, 2009 2:57:02 AM | |
| My blog on game design | Quote:Original post by keithburgun The game sells well. My blog isn't about the market though, it's about game design. I would say that no one is able to really see from any perspective other than their own - but what they can do is try to... |
| Posted September 16, 2009 3:54:33 AM | |
| How to resize IDirect3DTexture9? | Quote:Original post by _Sauce_ I've done that. The first 56 pixels write to the destination buffer fine, but then for every pixel after that I get an access violation - I can only write 168 bytes before it cocks up. Hm, I'm not really certai... |
| Posted September 16, 2009 2:54:31 AM | |
| [c++] templates help | While your AddTool() template method is correct, like Zahlman said, the other half isn't possible. However, if they all have a Process() method, you can simply use an abstract base class. For example: struct BaseTool { virtual void Proces... |
| Posted September 16, 2009 2:37:46 AM | |
| How to resize IDirect3DTexture9? | Strike that; I misread it lol. It looks like you should be able to use int frameW = (int)cvGetCaptureProperty(capture, CV_CAP_PROP_FRAME_WIDTH); int frameH = (int)cvGetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT); in your initGrap... |
| Posted September 16, 2009 2:27:31 AM | |
| View All Replies Made By This User | |