[ Login | Register ]

The Shining Source

« previous next »
Pages: 1 ... 3 4 [5] 6 Print
searching java code   (Read 128106 times)
Old Post August 07, 2010, 05:34:14 pm
#61
Blahian *

Posts: 41

Logged
Re: searching java code
I only see the calls of the .getLength() method,
but I think we can replace this code !?

...programming on holidays Wink


Old Post August 07, 2010, 05:49:15 pm
#62
Blahian *

Posts: 41

Logged
Re: searching java code
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 Wink


Old Post August 07, 2010, 10:33:04 pm
#63
Blahian *

Posts: 41

Logged
Re: searching java code
...sometime the code is written with a switch , sometimes with an ifelseif structure... taht's funny Wink

...programming on holidays Wink


Old Post August 08, 2010, 09:51:10 am
#64
Administrator
Shining Spammer *

Posts: 1,208

Logged
Re: searching java code
Call it freeform programming Tongue.

Or just bad programming even Wink

Devlyn

Great news for Shining fangame developers! Wink

Correcting your non-working <img> tags since 1982 Wink


Old Post September 06, 2010, 10:47:56 pm
#65
Blahian *

Posts: 41

Logged
Re: searching java code
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 Wink

...programming on holidays Wink


Old Post September 06, 2010, 11:06:14 pm
#66
Blahian *

Posts: 41

Logged
Re: searching java code
I'll fix it with my Constant.java File Wink

...programming on holidays Wink


Old Post September 08, 2010, 03:34:43 pm
#67
Blahian *

Posts: 41

Logged
Re: searching java code
why do we load images in the code and not before instanciating the game ?

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 Wink


New Post September 16, 2010, 11:42:38 am
#68
Administrator Shining Spammer *

Posts: 1,129

Logged
Re: searching java code
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


New Post September 23, 2011, 12:26:15 am
#69
Blahian *

Posts: 41

Logged
Re: searching java code
Hello again,

I know its been a while, but in my second job I'm studying Wink

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 Wink

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 Wink


...programming on holidays Wink


New Post September 23, 2011, 12:33:17 am
#70
Blahian *

Posts: 41

Logged
Re: searching java code
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

...programming on holidays Wink


New Post September 23, 2011, 07:58:53 pm
#71
Blahian *

Posts: 41

Logged
Re: searching java code
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 Wink

...programming on holidays Wink


New Post September 23, 2011, 08:11:46 pm
#72
Blahian *

Posts: 41

Logged
Re: searching java code
cooler graphics and a good new sound  Grin

RESPECT !

...programming on holidays Wink


New Post September 25, 2011, 03:19:05 pm
#73
Blahian *

Posts: 41

Logged
Re: searching java code
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... ?

...programming on holidays Wink


New Post September 25, 2011, 09:20:19 pm
#74
Ty
Administrator
Shining Sideburns *

Posts: 836

Logged
Re: searching java code
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.


New Post September 26, 2011, 11:34:01 am
#75
Blahian *

Posts: 41

Logged
Re: searching java code
Thanks Ty.

I think I will contact them by PM

...programming on holidays Wink


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

Powered by SMF 1.1.21 | SMF © 2013, Simple Machines