Game Development: Some fixes

Announcements about major changes in Haven & Hearth.

Re: Game Development: Some fixes

Postby loftar » Sat Nov 13, 2010 2:51 am

For the record, the greatest problem with the brick tiles is that the tiles themselves are 11x11 isometric pixels; that is, prime. It's kind of hard to find a regular pattern to tile over that.
"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: Game Development: Some fixes

Postby Thijssnl » Sat Nov 13, 2010 4:12 am

Mqrius wrote:
Thijssnl wrote:Arrgh, all the new stuff has to come while I was sick? D:
Nyway, cool fixes, <3 decay change!
Isn't being sick the perfect time to play all day?


Depends how sick : )
User avatar
Thijssnl
 
Posts: 2389
Joined: Fri Mar 12, 2010 9:09 pm

Re: Game Development: Some fixes

Postby Wolfang » Sat Nov 13, 2010 12:24 pm

Mqrius wrote:Yup. It's free for me, and allowed, up to 50 GB upload a week, unlimited download. Speeds are >10MByte/sec download, >1MByte per sec upload. It's really convenient. Only thing I'm not allowed to do is use a different domain, so that's why I haven't been using a havenmap.tk domain or something like that.


I don't know how fast Leuven's uni-internet works...not that I download much at all, I actually wouldn't know how.
sabinati wrote:But Wolfang, it's the mods who are trolls, remember. please have some mercy on this innocent victim of merciless trolling by the moderation team before you make any more ad hominem remarks about him.

Image
User avatar
Wolfang
 
Posts: 1255
Joined: Sat Feb 06, 2010 2:26 pm

Re: Game Development: Some fixes

Postby Mqrius » Sat Nov 13, 2010 12:30 pm

Wolfang wrote:
Mqrius wrote:Yup. It's free for me, and allowed, up to 50 GB upload a week, unlimited download. Speeds are >10MByte/sec download, >1MByte per sec upload. It's really convenient. Only thing I'm not allowed to do is use a different domain, so that's why I haven't been using a havenmap.tk domain or something like that.


I don't know how fast Leuven's uni-internet works...not that I download much at all, I actually wouldn't know how.
You could use speedtest.net.
It turns out my upload speed is even higher than I thought!
Image
This is in bits.
It's too bad there's nearly no servers/clients out there which can match this speed, so I hardly ever load at that speed.
User avatar
Mqrius
 
Posts: 367
Joined: Sun Aug 29, 2010 8:58 pm

Re: Game Development: Some fixes

Postby Granger » Sat Nov 13, 2010 2:46 pm

loftar wrote:For the record, the greatest problem with the brick tiles is that the tiles themselves are 11x11 isometric pixels; that is, prime. It's kind of hard to find a regular pattern to tile over that.


Then why not have a bigger texture with an endless pattern (eg. 8 tiles in both directions) to lift the limitation that individual tiles borders have to be seamless?
The part where the client cuts out the part it needs to display shouldn't be that hard to code.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Game Development: Some fixes

Postby loftar » Sat Nov 13, 2010 3:33 pm

Granger wrote:Then why not have a bigger texture with an endless pattern (eg. 8 tiles in both directions) to lift the limitation that individual tiles borders have to be seamless?
The part where the client cuts out the part it needs to display shouldn't be that hard to code.

It seems less than trivial to combine that with tile variations and transitions, on the other hand.
"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: Game Development: Some fixes

Postby Thurrok » Sun Nov 14, 2010 10:32 am

How'd you do it with stone pavement? They look wayyy less blockier than bricks.
Menschen sind Scheiße. Überall.

HAIL CATFACE!
User avatar
Thurrok
 
Posts: 569
Joined: Thu Feb 04, 2010 5:01 pm

Re: Game Development: Some fixes

Postby Granger » Sun Nov 14, 2010 1:48 pm

loftar wrote:
Granger wrote:Then why not have a bigger texture with an endless pattern (eg. 8 tiles in both directions) to lift the limitation that individual tiles borders have to be seamless?
The part where the client cuts out the part it needs to display shouldn't be that hard to code.

It seems less than trivial to combine that with tile variations and transitions, on the other hand.

Tile variations: have several of the big textures which are identical at the edges so you can stitch them (basically the same as with the 11x11 tiles) to build an endless texture from (or start with one really big endless texture). Then use the classic tiles to stitch together stencil masks for the transitions (since the pavement dosn't change that often apart from when it's actually being laid this should cache nicely).

You're using a 3d rendering engine anyway, so why not use the options it provides?

Blender tutorial here
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Game Development: Some fixes

Postby loftar » Sun Nov 14, 2010 4:05 pm

Well, sure, of course it could be done. :)

I'm not sure I'm so idle as to want to rewrite the whole map rendering code just for better-looking bricks though, I must admit. I will, at least, take the liberty to save that exercise for a rainier day. :)
"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: Game Development: Some fixes

Postby Potjeh » Sun Nov 14, 2010 4:08 pm

I don't understand why is the tile size a problem for making a better pattern. Do all the bricks and gaps between them really have to be the same size?
Image Bottleneck
User avatar
Potjeh
 
Posts: 11811
Joined: Fri May 29, 2009 4:03 pm

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: Claude [Bot] and 2 guests