Jump to content

Frames script


brad

Recommended Posts

hola amigos quisiera saber como hacer un script que pasa o lee varias imaganes pasando cada una ,como crear 30 frames y juntarlas para aser una imagen gif ,ya que lo vi en resident evil BOSS gracais soy nuevo en eesto del lua y quisiera aprender si alguieen me dice como jeje gracias xD

Link to comment

Hi i translate JR10 For you :$

hi friends want to know how to make a script that reads several imaganes pass or passing each, and create 30 frames and put them together a gif image for the grove, and I saw him in Resident Evil gracais BOSS EEST am new to lua and I wanted to learn from someone tells me how lol thanks xD

Link to comment

hello friends I sable How to unscripted happens or read several imaganes Passing Each AS CREATE paragraph 30 frames and put them together Asher a GIF image, and I saw him in Resident Evil Boss gracais EEST am new to lua and I learn of someone as given me hehe thanks xD

Sory for writen in spanish xD

Link to comment

Put all the frames, add them in the meta.

And onClientRender:

local index = 1 
addEventHandler("onClientRender" , root , 
function ( ) 
dxDrawImage ( --argmuments , "imageName"..index..".png" ) 
index = index + 1 
if index >= MaxFrame then 
index = 1 
end 
end ) 

Of course you will edit it, for the name of your images, and the max frame.

Link to comment

example I:

local index = 1

AddEventHandler ("onClientRender" root

function ()

dxDrawImage (- argmuments "ImageName" .. name .. "png").

index = index + 1

if index> = MAXFRAME then

Index = 1

final

final)

and in meta.xml

I'm right, please corrigame, if I'm wrong lead by example, thank you very much

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...