[ Login | Register ]

The Shining Source

« previous next »
Pages: 1 2 3 [4] 5 6 Print
searching java code   (Read 131297 times)
Old Post July 26, 2010, 09:13:10 pm
#46
Blahian *

Posts: 41

Logged
Re: searching java code
I have read anywhere that you want to split off Smee and Shiny Sword in several parts.
Another thing is perhaps create some packages or some new data-structures to support the game in a better way.
My intention is also to split the game logic from the game representattion.
I have just made a bomberman game with splitted logic and computation - I'll email you Wink

...programming on holidays Wink


Old Post July 26, 2010, 09:44:08 pm
#47
Blahian *

Posts: 41

Logged
Re: searching java code
...and I like good commented code.
The best way to make the code easier to understand; I created javadoc-Comments.

...programming on holidays Wink


Old Post July 26, 2010, 10:40:36 pm
#48
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: searching java code
OK so yes, as far as I am aware they are already separate. . . You may have to be more specific on that comment.

It's good to hear, the whole idea of BABS and SMEE is to allow shining style games to be made by those who aren't programmers.  It would be nice to see improvements by a programmer like yourself which would benefit all.
We do want it to be flexible, and yet easy - which our specific goal : shining style games, should be able to provide.  Asking the game creator only to make content, giving them the advanced ability to use logic to dictate non-linear gameplay seems to be the key.

I proved the existing system could be used as such already, but there are elements left unwieldy and more to the point, difficult to understand on ones own.  Ty was working on some documentation, but I think it's best if we leave him to his shining online project because we all eagerly await that Wink
Perhaps I can get the documentation I started finished when I complete the Saltwater Campaign.

~Elvenfyre


Old Post July 26, 2010, 11:00:05 pm
#49
Blahian *

Posts: 41

Logged
Re: searching java code
seems like I'm alone at the moment.
So far, if I should work alone I can, but then I think it's better to start a new project than to think and sometimes to guess what the shiny sword code means...
but I'm well interested in your layering system - how is it programmed?
I have also a layering system in my bombermangame there are two classes one active and one passive class each consisting of a double array; this seems like your worldmap...?

...programming on holidays Wink


Old Post July 27, 2010, 12:01:37 am
#50
Blahian *

Posts: 41

Logged
Re: searching java code
oh I now understand more about tiles,
this is cool and will have a great effect of my programming style Wink

...programming on holidays Wink


Old Post July 27, 2010, 01:25:55 am
#51
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: searching java code
Are you currently looking at SMEE for the layering / tile creation functions or BABS for the output?

SMEE is pretty well made imho, and should be understood first to see what information is being provided to BABS in order to understand what's happening there.

~Elvenfyre


Old Post July 27, 2010, 03:16:20 pm
#52
Blahian *

Posts: 41

Logged
Re: searching java code
I was looking at the Editor SMEE and reading your introdution.
Now I think I better unterstand the Tile-System. Before I didn't for waht this was.
But now I see how some things work and can better reorganizing the code

...programming on holidays Wink


Old Post July 27, 2010, 04:19:05 pm
#53
Blahian *

Posts: 41

Logged
Re: searching java code
so far this project takes too much time for me.
Thus I have to stop coding for a few weeks. I realy like it but I can't work here while studying at university and have to get ready for my exams...

I will inform you, if I come again to code this project

best regards
chris

...programming on holidays Wink


Old Post July 27, 2010, 06:44:50 pm
#54
Ty
Administrator
Shining Sideburns *

Posts: 837

Logged
Re: searching java code
Thanks for all you've done so far,  we all know how hard it is to find time for these things Smiley If the latest version of your code is in Subversion, I'll merge in the changes so everyone can get the latest copy.


Old Post July 27, 2010, 10:17:41 pm
#55
Blahian *

Posts: 41

Logged
Re: searching java code
Hi Ty,

yes the latest version is I think the 26.07.2010.zip.
But there is a problem you can look at: it doesn't start the game.
I have another question:
Can you reoganize the subversion so that my folder is beside the trunk-folder and not contained in it.
Thank chris

...programming on holidays Wink


Old Post July 27, 2010, 11:42:09 pm
#56
Ty
Administrator
Shining Sideburns *

Posts: 837

Logged
Re: searching java code
To be honest, Subversion works better with source files instead of zip archives. That way everyone can see what changes were made and can merge their files in a little easier. If you prefer zips, it might be better to upload them here and then we can merge the changes in manually Smiley


Old Post August 06, 2010, 06:24:37 pm
#57
Blahian *

Posts: 41

Logged
Re: searching java code
I have a question:
Why don't you  in the Class Tileset
delegate the tiles.size() method to the getLength() method.
You always increase a local varible length, that I think is not really necessary, because all you have to do is to implement the following code
Code:
 * 
 * question
 * why is the method tiles.size() not delegated to the getLength() method:
 *
 *  public int getLength() {
 *  if (tiles == null) return -1;
 *  else
 *  return tiles.size();
 *  }
 *
 *  ???
 * 
 *  because the getTile(9-method is delegated !

I've writed this comment inside the ClassFile Wink

...programming on holidays Wink


Old Post August 06, 2010, 06:31:07 pm
#58
Blahian *

Posts: 41

Logged
Re: searching java code
I commited my last code as Revision 12 in the folder
babs\trunk\src

...hoping for answers Wink

...programming on holidays Wink


Old Post August 07, 2010, 11:13:10 am
#59
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: searching java code
I'd check what functions call getLength in a search of all other files because there might be a more unique loading function which utilises its current form.  just a guess really because I have no idea.

~Elvenfyre


Old Post August 07, 2010, 01:27:57 pm
#60
Ty
Administrator
Shining Sideburns *

Posts: 837

Logged
Re: searching java code
Just a heads up -- you should update your code before modifying and checking it in, otherwise you'll overwrite the changes people have been making Wink


Pages: 1 2 3 [4] 5 6 Print 
« previous next »
Jump to:  

Powered by SMF 1.1.21 | SMF © 2013, Simple Machines