Posted: Tue Jan 02, 2018 8:45 am Post subject: How Make Text In Label Has Animation Move right and left
[HELP] How I Make That Text on Label Can Move in Her CEPanel ?
I Got New Trainer Has A Label Moving around CEPanel like Using timer or animations .idk pls help
A label is just a subclass of Control which has these properties/methods (from celua.txt in the install directory)
Code:
Control Class: (Inheritance: Component->Object)
properties:
Caption: string - The text of a control
Top : integer - The x position
Left : integer - The y position
Width : integer - The width of the control
Height : integer - The height of the control
ClientWidth: integer - The usable width inside the control (minus the borders)
ClientHeight: integer - The usable height the control (minus the borders)
Align: AlignmentOption - Alignment of the control
...
methods:
getLeft()
setLeft(integer)
getTop()
setTop(integer)
getWidth()
setWidth(integer)
getHeight()
setHeight()
setCaption(caption) : sets the text on a control. All the GUI objects fall in this category
getCaption() : Returns the text of the control
setPosition(x,y): sets the x and y position of the object base don the top left position (relative to the client array of the owner object)
getPosition(): returns the x and y position of the object (relative to the client array of the owner object)
setSize(width,height) : Sets the width and height of the control
getSize() : Gets the size of the control
setAlign(alignmentoption): sets the alignment of the control
getAlign(alignmentoption): gets the alignment of the control
...
screenToClient(): Converts screen x,y coordinates to x,y coordinates on the control
clientToScreen(): Converts control x,y coordinates to screen coordinates
Most specifically the top and left properties (though I think it has the x, y parts mislabeled lol) and the setPosition method.
So, change the position to uh, change where it's at, aka make it move. Beyond that it's basic programming logic. You can learn the basics of that in JS here, they're both scripting languages with mostly C-like syntax so what you learn for JS will apply fairly well to Lua.
But i waannaq give you some trainer FreeER Itsw named MildzTopia See the up is have text move
and i will try ur script
Search in Youtube :Mildztopia 2.73
And download or see the video have trainer text move
if u wanna download them trainer download in descw
function moving_Text()
l1.Visible = true
index1 = 0
spaces1 = 20
step1 = 1
values1 = {}
for i=0,spaces1 do
local text1 = "Cheat Engine"
for j=0,i do
text1 = " " .. text1
end
values1[i] = text1
end
timer1=createTimer(nil, false)
timer1.Interval=100
timer1.OnTimer=function(timer1)
if index1 >= spaces1 then
step1 = -1
elseif index1 <= 0 then
step1 = 1
end
index1 = index1 + step1
l1.Caption = (values1[index1])
local color1 = 0
for i=0,3 do
color1 = color1 * 10 + math.random(255)
end
l1.Font.Color = color1
end
timer1.Enabled=true
end
function exit()
timer1.Destroy()
closeCE();
return caFree
end
f.show()
moving_Text()
f.onClose = exit
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum