edubart / otclient

An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
646 stars 398 forks source link

Client perspective #605

Closed CA10C3SAR closed 9 years ago

CA10C3SAR commented 9 years ago

Does anyone knows if theres a way to compile the otclient using another perspective instead 45º ?

TheAifam5 commented 9 years ago

This is possible? Tibia have this feathure? I think "no".. XD

TheSumm commented 9 years ago

All sprites are made considering that perspective, if you are not thinking about a simple transformation like mirroring the view you have to put work into it or even create new sprites.

CA10C3SAR commented 9 years ago

I have my own sprites but they have different perspective, then i just asking if its possible trought source editing change the client perspective.....

OTMackan commented 9 years ago

All items you see in the client are sprites made as images, to edit them you must use a dat and spr editor. You can't alter the images by altering the way they're read to the game. Would require new pixels to appear and old ones to disappear. To change perspective you will have to remake every single item that has a perspective. So no, you can't change perspective through source edits of the client.

CA10C3SAR commented 9 years ago

Bro im spritter i know how things 'works' in dat and spr editor, if i'm asking about a way to change the perspective is because i dont care about tibia perspective, let alone tibia sprites. Its too hard just say if is possible or no trought source, edit the main perspective? (yes yes i know all sprites will be useless, again, i dont care)

diath commented 9 years ago

What exactly are you trying to change? It just draws 2D textures, nothing else. So the "perspective" is dependant on the sprites you make, that's it.

CA10C3SAR commented 9 years ago

Its not just edit sprites in sprite editor lol. If you try use a sprite in another perspective instead 45º it overlaps new ones. I'm trying here do my own game, from 0, using the otcliente, and custom sprites, as im a pixel artist.

hrsantiago commented 9 years ago

I guess you want to change the draw order, so they wont overlap each other in a weird way. Yes, this is possible.

CA10C3SAR commented 9 years ago

I dont see how. http://4.ii.gl/DNmUwpD_w.png http://4.ii.gl/48rrGLG-o.png http://4.ii.gl/xkzzPvAFJ.png

If you are talking about the way we crop the image in the spr editor i already tried all ways. None of then works perfect.

People here seem to love the tibia perspective or doesnt know what are talking about or doesnt know how could be nice develop games using the otclient and opentibia engine in new games.

I already have my own sprites, a lot of stuff done, would like try that using the otclient, but with this perspective what we can do are so limited.

P.S: Sorry my bad english :)

hrsantiago commented 9 years ago

Guess this can't be fixed only changing the draw order. If I were you, I wouldn't allow creatures to go there. Make this 'wall' or whatever that is not walkable.

CA10C3SAR commented 9 years ago

Then everything on my server would be not walkable lol, and how you suppose thats a wall and not a ground bridge? ;)

And about draw order, did you see in the pictures i upload, i showed there, i already tried change all possible orders.

And yes, this could be fixed changing the game perspective.

hrsantiago commented 9 years ago

A bridge ground would be on a floor above and this issue would not happen. Also this doesnt happen with usual tibia's grounds. But you're right, considering what you said and what you shown, i've absolutely no idea what you are doing. The context of your screenshots is terrible.

CA10C3SAR commented 9 years ago

How i could change the floor offset?