I only see the calls of the .getLength() method,
but I think we can replace this code !?
« previous next » |
searching java code (Read 390864 times)

#62


Posts: 41
Logged
I copied the folders containing the images and all into the trunk/src folder to be able to start ShinySword out of eclipse.
...programming on holidays


#63


Posts: 41
Logged
...sometime the code is written with a switch , sometimes with an ifelseif structure... taht's funny 

...programming on holidays


#64
Administrator
Shining Spammer


Posts: 1,208
Logged
#65


Posts: 41
Logged
hello again.
I've some holidays, so I'll program.
Can ynaone explain me what the Values of the [menuplace]-Variable mean. I Want to rename the Constants and give the senceful names
I've some holidays, so I'll program.
Can ynaone explain me what the Values of the [menuplace]-Variable mean. I Want to rename the Constants and give the senceful names

...programming on holidays


#67


Posts: 41
Logged
why do we load images in the code and not before instanciating the game ?
If we load the Images before, for example when the Game starts, it is easier and faster.
Because the images aren't reloaded EVERYTIME we call the method.
Code:
if (selected == "BUY") {
buyImage = Lib_Image.getImage("interface\\i_buy1.gif");
sellImage = Lib_Image.getImage("interface\\i_sell2.gif");
}
....
If we load the Images before, for example when the Game starts, it is easier and faster.
Because the images aren't reloaded EVERYTIME we call the method.
...programming on holidays


#68
Administrator
Shining Spammer

Posts: 1,129
Logged
you're right, i made the shop method as a seperate module and then integrated it, so i never put any of the steps outside of the shop itself.
~Elvenfyre

#69


Posts: 41
Logged
Hello again,
I know its been a while, but in my second job I'm studying
So can anyone help me by explaining me how the
Walkmap.setBlock(int x, int y, int layer, int value) works.
And I have a few other questions:
1) Can anyone desribe me the layers more exactly.
I want to comment a lot of stuff to make the things getting better and isolate the different parts better. But therefore I need someone to answer my question. And please dont hate me if I ask things that are already in the documentation since Im documenting source code which is pretty hard without any answers
2) Source Code
Was there a newer Version than that I worked on I think its. Babs2.5 ypou find a link to it here:
http://www.informatik.uni-freiburg.de/~marquard/shinysword/
And the main question: How should we order the sourcecode. Normally the first things are attributes and then the methods. The getter and setter methods can get a seperate place before the more complex methods. I discouvered you writing the attribute and getters and setters for each attribut one after another. I'd like to order the sourcecode first attributes and then methods. Does anyone have better ordering.
3) I try only to comment the code, but I've also seen some (unecessary?) programming lines which I will to "correct" or make more efficient. So who is the guy in China I can talk to if I have some questions or ideas?
Thanks a lot for answering
Programming together makes more fun
I know its been a while, but in my second job I'm studying

So can anyone help me by explaining me how the
Walkmap.setBlock(int x, int y, int layer, int value) works.
And I have a few other questions:
1) Can anyone desribe me the layers more exactly.
I want to comment a lot of stuff to make the things getting better and isolate the different parts better. But therefore I need someone to answer my question. And please dont hate me if I ask things that are already in the documentation since Im documenting source code which is pretty hard without any answers

2) Source Code
Was there a newer Version than that I worked on I think its. Babs2.5 ypou find a link to it here:
http://www.informatik.uni-freiburg.de/~marquard/shinysword/
And the main question: How should we order the sourcecode. Normally the first things are attributes and then the methods. The getter and setter methods can get a seperate place before the more complex methods. I discouvered you writing the attribute and getters and setters for each attribut one after another. I'd like to order the sourcecode first attributes and then methods. Does anyone have better ordering.
3) I try only to comment the code, but I've also seen some (unecessary?) programming lines which I will to "correct" or make more efficient. So who is the guy in China I can talk to if I have some questions or ideas?
Thanks a lot for answering
Programming together makes more fun

...programming on holidays


#70


Posts: 41
Logged
OOpss....
I've seen Develyn is working on Babs 3.
Is there a easy job to program with that I can support you.
Do you need a mathematical background to solve a problem. I also like mathematics. Ie. your problem that you solved with the distances
*
*P*
*
to get the cells inside the range... This is a Norm
see
http://en.wikipedia.org/wiki/Norm_%28mathematics%29
Happy to help you
Christian
I've seen Develyn is working on Babs 3.
Is there a easy job to program with that I can support you.
Do you need a mathematical background to solve a problem. I also like mathematics. Ie. your problem that you solved with the distances
*
*P*
*
to get the cells inside the range... This is a Norm
see
http://en.wikipedia.org/wiki/Norm_%28mathematics%29
Happy to help you
Christian
...programming on holidays


#71


Posts: 41
Logged
I found that
http://www.notaboutme.nl/files/BABS3.rar
and will try to work and document it.
If there are newer versions let me know
http://www.notaboutme.nl/files/BABS3.rar
and will try to work and document it.
If there are newer versions let me know

...programming on holidays


#73


Posts: 41
Logged
sorry,
but I'm still waiting fro an answer because i think only work on some code without working with someone other make no sence... ?
but I'm still waiting fro an answer because i think only work on some code without working with someone other make no sence... ?
...programming on holidays


#74
Administrator
Shining Sideburns

Posts: 837
Logged
I'm pretty sure Dev & Elv are pretty busy these days, so they won't be able to get back to you for a while. Your best bet is to just work on what you like and then it can be rolled back into the core when they get chance. If you desperately need to get hold of them you can private message them and they should get an email notification.