• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

C++ Animated client background help

GhostX

Mapping Board Moderator
Staff member
Board Moderator
Joined
Nov 2, 2011
Messages
6,051
Reaction score
1,816
Location
UK
Twitch
ghostxpr0
Hello, as you may know, i have been and still am developing a unique open tibia project that has been in steady progress for about 10/11 months now.


Now my request isn't so much a "gimmie script plx" nor a "make me this script please" type request. I am requesting instructions and/or help in how I can make it.





This lies pretty much solely within c++ i guess. So those experienced in this please attempt to help me, i will be extremely greatful.

What i'm intending to accomplish is to create an
animated client background.



I am going to render and create a client background that is a waterfall in a cove in which the movement is there within the water, nature. There will also be title music within the client but only for the title, not ingame.



What i need to learn to code, is how to allow an animated pic (if possible with sound embedded into the animation) as the client background. (i guess i would also need to learn how i can add a button or similar that is called "Stop animation" (which will both stop the animation and the music).



Basically, i want to reconfigure the client.

DO NOT SAY "why do this, it is too much effort etc". I do not care, i want this for my server to provide some originality to an ots. I don't care what it takes, or how long, i want to know how.

If anyone would be so kind to help/direct me in the right direction i would be greatful and really appreciate the time and effort you have given me.



Thank you and regards,
Ghostx

 
no that's why i want to do it. It is possible, logic would tell you, yes i understand it will be hard etc, but i want to know how don't care about what's needed.
 
My only idea is change memory to new frame, redraw bg and do it in loop. Probably it is possible somehow.
Sound is not hard, you probably can just use tibiando
 
OtClient is best choice for this, makes it possible to be done in Lua, see Shaders - as it still in development stage, you probably will experience some bugs, my advice is to report them & edubart will take care of them, see also: How to ask for help and get answers from developers and How to report bugs. Anything else just ask. I suggested using OtClient because editing Cipsoft's client is just a terribad idea (I mean, why use Cipsoft's client when we have an open source client?!).

EDIT: to be more clear, learning GLSL is best for doing this, you can learn it here - approved by Kornholijo, ignore the rest, just read the vertex & fragment parts, or read the whole page if you really want to see how they work, it explains it real good, I recommend it myself too because I learned from there.
 
Last edited:
Back
Top