|
Post by Rod on Apr 13, 2020 9:01:22 GMT
This is what I have been doing during lockdown. I have long wanted a sprite editor with a couple of features. First of rotation and some easy drawing aids. It is still developing but here is what I have now SpriteCreator download. You can grab a look at the help file here.
|
|
|
Post by cundo on Apr 13, 2020 16:20:00 GMT
Wow this is so great!!
|
|
|
Post by Rod on Apr 15, 2020 19:35:48 GMT
I got rubber banding to work on line box and ellipse. I also added boxfill and ellipsefill accessed by second clicking on the box or ellipse icon. Now I am going to change the graphic import. I will try rubber banding and then offering bmp import or line import sized to transform the image to sprite size. I am thinking I will find edges of color changes to import outline shapes that can be filled.
|
|
|
Post by cundo on Apr 15, 2020 20:46:13 GMT
I'm playing with it Rod. So far so good, how many Undos does it do?
|
|
|
Post by Rod on Apr 16, 2020 6:43:41 GMT
Just one undo for now but multiple undos is on the list.
|
|
|
Post by Rod on Apr 18, 2020 13:17:32 GMT
Well next version. It now has box fill and ellipse fill. it shows more info on xy position, width, height and color choice. The graphic import now works (sort of) and will resize cropped graphics down to sprite size. It can be a bit slow at some tasks. I am deliberately avoiding all things API. So it will work in Just BASIC. All of the drawing routines could be improved I am sure. So if anyone wanted to tweak anything feel free. SpriteCreator
|
|
|
Post by Rod on Apr 19, 2020 12:54:18 GMT
A veritable shoal of nemo (blue) look alikes. NemoShoal
|
|
|
Post by Rod on May 1, 2020 11:02:36 GMT
A few more bugs squashed. More info on display, more rubber banding. Rotation always did just rotate the circle within the square window. Now it makes that more obvious by clearing pixels that move off screen. If you ensure your drawing is centred and within an imaginary circle that touches all four sides of the square window you will find it rotates well. You will still have to tidy a pixel or two after the rotation. There is also a new blended or shaded fill that runs in the direction of the angle input. I also added a rudimentary .htm help file. I have amended the first post image of the tool and the link but here it is.
|
|
|
Post by Rod on May 16, 2020 12:52:18 GMT
I have added multiple frames and copy paste to the drawing window. A bit rudimentary but it works. I have also added a grid tool to allow import of sprite sheets. Getting more and more usefull. You can grab a look at the help file here. The links in the first post have been updated, so too the screen shot.
|
|
|
Post by Rod on May 22, 2020 17:28:43 GMT
With the help of tsh73 we now have a perspective transform. I also improved the grid cell highlighting for the selected cell. Link at top of thread has been updated. Still to do the online help file but a new version downloads with the main link.
|
|
|
Post by Rod on Jun 2, 2020 10:31:03 GMT
This is a small demo of sprites made with Sprite Creator. Bit of a screen saver really, but you will see the potential of the animations a few small sprites can make. gamebin.webs.com/Liberty/demo.zip
|
|
|
Post by tsh73 on Jun 2, 2020 21:57:31 GMT
Demo looks incredible. But under XP, it keeps eating memory and dies then taking a bit more then 70 mb.
|
|
|
Post by Rod on Jun 3, 2020 7:51:23 GMT
@anatoly That is interesting. On my system it is only using 7Mb or so. But what is happening is the timer ticks are going to fast and on your system the drawing is stacking up. If you put the timer value to something larger or just take out the timer and loop back. Taking out the timer and looping back would get the fastest drawing your system is capable of. Remember to put a scan in the loop!
|
|
|
Post by tsh73 on Jun 3, 2020 9:51:14 GMT
Thanks, turning timer off while in a drawing phase and returning it back before last Wait fixed the thing.
|
|
|
Post by Rod on Jun 3, 2020 14:43:25 GMT
We probably need a technique to measure the users system and set the timing accordingly.
|
|