![Cool 8)](./images/smilies/icon_cool.gif)
Light is my strength
Code: Select all
setRenderer("EDT_DIRECTX9")
x=600
y=40
initGraphics3d(x+y,x+y-40-100-20,16,3)
appWindow("Mega Game")
setIcon("acad.ico")
hidePointer()
pi=3.14
image1 = loadImage("images/brick11.jpg")
image2 = loadImage("images/AUTORUN.bmp")
image3 = loadImage("images/brick11.jpg")
mesh1 = loadMesh("models/sink1.X")
cam = createCamera()
setFOV(cam, pi/2.5)
x=0
textOut("0123456789", 200,200)
while run() do
begin3d()
x=x+0.1
setRotation(mesh1,x,x,x)
setScale(mesh1,100,x,x)
x1 = getEntityX(mesh1)
y1 = getEntityY(mesh1)
z1 = getEntityZ(mesh1)
setTarget(cam, x1,y1,z1)
render()
drawTrans(image2,300,000)
drawTrans(image1,0,0)
render2d()
end3d()
end
Yes, that's what we need. I tried diff ways to secure my files, but they always fail cause Irrlicht can't read encrypred files.marco_tmp wrote:Nobody is thinking about an encryptation system to protect the autor's work. If you made a game and want to distribute your project, every one may open your zip file and steal all your work.
Is necessary to include a VFS (Virtual File System) with encryptation to protect our work.