• What are you working on? v15
    5,001 replies, posted
*actually* fixed collision detection now I hope it finds a really really deep hole and dies.
Just use your own server. Not everybody has to log in, I don't see why you'd take it away from people who don't care and aren't moderators.
[QUOTE=Shrapnel :3;27632524]Not sure if you mean this, but you can right click "References" in the solution explorer and click "Add Reference".[/QUOTE] Nope, i mean referencing objects like in C++ so to have: void myMethod(myClass &myObject)
Should I release my minecraft server to all you guys? It's far from finished, but it works. I can't really be assed to work on it anymore. [b]Edit:[/b] Rate agree for yes, disagree for no, optimistic for "I really don't care"
[img]http://data.fuskbugg.se/dipdip/______________________________________________________________________________________________________Sk%E4rmklipp.PNG[/img] Im creating an application to preview and animate sprites ( and im working on saving the animations to .gif files ). Mainly cause i want a fast way to test spritesheets, i dont know if this is useful to anybody, what do you think facepunch?
[QUOTE=thomasfn;27633161]Should I release my minecraft server to all you guys? It's far from finished, but it works. I can't really be assed to work on it anymore. [b]Edit:[/b] Rate agree for yes, disagree for no, optimistic for "I really don't care"[/QUOTE] You'll get a lot of rainbows.
I might not be a code wizard, but I think I should post a screen of the game I've been working on for a while now. Got the subtitles working and they automatically stop after the soundfile ends. There are other overdrive arguments, like a variable, that handles how long the subtitle is shown. Might not be much, but at least it fills the screen nicely: [IMG]http://filesmelt.com/dl/Subtitle_Testing1.png[/IMG] Props for those, who get the subtitle reference. That's where I got the material for testing purposes.
Finally in some decent college classes this year which aren't boring as shit. Like the CIS class actually has programming labs instead of papers. Only thing is that the instructions are riddled with shit like "xxChanger£iver". Although it doesn't surprise me when the start date for the assignments are 2004.
[img]http://i51.tinypic.com/294p6xy.png[/img] Made it possible to position the window wherever you want, relative or irrelative. It also says where the window will be placed. Suggestions? :v: Download: [url=http://filesmelt.com/dl/Border_Remover.exe]Here[/url]
[QUOTE=Radman;27633348]I might not be a code wizard, but I think I should post a screen of the game I've been working on for a while now. Got the subtitles working and they automatically stop after the soundfile ends. There are other overdrive arguments, like a variable, that handles how long the subtitle is shown. Might not be much, but at least it fills the screen nicely: [img_thumb]http://filesmelt.com/dl/Subtitle_Testing1.png[/img_thumb] Props for those, who get the subtitle reference. That's where I got the material for testing purposes.[/QUOTE] Dot Dot Dot. :v:
How is that an RPG anyway?
[QUOTE=BlkDucky;27633386]Dot Dot Dot. :v:[/QUOTE] P.S the only reson im giving this a 1 is beacuase the voices where pretty good. but thats it!
basic but fun [code]void printClass(void * buff, int size) { char * cbuffer = (char*)buff; std::cout << "Data: " << std::endl; for(int i = 0; i < size; i++) { std::cout << cbuffer[i] << std::endl; } } class s_data { public: s_data(char a, char b){ m_a = a; m_b = b;}; private: char m_a; char m_b; }; int main() { s_data data('a', 'b'); printClass(&data, sizeof(s_data)); return 0; }[/code]
Would've been funnier if that was in BASIC.
[code] 10 PRINT "YOU ARE GAY" 20 GOTO 10 RUN [/code] ah, the memories
So I'm learning C++ and I wonder why the hell do you use pointers for? Why use a pointer instead of a variable? Is it better for performance or can you do things with it that you can't do with variables??
[QUOTE=Awwent;27634428]So I'm learning C++ and I wonder why the hell do you use pointers for? Why use a pointer instead of a variable? Is it better for performance or can you do things with it that you can't do with variables??[/QUOTE] rather than copying the variable and you working on a copy, it just 'redirects' you to the actual variable in memory
[QUOTE=Awwent;27634428]So I'm learning C++ and I wonder why the hell do you use pointers for? Why use a pointer instead of a variable? Is it better for performance or can you do things with it that you can't do with variables??[/QUOTE] Because at times you might not know how big your variable is going to be [editline]24th January 2011[/editline] [QUOTE=CarlBooth;27634545]rather than copying the variable and you working on a copy, it just 'redirects' you to the actual variable in memory[/QUOTE] :S but thats referencing isnt it?
[QUOTE=Richy19;27634589]Because at times you might not know how big your variable is going to be [editline]24th January 2011[/editline] :S but thats referencing isnt it?[/QUOTE] I could be wrong, I don't have much experience with C++, but I think reference is a type of pointer. [editline]0[/editline] Sort-of [quote=Wikipedia - Facts you can Trust]A pointer references a location in memory, and obtaining the value at the location a pointer refers to is known as dereferencing the pointer. [/quote]
Take a look and run these programs and maby you'll understand. With pointer: [code]void pointerFunc(int * ptr) { *ptr = 50; } int main() { int number = 0; pointerFunc(&number); std::cout << number << std::endl; [/code] Without pointer: [code] void nonPointerFunc(int nptr) { nptr = 50; } int main() { int number = 0; nonPointerFunc(number); std::cout << number << std::endl; [/code]
[QUOTE=ralle105;27624269]1. Get mouse position relative to center of screen. 2. Do stuff such as rotate camera based on values. 3. Set mouse position to center of screen.[/QUOTE] I hate mouse capturing like this. It sucks really really bad when you've got sucky framerates, AND it does that rubber bandy shit when you alt+tab. Please use hardware people.
Hey, Minecraft is so addicting; I need to stop! It's leaving little time for my programming :(
[QUOTE=limitofinf;27634912]Hey, Minecraft is so addicting; I need to stop! It's leaving little time for my programming :([/QUOTE] Solution: Program something to do with minecraft :D I got bored of minecraft about a month ago now. It's all great until you've built almost everything you can think of and have an abundance of diamond tools. There's just not enough endgame goals.
[QUOTE=Awwent;27634428]So I'm learning C++ and I wonder why the hell do you use pointers for? Why use a pointer instead of a variable? Is it better for performance or can you do things with it that you can't do with variables??[/QUOTE] Pointers are also useful for avoiding the destruction of an object when it leaves scope, such as in a factory class.
Pointers are one of those things which I got an appreciation of over time. I didn't understand why anyone would ever need them until I started making proper games, then I realised they are very useful.
[QUOTE=CarlBooth;27634387][code] 10 PRINT "YOU ARE GAY" 20 GOTO 10 RUN [/code] ah, the memories[/QUOTE] At college we need calculators which allow you to program them (because of their statistics functions), it's great fun
[QUOTE=robmaister12;27626887]0:33 - "I would HAVE told you but..." or "I would've told you but..."[/QUOTE] It's pretty common English slang to say 'would of' instead of 'would have' and if you look at it technically, it could be considered grammatically correct. I would keep it, though, because when people make games they often give the characters perfect English grammar and nobody talks like that honestly, there are different dialects and slang all over.
The longer i spend writing my game, the shorter the total length of code it gets.. i just replaced the player method of creating and removing fixed size blocks (~150 lines) with 30 lines of code that allows the player to create and remove variable sized blocks, controlled with the shift key and left mouse :v:
[img]http://i.imgur.com/Hr2uc.png[/img]
[QUOTE=scizorownage;27636768][img_thumb]http://i.imgur.com/Hr2uc.png[/img_thumb][/QUOTE] Why don't people explain what their content is and isnt...
Sorry, you need to Log In to post a reply to this thread.