pennomi: I have begin to add the resize canvas function :)
devnewton: nice work, there is still a bug with still frame (because they are just False and you need to take the previous real frame):
def save_nanim(self, url): nanim = nanim_pb2.Nanim() animation = nanim.animations.add() animation.name = "default" i = 0 for im in self.centralWidget.framesWidget.get_all_canvas(True): if not im: im = exim exim = im nimage = nanim.images.add() nimage.width = im.width() nimage.height = im.height() nimage.format = nanim_pb2.RGBA_8888 nimage.name = "img_%d" % i i = i + 1 pixels = bytearray() for y in xrange(im.height()): for x in xrange(im.width()): colors = QtGui.QColor(im.pixel(x,y)) pixels.append(colors.red()) pixels.append(colors.green()) pixels.append(colors.blue()) pixels.append(colors.alpha()) nimage.pixels = str(pixels)
I have a list of basic feature that i want to implement but i'd like to hear what your spriter want :
# add more control on palette # add pipette # add fill # add a tool to make lines (iso...) # add resize canvas # add move frame content # add icones with update on mouserelese # add copy paste move frame # add onionskin # add layers # add choice between a gif or png transparency mode # add a cursor layer (pixel who will be paint) grid # add animated gif export
About a video I intend to make it later but you should be right, I rarely install some obscur alpha program found on the internet :)
Thanks, this is the reason I start this project
Hello
I finally merge all my recent modification:
https://github.com/pops/pixeditor
they grey rectangles represent the frame duration and you can stretch them with the little white square.
Somes news:
I have changed the file format for some xml thing (you can still open old files)
and I have begin to work on a new timeline with layers and copy/paste
Thanks, here are some news
I have added :
https://github.com/pops/pixeditor
pennomi: I have begin to add the resize canvas function :)
devnewton: nice work, there is still a bug with still frame (because they are just False and you need to take the previous real frame):
def save_nanim(self, url):
nanim = nanim_pb2.Nanim()
animation = nanim.animations.add()
animation.name = "default"
i = 0
for im in self.centralWidget.framesWidget.get_all_canvas(True):
if not im:
im = exim
exim = im
nimage = nanim.images.add()
nimage.width = im.width()
nimage.height = im.height()
nimage.format = nanim_pb2.RGBA_8888
nimage.name = "img_%d" % i
i = i + 1
pixels = bytearray()
for y in xrange(im.height()):
for x in xrange(im.width()):
colors = QtGui.QColor(im.pixel(x,y))
pixels.append(colors.red())
pixels.append(colors.green())
pixels.append(colors.blue())
pixels.append(colors.alpha())
nimage.pixels = str(pixels)
frame = animation.frames.add()
frame.imageName = nimage.name
frame.duration = 100
frame.u1 = 0
frame.v1 = 0
frame.u2 = 1
frame.v2 = 1
f = open(url, "wb")
f.write(nanim.SerializeToString())
f.close()
I will add it as a plugin I think because of the protobuff dependance
Oh and a screenshot of the new interface...
Hello ceninan, thank for your feedback.
I have a list of basic feature that i want to implement but i'd like to hear what your spriter want :
# add more control on palette
# add pipette
# add fill
# add a tool to make lines (iso...)
# add resize canvas
# add move frame content
# add icones with update on mouserelese
# add copy paste move frame
# add onionskin
# add layers
# add choice between a gif or png transparency mode
# add a cursor layer (pixel who will be paint) grid
# add animated gif export
About a video I intend to make it later but you should be right, I rarely install some obscur alpha program found on the internet :)
I tried it on windows and it work fine, to install:
First install python 2.7; for 32 bit : www.python.org/ftp/python/2.7.3/python-2.7.3.msi
or for 64 bit : www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msi
Then install pyqt, 32 bit : http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.9.6/PyQt-Py2.7-x...
or 64 bit : http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.9.6/PyQt-Py2.7-x...
then download the program : https://github.com/pops/pixeditor/archive/master.zip
and run pixeditor.py
On Linux just search Pyqt on the package manager, and install the version for python 2.7
then download the program : https://github.com/pops/pixeditor/archive/master.zip
make pixeditor.py executable and run it.
On macos, I didnt test, but it should work by installing python 2.7 an pyqt (the version for python 2.7) and run pixeditor.py
hop http://opengameart.org/content/camping
thanks, this game was really wonderfull.
http://www.anotherworld.fr/jeux_videos/christian_robert.htm
Pages