Resources and Support
 Pixel Joint Forum : The Lounge : Resources and Support
Message Icon Topic: Pixel.tools editor Pixel with others! <Try it now> Post Reply Post New Topic
<< Prev Page  of 3 Next >>
Author Message
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 24 July 2014 at 9:57am
BlueMagma, I tried the node-webkit out. I'm not sure what advantage it offers. Everything already can be used in firefox offline, along with pressure sensitivity if you have a wacom.
Using node-webkit doesn't help enable the wacom web plugin, but all the other features that work in firefox works, but I think those can be enabled without node-webkit in chrome anyways(minus the plugin).
I've thought about githubing the project. It would probably be nice to get help from others who have better programming ability than me. I've never used it before, so it's something unfamiliar to me. Looks cool though.
IP IP Logged
Daruda
Commander
Commander
Avatar

Joined: 03 February 2015
Online Status: Offline
Posts: 103
Quote Daruda Replybullet Posted: 24 July 2014 at 3:04pm
Something like storing a color and be able to make global changes to that color.
I would really like something to Import/export palette, and have them ready. I know that a lot of artist use universal palette.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 24 July 2014 at 4:15pm
Currently you can use the floodfill tool to change a color across the span of the image to a new color. So that's one way to do that. It won't change them if they're on a different layer, but I could implement an option for that.

The Colordex allows you to manage your palette. You can create your palette, export and import them, share them, etc.
IP IP Logged
Daruda
Commander
Commander
Avatar

Joined: 03 February 2015
Online Status: Offline
Posts: 103
Quote Daruda Replybullet Posted: 24 July 2014 at 5:05pm
Then, I don't think that there are other things that I may need. Seems awesome.
IP IP Logged
Sendoushi
Seaman
Seaman


Joined: 14 June 2014
Online Status: Offline
Posts: 2
Quote Sendoushi Replybullet Posted: 25 July 2014 at 1:55am
node-webkit and atom-shell lets you make a web application (html + css + js) a standalone cross platform app. For most people it's easier to develop in those technologies and it's faster to develop also. I would always prefer a standalone app than one in the browser even if the technology is exactly the same.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 27 July 2014 at 9:23pm
okay.. I'm taking the leap and letting anyone try my editor now.
http://pixel.tools/
save often. I'm not sure what bugs will surface, so let me know if anything strange happens. I'm interested in your feedback. If there are any questions about anything I can help explain things- I haven't completely documented everything yet.

There's still various things that need to be implemented.
If you don't see something you'd like implemented, let me know, or general feedback, will be useful going forward. I'm at that point where I need it get other hands on it.



Edited by AlexHW - 27 July 2014 at 9:26pm
IP IP Logged
Damian
Commander
Commander
Avatar

Joined: 24 February 2023
Location: United Kingdom
Online Status: Offline
Posts: 455
Quote Damian Replybullet Posted: 30 July 2014 at 2:25pm
I'm going to try this out. I'll relay my thoughts on the program and maybe show my results tomorrow.

After you make a selection how do move it around?

Edited by Damian - 30 July 2014 at 2:40pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 30 July 2014 at 3:46pm
Looking forward to it!
To clip a selection, you can hold Ctrl and click and drag, after you've dragged it you can stop holding ctrl (holding ctrl will snap it to the grid when you move it)..
Or you can hold Ctrl and Alt and click and drag to clone the selected portion instead of clipping it completely.
I should probably add this to the documentation.
Ctrl D deselects, or clicking outside the selection
delete key will delete the clipped selection, or clear the selected canvas if nothing has been clipped.

edit: okay added to the documentation- you can find it explained under the features tab at the bottom of the page. Also the hotkeys tab has info on what keys you can press..



Edited by AlexHW - 30 July 2014 at 4:02pm
IP IP Logged
rrrod
Seaman
Seaman
Avatar

Joined: 12 October 2014
Online Status: Offline
Posts: 14
Quote rrrod Replybullet Posted: 31 July 2014 at 2:01am
Alex, which tablets are compatible with your plugin? I'm trying to get my Intuos5 to work, but I just can't get the brush to work. It's like nothing's happened.

(Tried with both Chrome and Firefox, same results)
IP IP Logged
yrizoud
Commander
Commander
Avatar

Joined: 03 May 2021
Location: France
Online Status: Offline
Posts: 343
Quote yrizoud Replybullet Posted: 31 July 2014 at 10:48am
rrrod, you can check if you have the wacom plugin installed and working :
http://www.wacomeng.com/web/TestFBPluginTable.html

IP IP Logged
rrrod
Seaman
Seaman
Avatar

Joined: 12 October 2014
Online Status: Offline
Posts: 14
Quote rrrod Replybullet Posted: 31 July 2014 at 12:13pm
Thanks for the tip yrizoud, but the plugin's working properly on that link you posted. Also, I just found out that the eraser tool's pressure sensitivity is working, so I'm probably being too noobish at using the brush tool properly. I'll mess around with it a bit more. Thanks!
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 31 July 2014 at 12:39pm
The brush tool requires first setting up your color ramps in the colordex. Have you done this?.. Then you should make sure to click the icon to the right of the size slider to toggle pressure sensitivity on.
I'll start working on a quick video.. seems like it'll help explain things better.


Edited by AlexHW - 31 July 2014 at 12:40pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 31 July 2014 at 2:24pm
here's a quick run-through of some features.. not sure why the quality is bad, but I think it serves its purpose. I'll make a better one once my jaw heals and I can add audio to explain stuff verbally, it's difficult for me to talk at the moment.
http://youtu.be/0io_Dl8yKmM
edit: oh I guess quality is okay.. higher quality ones uploaded after lower quality one.


Edited by AlexHW - 31 July 2014 at 2:34pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 31 July 2014 at 5:49pm
realized there is a major bug with the colordex when you try to make complicated combinations of colors, it inserts unecessary black colors..
I'm sorting it out at the moment.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 01 August 2014 at 9:43am
Just fixed a major bug with the Colordex!
I had noticed that creating complicated combinations of color ramps caused unexpected black colors to be drawn.. Part of the reason was related to how the canvas data was being managed when it processes the colors. I also realized from this that the control over the magic eraser tool wasn't selecting the correct colors in certain circumstances, so I sorted that out.
Now color mixing works super great and everything adjusts in a predictable manner!
I also felt like saving the previous version in-case people playback any old files, they should still playback accurately to how they were made (this is something I need to manage as I change core functionality to ensure old files remain true to their creation)..
IP IP Logged
nivek
Seaman
Seaman
Avatar

Joined: 24 August 2020
Online Status: Offline
Posts: 38
Quote nivek Replybullet Posted: 01 August 2014 at 5:29pm
I think this is an awesome idea! The ability to pixel with others online is great.

Feed back:
- I've tested it and it just works .

- Maybe you could work on a right mouse button option if possible?

Edited by nivek - 01 August 2014 at 5:32pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 01 August 2014 at 7:20pm
Thanks for the feedback nivek, good to know everything is working.
What would you see the right mouse button being used for? I think most programs use it for an alternate color.
IP IP Logged
nivek
Seaman
Seaman
Avatar

Joined: 24 August 2020
Online Status: Offline
Posts: 38
Quote nivek Replybullet Posted: 01 August 2014 at 8:20pm
I would use it for a second color or eraser..
But my favorite use would be in graphics gale as a color picker.

It would also be great if you could use the mouse scroll to zoom in and out.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 01 August 2014 at 8:48pm
Okay, those are good ideas.
I want to be sure I'm not implementing things that have a similar method already implemented.
For example, if you hold down Alt key when you left click it'll act like a color picker. So it might be redundant to make right clicking act like a color picker as well. I guess it could be nice if you don't want to use the keyboard.
Hm.. Maybe I can allow the user to define what the right click is used for.. Or maybe there is some other function that suits it most? One idea I have is right clicking could open a mini-menu type thing with previous actions or popular actions you make, that you can select.
For the mouse scroll, that sounds doable.. again, Ctrl and - or = keys will zoom, so it might be redundant.. I suppose I can implement these things and if I come up with something better, I can adjust things later and give people the option to choose.
IP IP Logged
Adcrusher
Commander
Commander
Avatar

Joined: 04 January 2016
Online Status: Offline
Posts: 148
Quote Adcrusher Replybullet Posted: 01 August 2014 at 9:50pm
Awesome idea man!

I was messing around in it with two of my friends and it worked pretty well. It was fun being able to see what each other was doing and work on different sections of the pieces. Here's some of the work we made.


Here's a second one we made.


I would submit them to the gallery and easily win monthly top, but collaborations aren't allowed!!!Darn it!

No but seriously, the program worked great and seemed to have most of the features needed. Great work so far.

Some critique I would give is that the crossair gets in the way a little bit when you are pixelling on a small scale, not too big of a deal.

I couldn't figure out how to select something and drag it, I have this problem in photoshop too. In graphics gale if you right click and drag with the pencil it creates a selection box that you can grab and move or rotate or rescale. This one might just be me being dumb.

At one point we wanted to make the canvas size larger, so I went into the increase canvas thing and changed the values. I messed up though and forgot to add a 0 and it made the canvas super small, deleting almost the whole image. I couldn't undo it, or go to the history to restore a previous version. The history box just had "New" on it. Luckily we had saved a version just a few minutes earlier, but this would really suck if you were actually working on something important.

Thats about all the critique, but I do have a question. Do you have to invite someone to come work with you or can someone just randomly join your drawing? It would be kind of cool just to be able to randomly watch someone draw, and maybe they can give you permission to draw on it too or something.

Again, great job and lots of fun.

IP IP Logged
torridgristle
Seaman
Seaman


Joined: 13 February 2018
Online Status: Offline
Posts: 3
Quote torridgristle Replybullet Posted: 01 August 2014 at 9:53pm
When I try to set a point on the Colordex using a custom image, Waterfox locks up.

Error: Script terminated by timeout at:
groupdata/this.checkWaitinglist@http://pixel.tools/palettecanvas.js:429:1
groupdata/this.init@http://pixel.tools/palettecanvas.js:384:1
groupdata@http://pixel.tools/palettecanvas.js:479:2
getColorGroup@http://pixel.tools/palettecanvas.js:239:3
palettecanvas_events/pcanvas.onclick@http://pixel.tools/palettecanvas.js:187:4

Here is one of the images I tried to use. https://www.dropbox.com/s/qs7072vsb64x5f9/some-doom.png
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 01 August 2014 at 11:03pm
Adcrusher, thanks for the lengthy feedback, and images. Those are the first images made from the editor Ive seen from anyone besides myself.
Yes, that canvas resizing and image resizing can be frustrating, I'm going to attempt to find a solution to that. I could probably create a preview mode of the resize and require everyone connected to approve the preview before it is applied. That might at least prevent any mistakes.
There is a way to retrieve the previous state, but it requires saving the file, then playing it back until the point before the resize, and then creating a new file from the playback(which will allow you to continue from the point you stopped at in the playback).. That would be done by one person, and then everyone can reconnect to each other and continue working on it. Kind of a hassle, but it's at least a work around for now.
I'll try to come up with something to help prevent mistakes.

To move a portion of the image, you have to hold Ctrl and clickdrag the selection to clip it out(a little scissors icon should show when you hold ctrl with the selection tool.
I should add an option in the selection menu to clip a selection so you don't have to hold ctrl, that might help clear some confusion.

In regards to your question, the only way for someone to join you is to invite them. I thought about doing it as you describe, but there are some technical challenges to it that I'm not ready to tackle at this time.


Torridgristle.. part of the way the Colordex works is that it procedurally cycles through every unique color touching each other(colors that aren't separated by transparency). It's not meant to be used on an image like the one you tried because it would make way too many cycles trying to connect every single color to every other color..
I will do some tests with it and figure out if there should be a cutoff point for complexity so that timeouts don't occur, but if you use the Colordex appropriately you shouldn't have an issue.
Perhaps you can give a suggestion as to how I might better convey the appropriate way of using the Colordex?


Thanks again for the feedback, as it brings up various issues I need to address. I'll start working on implementing ways to solve these problems.
If anything else comes up, let me know! I could be overlooking things since I'm familiar with how to use everything.
IP IP Logged
Damian
Commander
Commander
Avatar

Joined: 24 February 2023
Location: United Kingdom
Online Status: Offline
Posts: 455
Quote Damian Replybullet Posted: 02 August 2014 at 2:09pm
I tried this the other day but struggled with some of the simplest functionality because I didn't understand how the program worked and didn't know all of its hotkeys. But going to try it again.

One thing that bothers me is that the grid automatically snaps, I'd like to be able to turn that off and just use the grid as a reference point when making making tiles for games. The grid also makes moving images around very awkward.

Edit:
Just noticed a bug. I'm working in a 32x32 tile and decided to start over again. So I used the paint bucket tool to fill in the 32x32 tile I was working on, making the tile completely grey. I had contiguous selected so as to only fill in the areas within the 32x32 tile, but towards the end I noticed a single pixel hadn't been filled in, so I tried filling it in, the pixel disappeared but another one appeared at another location. Filling this pixel resulted in the last one showing up again and it continued jump between the two pixels if I used the paint bucket tool. The pencil sufficed in the end though.

Edited by Damian - 02 August 2014 at 2:24pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 02 August 2014 at 3:24pm
Damian, I noticed that bug as well yesterday when I was using the paint bucket, I'll try to figure out why it does that.
For the grid snapping, it shouldn't snap if you let go of Ctrl key. You're talking about when you move a selected portion of the image with a selection tool right?

On a side note, I've been working on implementing a way to undo cropping/imageresize/canvasresize.. Almost have it ready. It'll only be able to undo the previous resize, but at least it's better than not being able to undo at all.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 02 August 2014 at 4:29pm
Okay.. I've implemented extra options under the Edit menu for cutting/copying/pasting/clearing any selections with the selection tools for people that might be confused on how to select stuff.

Also, I've implemented one Undo for Crop, Image Resize, and Canvas Resize!!
So this will hopefully alleviate any frustrations.
Due to having to keep things in sync if connected to other users, it poses problems to allow more than one Undo for those operations.
Also, this Undo can be made by anyone connected(not just the person who did the operation)..
Cropping/Image resizing/canvas resizing will clear the History.. and if you make multiple operations, you can only undo the last one, so you still have to be careful with it.


EDIT: okay also solved that bucket fill issue with the pixel reappearing, etc.. Let me know if anything else is weird.



Edited by AlexHW - 02 August 2014 at 4:54pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 03 August 2014 at 8:03pm
Added a new option under Edit menu; "Insert Clipart"
The image file you select will be pasted into your project. This is useful if you want to copy something from another image into your project.
Also, I fixed an issue with the selection outlines not showing after the selection was rotated.
IP IP Logged
Drazelic
Midshipman
Midshipman
Avatar

Joined: 25 February 2021
Online Status: Offline
Posts: 42
Quote Drazelic Replybullet Posted: 04 August 2014 at 2:07pm
I don't suppose you could add an option to make the mousewheel a shortcut for magnification, the way Paint Tool SAI does it? I just can't go without that particular shortcut nowadays.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 04 August 2014 at 2:59pm
Okay, considering the mouse wheel shortcut for magnification has been suggested to me before, I'll make that the next thing for me to add.
I'm also planning to start working on a way to preview all the colors being used in your image.
IP IP Logged
Drazelic
Midshipman
Midshipman
Avatar

Joined: 25 February 2021
Online Status: Offline
Posts: 42
Quote Drazelic Replybullet Posted: 04 August 2014 at 3:34pm
Thanks! Here's what me and a friend came up with on your program today.



IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 04 August 2014 at 5:17pm
Woah! that's amazing. It's really cool seeing people's results with the editor.
I've added mousewheel scroll for zoom now.. Let me know if it isn't working how you'd expect it to.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 06 August 2014 at 10:56am
I've added a simple method to scan the project for used colors. Theres a new button next to colordex button. You can click the colors to eyedrop them.
Feedback is welcome.


Edited by AlexHW - 06 August 2014 at 10:57am
IP IP Logged
nivek
Seaman
Seaman
Avatar

Joined: 24 August 2020
Online Status: Offline
Posts: 38
Quote nivek Replybullet Posted: 07 August 2014 at 5:06am
Zooming in with the mouse wheel is useful, but I think the middle mouse button could be used to move the canvas, like the hand tool.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 07 August 2014 at 7:11pm
Originally posted by nivek

Zooming in with the mouse wheel is useful, but I think the middle mouse button could be used to move the canvas, like the hand tool.

Okay, sounds like a good idea, I've now implemented the middle mouse button for moving the canvas.

IP IP Logged
Dreamer18982
Seaman
Seaman


Joined: 07 August 2014
Online Status: Offline
Posts: 1
Quote Dreamer18982 Replybullet Posted: 07 August 2014 at 9:22pm
I felt compelled to join this site just so I could personally thank you for your amazing-- no, phenomenal~ pixel art program. :D

This is such a blessing-- I've looked and studied tutorials on this site and I'm glad you put in the effort to achieve effective-looking painting strokes! This is just another great resource for artists everywhere.

I've only played around with the program for about a few minutes and it's great. It is a bit of a learning curve but I'm starting to get excited about what I can create with this- thank you! <3

I do have a small suggestion but it's on aesthetics. In Photoshop I love to tweak the 'Transparency & Gamut' all the time when I'm working on my art. It's like this crazy obsession that I have. Because this program  heavily relies on tiny pixels, it may help to add an adjustment feature.

For example if your doing a scene at night, it might be hard to tell what's transparent and what's your pixels. Anyway... that's just small potatoes in all things considered. I'd be more then happy to post my art when I'm done with it.

Again-- Thank you!!
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 07 August 2014 at 11:19pm
Originally posted by Dreamer18982

I felt compelled to join this site just so I could personally thank you for your amazing-- no, phenomenal~ pixel art program. :D

This is such a blessing-- I've looked and studied tutorials on this site and I'm glad you put in the effort to achieve effective-looking painting strokes! This is just another great resource for artists everywhere.

I've only played around with the program for about a few minutes and it's great. It is a bit of a learning curve but I'm starting to get excited about what I can create with this- thank you! <3

I do have a small suggestion but it's on aesthetics. In Photoshop I love to tweak the 'Transparency & Gamut' all the time when I'm working on my art. It's like this crazy obsession that I have. Because this program  heavily relies on tiny pixels, it may help to add an adjustment feature.

For example if your doing a scene at night, it might be hard to tell what's transparent and what's your pixels. Anyway... that's just small potatoes in all things considered. I'd be more then happy to post my art when I'm done with it.

Again-- Thank you!!


It's great to hear that you're enjoying the editor! I'd love to see what you create with it. As for the transparency&gamut feature you describe, if I understand correctly, there is already a setting you can adjust to make the transparent checker pattern change color so that it is easier to see what is transparent. It's under the settings option in the edit menu. There will be a setting for background color, which you can adjust. Let me know if this isn't what you were describing.
Also, if you notice anything else that can be improved, or if you see any bugs, issues, etc, let me know- the editor is fairly new and needs more testing/use from people!
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 16 August 2014 at 5:35pm
So, there was an issue with users on linux platforms not being able to draw in the editor if they used the firefox or midori browsers.
Today I managed to find the bug causing this issue and fix it.
If you go to http://www.pixel.tools/ it should now work and you can draw on the canvas, etc..
the issue was:
ctx.setLineDash([0]);

has to be this instead:
ctx.setLineDash([]);

While fixing that, I found another bug with the colordex that was causing it to not work, so I fixed that. The colordex should now work as expected. In order to use it, you have to Hold ctrl and click to make the Circle on a color, and the Big square OFF of a color(in the transparent space), and drag the smaller square onto a color.. This will allow you to draw from transparent space.. If you already have color laid down and want to modify it without drawing into transparent space, make the big square on a color instead..
The confusion I have had in the past is thinking I need the big square ontop of a color and the little square off of the color.. Perhaps there is a more intuitive method, and if anyone has suggestions, feel free to share them!
ALSO.. if anyone does find other bugs, let me know! I haven't tested everything on linux.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 19 August 2014 at 3:34pm
Okay, I've implemented a a secondary color.
I also made X key a shortcut for that operation, and made colordex shortcut C key instead (it was using X previously).
Reason for this is because photoshop, and gimp use X for swapping colors, so I figured I should keep it stuff like this similar.
You can also click on the color box next to the color sliders to switch which color you paint with..
This allows you to set two Colordex ramps as well, and also switch between them.
Let me know if anything seems weird with this new stuff.
IP IP Logged
nivek
Seaman
Seaman
Avatar

Joined: 24 August 2020
Online Status: Offline
Posts: 38
Quote nivek Replybullet Posted: 20 August 2014 at 5:02am
Hey Alex, I've tested it and the color picker isn't working? The mouse wheel and new additions are working great though.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 20 August 2014 at 8:46am
Originally posted by nivek

Hey Alex, I've tested it and the color picker isn't working? The mouse wheel and new additions are working great though.

Thanks for catching that! It was due to the last thing I added- I was using 'And' in an if statement when I should have been using 'Or'.. The color picking should work now. You may need to refresh the page.


Edited by AlexHW - 20 August 2014 at 8:46am
IP IP Logged
Conexion
Seaman
Seaman
Avatar

Joined: 12 January 2009
Online Status: Offline
Posts: 17
Quote Conexion Replybullet Posted: 26 August 2014 at 6:59pm
Awesome tool, really enjoying it so far.

Is there currently any plans for previewing how a tile might repeat? Being able to see how a grass tile might lay out and if the 'seam' is noticeable would save a bit of time.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 26 August 2014 at 7:28pm
Yep, you can do this by using the secondary viewport.. Pressing the V key will show/hide the secondary viewport(you can also toggle it in the Windows menu). There is a dropdown list above the viewport that has a 'Tiles' option. Choose that one, and then use the Tile tool (T) to select the tile from the Primary viewport(the section you will be drawing on). Also make sure your grid is setup with the correct dimensions by going into the Settings (the icon in the top right, or under Edit menu).. After selecting a tile, you can draw it to the secondary viewport- there are different layers you can place it on as well in the case you want to preview how tiles look stacked over each other.
As you draw on the tile in the primary viewport, the tile will update in the secondary viewport, so you can place a bunch next to each other and see how it tiles while you create it.
you can also resize the dimensions of the map area under Edit menu > Map > Map size..
Hope that all makes sense! let me know if you have any trouble with that. Glad you are enjoying it so far!


Edited by AlexHW - 26 August 2014 at 7:29pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 27 August 2014 at 10:08am
Okay, I finally got around to creating a video demonstration of how to setup and use the Colordex: http://youtu.be/QGLg-N9RT44

I also adjust the square markers you use to set it up, so that it doesn't matter which one is off the color ramp when drawing to transparent space as long as one is.
IP IP Logged
Conexion
Seaman
Seaman
Avatar

Joined: 12 January 2009
Online Status: Offline
Posts: 17
Quote Conexion Replybullet Posted: 27 August 2014 at 9:35pm
Makes perfect sense, awesome. Was playing with the tile functions and thought there might be a way to do it, but couldn't figure it out. Excellent!

I think scheduling a time to have a nice sized group of us working on something together would be a lot of fun. Also, I was able to figure out how to use the colordex yesterday, but I watched the video, and it is very clear.
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 28 August 2014 at 10:52am
Good to hear that. Yea, I don't know how well it'll handle a big group painting together- it should be feasible, but I've never tested it with many people.
IP IP Logged
rrrod
Seaman
Seaman
Avatar

Joined: 12 October 2014
Online Status: Offline
Posts: 14
Quote rrrod Replybullet Posted: 31 August 2014 at 2:46pm
I definitely agree on scheduling a Co-op session. Sounds like some really cool ideas could come out of it!
IP IP Logged
CandyFace
Seaman
Seaman
Avatar

Joined: 01 September 2014
Online Status: Offline
Posts: 1
Quote CandyFace Replybullet Posted: 01 September 2014 at 3:19am
Just joined the forum to ask you Alex, will you be able to support other tablet brands? I'm using a tablet from a company called Huion, a Chinese but quite known company. I have been trying to get the pressure sensitivity to work on my mac and windows machine but nothing works. It is quite unfortunate because i would really like to test out the tool properly.

I know it is using the wacom browser plug-in, so it might be a long shot.


Edited by CandyFace - 01 September 2014 at 3:26am
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 01 September 2014 at 2:44pm
There might be in the future if pointer events become available: http://www.w3.org/TR/pointerevents/
That would allow any tablet to work if I understand correctly.

IP IP Logged
volter9
Seaman
Seaman
Avatar

Joined: 16 September 2015
Online Status: Offline
Posts: 9
Quote volter9 Replybullet Posted: 18 September 2014 at 8:08pm
Very nice tool! Respect +1

If you need any help, I would be glad to help you, I messed around with Canvas long time and know a lot about it.

I looked at the code and you use a lot of depreciated standards. If you wouldn't mind I'll give few suggestions:


  1. href="javascript: <code> ;" is depreciated and may not work in modern browsers.

  2. As you're using HTML5 Doctype, you should use <meta charset="UTF-8"/> instead of http-equiv.

  3. Spaghetti code is hard to read, best practice is to separate business logic (JS), markup (HTML) and styles (CSS) should in different places. Currently I'm talking of using on<event>="" attribute, style="" and <style> tags within head (however using <style> in head is appropriate when you have small page).

  4. else if (data.type == 'draw_pixel_line') ... can be changed to switch case (you have a lot of checks there), semantics basically.

  5. $('selector') you're calling to jQuery too much! You need to define it in config once, and use it. That's why it's slow in some cases, because you're calling jQuery over, and over, and over!



I can continue, but I think I need to stop it here. If you interested in refactoring your code or in my advices (maybe), you can PM me. Good luck with this awesome project!

P.S.: I made some games on Canvas and Internet Meme editor, so I have experience with canvas

Edited by volter9 - 18 September 2014 at 8:31pm
IP IP Logged
AlexHW
Commander
Commander
Avatar

Joined: 19 June 2019
Online Status: Offline
Posts: 285
Quote AlexHW Replybullet Posted: 19 September 2014 at 2:00am
Thanks for the suggestions, volter9!
I'll have to sift through everything and try to address your points.
Doesn't the else if() give more control over the order of things? Switch case doesn't allow you to give priority over one case versus another from my understanding.
But yea, I'll see what I can do about fixing these things if you think it'll improve it- I'm not well versed in what the best practices are, so this is really useful info.
IP IP Logged
volter9
Seaman
Seaman
Avatar

Joined: 16 September 2015
Online Status: Offline
Posts: 9
Quote volter9 Replybullet Posted: 19 September 2014 at 8:18am
> Doesn't the else if() give more control over the order of things?

Of course it does! However, in your case it's more semantically to use switch..case instead of if..else statement, because you're comparing just same variable to the string.
In your case, I would do in another way, but there's a lot of modifications that I would need to do in order to make it happen (change lots of code basically).

P.S.: you need to compare string with string with ===, because there's some issue may happen if you wouldn't, for example, if your variable would be integer have the same value as string (that may happen). More about it you can find it here (StackOverflow question).
IP IP Logged
<< Prev Page  of 3 Next >>
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum