How do I add custom graphics to CEs?
Posted: Tue Sep 04, 2018 2:25 am
There must be some documentation to this that I can't find. All I know is that it involves some .pcx extension.
Talk and discussions around the game "Rocks'n'Diamonds".
https://www.artsoft.org/forum/
Code: Select all
custom_1: [name of image file you need]
custom_1.xpos: [X-position of the needed frame counting from 0]
custom_1.ypos: [Y-position of the needed frame counting from 0]
custom_1.frames: [the frames count for animation]
custom_1.delay: [delay between frames (1=0.02 second=20 milliseconds, not neccessary if frames count is '1')]
custom_1.anim_mode: [animation mode: none, loop, pingpong, pingpong2, linear, random, reverse (can be combined with other anim modes), and some other "special" ones, not neccessary if you just want it to be normally looping]
Code: Select all
custom_1.left:player.png
custom_1.left.xpos:4
custom_1.left.ypos:0
custom_1.left.frames:1
custom_1.right:player.png
custom_1.right.xpos:1
custom_1.right.ypos:1
custom_1.right.frames:1
custom_1.down:player.png
custom_1.down.xpos:1
custom_1.down.ypos:0
custom_1.down.frames:1
custom_1.up:player.png
custom_1.up.xpos:4
custom_1.up.ypos:1
custom_1.up.frames:1
custom_1.moving.left:player.png
custom_1.moving.left.xpos:3
custom_1.moving.left.ypos:0
custom_1.moving.left.frames:3
custom_1.moving.left.delay:4
custom_1.moving.left.anim_mode:pingpong
custom_1.moving.right:player.png
custom_1.moving.right.xpos:0
custom_1.moving.right.ypos:1
custom_1.moving.right.frames:3
custom_1.moving.right.delay:4
custom_1.moving.right.anim_mode:pingpong,reverse
custom_1.moving.down:player.png
custom_1.moving.down.xpos:0
custom_1.moving.down.ypos:0
custom_1.moving.down.frames:3
custom_1.moving.down.delay:4
custom_1.moving.down.anim_mode:pingpong
custom_1.moving.up:player.png
custom_1.moving.up.xpos:3
custom_1.moving.up.ypos:1
custom_1.moving.up.frames:3
custom_1.moving.up.delay:4
custom_1.moving.up.anim_mode:pingpong,reverse