Game Development Community

Help With MBG Programming

by Nicholas · in Marble Blast · 10/31/2008 (3:47 pm) · 4 replies

Here are some questions about MBG programming. I'd really appreciate a good answer!

1. There are some buttons and menus that have 'blank' areas that don't show up in the game or the filmstrip viewer. Or in other words, the image isn't a rectangle. I open it with Paint, and the blank areas appear as white. I edit it with Paint, I save it, and the blank areas turn permanently into white! I can only change the brightness, hue etc with other picture editing programs. To actually edit it, what program do I require?

2. I edited some of the scripts, for example, what the message is when you reach the finish without all the gems. When I edit them, nothing happens! What am I doing wrong?

3. How do you make checkpoints? I really want some scripts for this!

4. How do you change PowerUp names?

5. How do you rearrange the level select menu and view the Author names? And how do you change the text?

I've put the questions in order from the one I want answered first, to the last.

#1
10/31/2008 (4:16 pm)
1) The blank areas are transparent and can be edited in Photoshop. Buttons etc using transparent parts are meant to be like that, they ain't a bug. Paint isn't recommended as you can see it gives white areas :P Can you tell us exactly what you mean by having blank areas? Pictures?

2) After saving the game.cs file which is for the finish pad, you need to delete the game.cs.dso as the game reads the DSO first. Since you delete the DSO, it compiles the CS so that your new changes are now in effect.

3) Checkpoints won't be given from Marble Blast Platinum as we removed all CS/GUI files from being source files to the community. We found some of our work copied and not credited so we removed those source files.

4) Powerups.cs in marble/server/scripts. Example of the shock absorber power being modified to a new name in MBP:
Quote: pickupName = "an Anti-Recoil Powerup!";
useName = "Anti-Recoil Powerup";

5) You need the playMissionGui.gui for it but I don't give such source files out as previously explained. Because we had the source we could modify it as we wish. For the Author you need to add it to playMissionGui.gui . What did you mean by changing the text?
#2
10/31/2008 (9:06 pm)
Second Question:

I should've been more specific.

There are three files called game.cs and three files called game.cs.dso! Located in:

common/server
marble/server/scripts
marble/client/scripts

Which one?

I edited the information about gems in marble/server/scripts.
#3
11/01/2008 (4:02 am)
Then you delete its respective DSO file. in other words, the same on in the folder.

So for gems it's gems.cs.dso. If it's the game.cs in server/scripts (which controls the end pad text since you said it in your post) then you delete the game.cs in server/scripts.

If you edited the one in client/scipts then you delete the one in there. Simple :)
#4
11/25/2008 (5:38 pm)
Aww.... did not work for me :(

Edit: Found it out