Sabre Posted January 18, 2010 Share Posted January 18, 2010 Since my old programing thread seems to have disappeared, I thought I'd start another.Quick backstory. I'm learning C# froma book in the hope of making my own games at some point.Right. I'm working through the books excersises after a short break and now currently have an asturoids clone working. While the movement feels fine for whats required, I can't help but feel it's to simple and stiff for anything else. Basicly the game moves the sprite one pixel in whatever direction that's being held. Fine for dodging space rocks, but would be a bit stiff for anything else.A quick gance through the book doesn't seem to present anything more advanced until you move into 3D teratory, which is something I don't intend on doing for a while. In fact, most of the 2D stuff (adding netplay, titlescreens, options and the like) seems to be building on this base.Another thing. Having got colition detectiong down, I've been having a hard time working out pacman of all things. How do they get him to always fit in those corridors without him getting jammed on every corner?Lastly, I always pick apart my work when I view it in any medium, but I get the feeling with programing I have with DIY in that I keep thinking it's going to fall apart at any second. Is that normal? Link to comment Share on other sites More sharing options...
ThePointingMan Posted January 19, 2010 Share Posted January 19, 2010 I'm so close to making a program with a picture, and I really wanna do it, but then I just end up playing games instead... That's been happening for too long now, and I'm frightened to start up again. What am I gonna do, this cycle just keeps going on.Also, Imma readin C++ in a book.I'm on ch... either 10 or eleven, ch 12 i make a program with pics, ch 14 I make a game with pictures. Of course I never just leave a chapter without using what I've learned to create a new program of my own.There's My back story I guess.Lastly, I always pick apart my work when I view it in any medium, but I get the feeling with programing I have with DIY in that I keep thinking it's going to fall apart at any second. Is that normal?I dunno what DIY means, but that's how I feel a lot. Link to comment Share on other sites More sharing options...
Sabre Posted January 19, 2010 Author Share Posted January 19, 2010 DIY = Do It Yourself.I believe americans call it home improvment.Also, Imma readin C++ in a book.Cool, afterwards we can get together and make something would fall to bits if we ever get off our arses. Personally, I'm onto adding sound, and I can't be buggered with it to be honest. It's only like, 6-9 short lines. Link to comment Share on other sites More sharing options...
Guest FoXXX Posted January 19, 2010 Share Posted January 19, 2010 Anyone here know C? Quake 3/Quake Live engine was written in C and so was Linux :) Link to comment Share on other sites More sharing options...
Sabre Posted January 19, 2010 Author Share Posted January 19, 2010 C++ is C with extra stuff, so pointing might know it. C# isn't related, but was made to be similar to use.Battlefield 2 was writen in C++. I remember because the demo had a timer, but you could go into one of the files and comment out the lines that controled the timer.The Quake 3 source code is out now isn't it? I should take a look at it one day. Link to comment Share on other sites More sharing options...
Guest FoXXX Posted January 19, 2010 Share Posted January 19, 2010 C++ is C with extra stuff, so pointing might know it. C# isn't related, but was made to be similar to use.Battlefield 2 was writen in C++. I remember because the demo had a timer, but you could go into one of the files and comment out the lines that controled the timer.The Quake 3 source code is out now isn't it? I should take a look at it one day.id tech 3 (Quake 3 engine) was made open source in 2005, and is registered under the GNU GPL, I'm assuming you can download it off their website Link to comment Share on other sites More sharing options...
Mr. Krystal Posted January 19, 2010 Share Posted January 19, 2010 C++ is C with extra stuff, so pointing might know it. C# isn't related, but was made to be similar to use.That's not exactly true. Both C++ and C# are based on C. There are significant differences between C and C++, and there are significant differences between C++ and C#. But if you know one, you will know a lot of syntax and logic systems for the others. Also, "programming" has 2 M's. Link to comment Share on other sites More sharing options...
Guest FoXXX Posted January 19, 2010 Share Posted January 19, 2010 That's not exactly true. Both C++ and C# are based on C. There are significant differences between C and C++, and there are significant differences between C++ and C#. But if you know one, you will know a lot of syntax and logic systems for the others. Also, "programming" has 2 M's.So C# is kind of like C + Java, because I've heard that C# is a M$ version of Java, is this true? Link to comment Share on other sites More sharing options...
Mr. Krystal Posted January 19, 2010 Share Posted January 19, 2010 So C# is kind of like C + Java, because I've heard that C# is a M$ version of Java, is this true?In some sense, that's very true. In other senses, it's completely wrong. It's better not to compare whole languages to other languages, and instead compare the parts of languages (for example, C# shares the same basic memory model as Java, but has a C-like runtime). Link to comment Share on other sites More sharing options...
DZComposer Posted January 20, 2010 Share Posted January 20, 2010 C# does share some similarities with Java. Enough that Java's creator said this "[C# is] sort of Java with reliability, productivity and security deleted."But, to say that C# is Microsoft's Java I think is like comparing apples to oranges in a sense. Yes, the two languages have some similar feels to the human programming in them, but Java is much different from C# in that it is designed to be run virtually so that (in theory) you can write a program once and run it on any OS/CPU combination that has a Java VM installed on it (this is why you have to download Java for Java programs to work).Microsoft does have some negative blood with Sun over Java, though. Microsoft bundled their own Java VM into IE without permission of Sun and incorrectly applying the Java standard, which led to a lawsuit in Sun's favor."Microsoft Java" is J#. J# is intended to be a transitional language to help developers switch from Java to .NET (though why anyone would want to move from an open, cross platform, environment to a closed and proprietary one limited to a specific one is beyond me). Not that I love Java, though. It's emulated nature slows it down considerably. You're supposed to get "write once, run anywhere" in return, but that "anywhere" has to have the RIGHT VM on it. Nothing too new, nothing too old.Nothing like forcing a hospital to use an old Java version with known security issues because the viewer for that multimillion dollar Eastman Kodak digital X-Ray system can only run in that version, not newer or older ones.... Link to comment Share on other sites More sharing options...
Steve Posted January 21, 2010 Share Posted January 21, 2010 Have you heard about PSP (Personal Software Process)? It'sĀ a handful of techniques to improve your discipline when it comes to programming. if not, try reading about software engineering, it's all aboutĀ ways to improve your order while programming so you wouldn't be all lost. Link to comment Share on other sites More sharing options...
ThePointingMan Posted January 21, 2010 Share Posted January 21, 2010 Have you heard about PSP (Personal Software Process)? It'sĀ a handful of techniques to improve your discipline when it comes to programming. if not, try reading about software engineering, it's all aboutĀ ways to improve your order while programming so you wouldn't be all lost.Sounds like a good idea. Link to comment Share on other sites More sharing options...
Mr. Krystal Posted January 21, 2010 Share Posted January 21, 2010 Have you heard about PSP (Personal Software Process)? It'sĀ a handful of techniques to improve your discipline when it comes to programming. if not, try reading about software engineering, it's all aboutĀ ways to improve your order while programming so you wouldn't be all lost.I read a whole book (1000+) pages on this. It's called "Code Complete 2." The book doesn't teach you how to program, it teaches you how to program better. Link to comment Share on other sites More sharing options...
Sabre Posted January 23, 2010 Author Share Posted January 23, 2010 Off topic, but I went to start a new thread today and found I can't. Anyone else getting this? Link to comment Share on other sites More sharing options...
Steve Posted January 23, 2010 Share Posted January 23, 2010 Like, the new topic button is off, of whenever you try to make a new topic, it simply doesn't make it? Link to comment Share on other sites More sharing options...
Sabre Posted January 23, 2010 Author Share Posted January 23, 2010 Gone, completely, only notify and mark read remain. Link to comment Share on other sites More sharing options...
Steve Posted January 23, 2010 Share Posted January 23, 2010 Weird, regular members can't make topics anymore , I already checked the problem on the test account and indeed, all those buttons are gone, lemme check if I can fix it Link to comment Share on other sites More sharing options...
Guest FoXXX Posted January 23, 2010 Share Posted January 23, 2010 Weird, regular members can't make topics anymore , I already checked the problem on the test account and indeed, all those buttons are gone, lemme check if I can fix itDon't worry, Slippy's here! :lol: Link to comment Share on other sites More sharing options...
Steve Posted January 23, 2010 Share Posted January 23, 2010 Alright, it should be fixed now, back on topicĀ Edit: nvm, it works now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now