Posted: Sun Jan 24, 2021 7:20 pm Post subject: CE main form background effect
If the fun is still going on; You can add a background effect to CE or Trainer.
Here below is a simple code, a video and a ready-made effect for the "Autorun" folder.
Here's the gif code to get started;
Note: Divide the gif image by parts and name it as a continuation of the same name.
Sample; frame_1, frame_2, frame _...
function effect1() -- or Trainer function name: effect1(img1)
imgindx1=imgindx1 + 1
if imgindx1==17 then imgindx1=1 end --How many parts the gif picture is divided into, add +1. The example has 16 pieces of pictures.
--Link this function to a timer.
myTrainer.CETimer1.OnTimer = effect1
-- or Trainer;
--myTrainer.CETimer1.OnTimer = effect1(myTrainer.CEImage1)
A ready-made function; Just extract it from the Rar folder and put the two files in the CE Autorun folder.
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