Offline play

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Re: Offline play

Postby sabinati » Mon Feb 14, 2011 5:22 pm

unreal world
User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Offline play

Postby ravenguard19 » Mon Feb 14, 2011 6:03 pm

Unreal world?
Hmm can u say something more about this game?
Are there any caves , building system and crafting system?
And how about fighting is there any skills or something?
Image

Because we can and we will.... die!
User avatar
ravenguard19
 
Posts: 1300
Joined: Thu Jan 13, 2011 7:49 pm

Re: Offline play

Postby sabinati » Mon Feb 14, 2011 6:51 pm

User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Offline play

Postby ravenguard19 » Mon Feb 14, 2011 10:33 pm

Ok i tried this game but its hmm not that what iam looking for
Haven And Hearth are giving me all what i need
Caves, Ores, Crafting, Fishing, Farming, hunting, PvP, and the best part exploring
Unreal maybe give some of those things but interface and graphics are just ugly :/
Image

Because we can and we will.... die!
User avatar
ravenguard19
 
Posts: 1300
Joined: Thu Jan 13, 2011 7:49 pm

Re: Offline play

Postby loftar » Wed Feb 16, 2011 3:33 am

Butko wrote:Well it can't be done without some info from devs.
The most I need is: coordinates of char GFX pieces. So when I calculate char screen position out of grid coordinates I need to know distance for each body part from that coordinates. Or maybe other way devs have done this... I dunno. It's made on server side

It's not on the server side. It's the Resource.Image.o variable (o as in offset). The only thing the server sends to the client is a list of resources to draw together; the client does all the coordinate calculation entirely on its own.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Offline play

Postby jgudge » Wed Feb 16, 2011 4:57 pm

loftar wrote:
Butko wrote:Well it can't be done without some info from devs.
The most I need is: coordinates of char GFX pieces. So when I calculate char screen position out of grid coordinates I need to know distance for each body part from that coordinates. Or maybe other way devs have done this... I dunno. It's made on server side

It's not on the server side. It's the Resource.Image.o variable (o as in offset). The only thing the server sends to the client is a list of resources to draw together; the client does all the coordinate calculation entirely on its own.

Image
:shock:
George Carlin wrote:The real reason that we can’t have the Ten Commandments in a courthouse: You cannot post “Thou shalt not steal,” “Thou shalt not commit adultery,” and “Thou shalt not lie” in a building full of lawyers, judges, and politicians. It creates a hostile work environment.
User avatar
jgudge
 
Posts: 868
Joined: Mon Dec 20, 2010 12:44 pm
Location: Canada, eh.

Re: Offline play

Postby Butko » Wed Feb 16, 2011 4:58 pm

loftar wrote:
Butko wrote:Well it can't be done without some info from devs.
The most I need is: coordinates of char GFX pieces. So when I calculate char screen position out of grid coordinates I need to know distance for each body part from that coordinates. Or maybe other way devs have done this... I dunno. It's made on server side

It's not on the server side. It's the Resource.Image.o variable (o as in offset). The only thing the server sends to the client is a list of resources to draw together; the client does all the coordinate calculation entirely on its own.

O khere is stored offset, but where is calculated? Image constructor gets argument byte[] buf. This argument is passed to method where is only if byte is negative and it's added 256 if it is.
Where is calculation of coordinates of character pieces done? This code is very confusing and more I read less I find :S As I understand Resource class is only a class for loading and "storing" graphical objects. Actual calculations must be done somewhere else. Like to check if image is one of character pieces and if it, check which one it is and then calculate it's position relative to...?
Butko
 
Posts: 542
Joined: Tue Sep 07, 2010 10:05 am

Re: Offline play

Postby loftar » Thu Feb 17, 2011 3:49 am

Butko wrote:O khere is stored offset, but where is calculated? Image constructor gets argument byte[] buf. This argument is passed to method where is only if byte is negative and it's added 256 if it is.
Where is calculation of coordinates of character pieces done? This code is very confusing and more I read less I find :S As I understand Resource class is only a class for loading and "storing" graphical objects. Actual calculations must be done somewhere else. Like to check if image is one of character pieces and if it, check which one it is and then calculate it's position relative to...?

Sorry, I don't understand what you're asking.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Offline play

Postby Bigzion » Thu Feb 17, 2011 10:57 am

Unreal maybe give some of those things but interface and graphics are just ugly :/


Thats why we graphics whores play H&H. :roll:
User avatar
Bigzion
 
Posts: 49
Joined: Sat Feb 20, 2010 12:30 am

Re: Offline play

Postby Butko » Thu Feb 17, 2011 12:50 pm

loftar wrote:
Butko wrote:O khere is stored offset, but where is calculated? Image constructor gets argument byte[] buf. This argument is passed to method where is only if byte is negative and it's added 256 if it is.
Where is calculation of coordinates of character pieces done? This code is very confusing and more I read less I find :S As I understand Resource class is only a class for loading and "storing" graphical objects. Actual calculations must be done somewhere else. Like to check if image is one of character pieces and if it, check which one it is and then calculate it's position relative to...?

Sorry, I don't understand what you're asking.

The variable u told me that only stores coordinates of each graphic piece.
There must somewhere be formula to calculate location of graphic pieces of character. Where is that done? Is it hardcoded somewhere, calculated,...?
To sum up: how do u get those numbers and where?
Butko
 
Posts: 542
Joined: Tue Sep 07, 2010 10:05 am

PreviousNext

Return to Critique & Ideas

Who is online

Users browsing this forum: No registered users and 46 guests