]> icculus.org git repositories - crow/jumpnbump.git/blob - source.txt
Fix single player.
[crow/jumpnbump.git] / source.txt
1                 JUMP 'N BUMP
2
3             Source Code Release
4          by Brainchild Design in 99
5
6
7 Ok, enough already! Too many people have been
8 asking about the source code for Jump 'n Bump,
9 but I've always said that it's messy and ugly
10 and bad, and besides, nobody could really learn
11 anything from it, certainly not how to design
12 code.
13
14 Then I remembered how excited I was when I got
15 hold of the source code to Wolfenstein 3D by
16 ID. Not that I really learned that much from
17 it, it was far too complex for me at that time.
18 That is also the reason that I don't care
19 about source code. It takes far too long time
20 to understand what happens, and I personally
21 don't think it's worth it.
22
23 Again, I thought about it for a while. And I
24 can't say that there is that much source code
25 for complete games out there. Mostly it's just
26 "how to make this neat effect". Nothing wrong
27 with that, it's just that there's so much more
28 to making a game than that!
29
30 So I finally decided to release the code. Do
31 whatever you like with it. I've gotten e-mails
32 saying things like "if I got the source, I could
33 add multiplayer support over the internet".
34 Yeah, right! Adding that would probably be
35 harder than to totally rewrite the game. The
36 code is poorly designed, making changes to is
37 hard, if not impossible. Be warned!
38
39 If I still haven't convinced you to stay away,
40 then I would be glad to see what you manage
41 to do with it. Some suggestions I've gotten for
42 the game includes computer rabbits, network
43 support, better menu with level-loading support,
44 and so on. Oh, and 400x256 is NOT a good
45 resolution, I can tell you that much.
46
47 You'll need DJGPP to compile the code. You can
48 find it on http://www.delorie.com. I recommend
49 that you also get hold of RHIDE, a great IDE.
50 If you need to recompile the ASM code, you will
51 need NASM, which you can find on
52 http://www.web-sites.co.uk/nasm/
53
54 Ok, here's a short explanation on how to get
55 it to compile (I won't explain how to install
56 DJGPP and RHIDE, there's plenty of info on that
57 on the net):
58
59 Move 'libdj.a' to DJGPP's LIB-directory and
60 'dj.h' to DJGPP's INCLUDE-directory.
61
62 Start up RHIDE, and try opening the project
63 'jumpbump.gpr'. If that works then you'll be
64 all set and ready to compile. If not, try
65 setting all the directories in the project
66 right, and so on.
67
68 If you can't open the project, delete
69 'jumpbump.gpr' and 'jumpbump.gdt'. Start up
70 RHIDE and create a new project. Add all *.o
71 files and 'gfx.obj'. (The reason I add the
72 object files instead of the source files is
73 that my RHIDE always recompiled everything,
74 not just what was changed.) Go into Local
75 Options for 'gfx.obj' and change Name of the
76 output file to 'gfx.obj'. In the menu, go for
77 Options->Libraries. Write 'dj' on the first
78 row, and put an X to the left of it. Now you
79 should be able to compile.
80
81 Oh, and please don't write to me and ask about
82 the code. It was almost a year since I wrote it,
83 and I really don't remember anything about it.
84
85 Of course, I don't take any responsibility
86 whatsoever to what might happen to you, your
87 computer or your social life if you choose to
88 use this.
89
90 'Nuff said!
91
92 Mattias Brynervall, Brainchild Design
93 http://www.brainchilddesign.com