Search found 158 matches
- Wed Feb 10, 2010 8:34 pm
- Forum: Programming Discussion
- Topic: Im a noob i know
- Replies: 59
- Views: 5165
Re: Im a noob i know
The head guy of the gears of war team was talking about a switch from C++ to Haskell in the future of gaming.. I don't have the link now, but I can post it if you want. I want it. Could you post the link? Haskell is a cool language, but I don't know if I'd want to use it for game programming. Games...
- Fri Jan 08, 2010 9:31 pm
- Forum: Game Development
- Topic: interweb + c++ = oil + water?
- Replies: 9
- Views: 1103
Re: interweb + c++ = oil + water?
I've read about this before, but I have never used it: http://www.osakit.com/ It has some demo-like free version, so it might be worth looking into. The only thing is that the user would still have to download the "player". Wtf? How does that work!? Looks like it's a browser plugin that l...
- Mon Nov 30, 2009 7:25 pm
- Forum: Programming Discussion
- Topic: C++ to C book
- Replies: 12
- Views: 1248
Re: C++ to C book
The C Programming Language is the book written by Kernighan and Ritchie (Dennis Ritchie is the guy that invented C, and he and Brian Kernighan created Unix using C).
- Thu Nov 26, 2009 12:27 am
- Forum: Game Development
- Topic: Raycaster
- Replies: 11
- Views: 1921
Raycaster
So I wrote a raycaster a while back (in April I think) and rediscovered it while digging through my unfinished projects. I intend to turn it into an actual game at some point, but for now all you can do is walk around. It's written in C++, and uses SDL for drawing and input. The main thing still mis...
- Wed Nov 25, 2009 11:08 pm
- Forum: Programming Discussion
- Topic: Best Language for this project?
- Replies: 11
- Views: 1088
Re: Best Language for this project?
I haven't modded Morrowind or Oblivion, but I know that Morrowind (and I'm guessing Oblivion too) comes with a Construction Set that's used to create mods, which includes it's own proprietary scripting language. So Dreeb, I'd recommend learning how to use the Construction Set if you want to mod Eld...
- Wed Nov 25, 2009 4:26 pm
- Forum: Programming Discussion
- Topic: Best Language for this project?
- Replies: 11
- Views: 1088
Re: Best Language for this project?
then, would c++ be the best choice for just modding these games in-general, without the multiplayer mod? You are going to be needing a HELL of a lot more than that if you want to mod games that aren't meant to be mod-able. I haven't modded Morrowind or Oblivion, but I know that Morrowind (and I'm g...
- Thu Sep 17, 2009 7:58 pm
- Forum: Programming Discussion
- Topic: Programming books?
- Replies: 29
- Views: 2541
Re: Programming books?
I don't know if you're interested in learning Lisp or functional programming, but if you are these are good books.
Clojure is a Lisp that runs on the JVM, and Haskell is purely functional programming language.
Programming Clojure
Real World Haskell
Clojure is a Lisp that runs on the JVM, and Haskell is purely functional programming language.
Programming Clojure
Real World Haskell
- Fri Aug 21, 2009 1:37 am
- Forum: Programming Discussion
- Topic: QT GUI Development
- Replies: 22
- Views: 2339
Re: QT GUI Development
Ah, nice. Looks like mine isn't the only university making students learn it. Nah, it looks extremely, extremely easy to use. It's not a matter of needing help as much as wondering who all uses it and if it has any real commercial applications. It's child's play as far as the coding goes, but it's ...
- Wed Aug 05, 2009 10:06 pm
- Forum: Game Development
- Topic: Game & Engine - Where do you draw the line?
- Replies: 10
- Views: 1513
Re: Game & Engine - Where do you draw the line?
You don't have to have a monolithic engine that your game sits on either. You can have multiple, more specific engines that you can sort of "plug" together: graphics engine, input engine, physics engine, sound engine, collision engine, etc. Then, you can put these together however you want...
- Thu Jul 30, 2009 4:15 pm
- Forum: Programming Discussion
- Topic: [SOLVED]
- Replies: 41
- Views: 2312
Re: Orginal solved. Anyone know Recursion?
What? Both fib(0) and fib(1) evaluate to 1 in the diagram.Ginto8 wrote:you forgot to add a check for whether n < 3...
- Thu Jul 30, 2009 2:24 am
- Forum: Programming Discussion
- Topic: [SOLVED]
- Replies: 41
- Views: 2312
Re: Orginal solved. Anyone know Recursion?
Actually I just though of a visual way to show how it works. Since fib calls two instances of itself, it creates a tree of function calls. fib(4) / \ fib(2) + fib(3) / \ / \ fib(0) + fib(1) fib(1) + fib(2) | | | / \ 1 1 1 fib(0) + fib(1) | | 1 1 Hopefully that helps make things more clear. The four...
- Thu Jul 30, 2009 2:04 am
- Forum: Programming Discussion
- Topic: [SOLVED]
- Replies: 41
- Views: 2312
Re: Orginal solved. Anyone know Recursion?
Actually I just though of a visual way to show how it works. Since fib calls two instances of itself, it creates a tree of function calls. fib(4) / \ fib(2) + fib(3) / \ / \ fib(0) + fib(1) fib(1) + fib(2) | | | / \ 1 1 1 fib(0) + fib(1) | | 1 1 Hopefully that helps make things more clear. The four...
- Thu Jul 30, 2009 1:36 am
- Forum: Programming Discussion
- Topic: [SOLVED]
- Replies: 41
- Views: 2312
Re: Orginal solved. Anyone know Recursion?
Actually I just though of a visual way to show how it works. Since fib calls two instances of itself, it creates a tree of function calls. fib(4) / \ fib(2) + fib(3) / \ / \ fib(0) + fib(1) fib(1) + fib(2) | | | / \ 1 1 1 fib(0) + fib(1) | | 1 1 Hopefully that helps make things more clear.
- Thu Jul 30, 2009 1:23 am
- Forum: Programming Discussion
- Topic: [SOLVED]
- Replies: 41
- Views: 2312
Re: Orginal solved. Anyone know Recursion?
The Fibonacci sequence is defined as: fib(0) = 1 fib(1) = 1 fib(n) = (n - 2) + (n - 1) for n > 1 (Note that the above is not code, just the mathematical definition.) What this says is that fib(0) returns 1, fib(1) returns 1, and for every integer n that is above 1, fib(n) returns the sum of the prev...
- Mon Jul 13, 2009 1:07 am
- Forum: Programming Discussion
- Topic: Creating a scripting language for your game or application
- Replies: 3
- Views: 424
Re: Creating a scripting language for your game or application
crumb Guard is Npc { spit(player) gives number { if(player:isBlack()) { return swallow(player, "kill()", "take(money)", "send(jail)"); } return swallow(player); } } Just out of curiosity, do you have an actual implementation of this language? Because the more complex i...