|
Post by johnno56 on Aug 3, 2022 3:44:05 GMT -6
Hey Aurel,
I suppose some instructions may be a good idea, eh? Pencil will draw to on the main grid as long as a colour is selected... Line is still a work in progress. I am attempting to use Bresenham's plotline algorithm. If I can get it to work... Left mouse click to select the start of the line; right mouse click to select the end of the line. Hopefully the algorithm will do the rest... lol... once I have it working... lol The Mirror function works. Select a colour. Click on Mirror. Both Pencil and Mirror buttons should highlight. Draw on the main grid.
You may be right about the buttons. Each button is 80x40. I can tinker together some simple 32x32? with images and limit the number of buttons. All of those large buttons are "spares" and can be removed. I had not figured on 1024x768 screens... Probably because I use a larger monitor...
Save and Load are a work in progress. Quit, New, and Clear all work. There is still much to do.
I am always open to suggestions about how the application should look. If you are handy with "pencil and paper" and have any suggestions I would be interested in any ideas you may have.
In reference to Canvases... I have only tinkered with one program that required more than one canvas. A simple Star Trek game that uses 3 windows. It looked okay on a large monitor. It is not finished yet and I am not sure if it will be... I was making it for the grand kids and their interests are not exactly geared toward strategy type games... Not enough action, music and all the stuff kids like... lol What did you have in mind for the canvases?
I have a coffee cup that is screaming to be filled again... Appreciate the feedback...
Have a great day!
J
|
|
|
Post by johnno56 on Aug 3, 2022 3:57:59 GMT -6
n00b, I am not sure what I am supposed to "do" with a "pull request". But, I did check out and test your modification, and the Undo worked very well. Than you for that
|
|
|
Post by n00b on Aug 3, 2022 7:55:47 GMT -6
johnno56 Check out step 3 here to see how to approve pull request developers.sap.com/tutorials/webide-github-merge-pull-request.htmlAccepting pull request will allow anyone who forks your repo to get all the recent changes. Also, you should not zip up your code to upload it. You can either push your code through the command line using git or you can just drag and drop your source files into your repo.
|
|
|
Post by johnno56 on Aug 3, 2022 12:35:07 GMT -6
I tried the drag and drop but it would not accept the folder of assets. That is why I went for the "zipped" approach...
|
|
|
Post by johnno56 on Aug 3, 2022 13:02:28 GMT -6
Clicked on 'pull request' tab (1).
Step 3 says that if I am happy with this then to click 'merge'. As you can see there is no merge.
"You can either push your code through the command line using git or ....". I am sure that you know what you are talking about, but as one who has just started using Github, it all sounds Greek to me... lol I can see the benefit of being able to share and co-operate using Github, but what I did not expect, was a learning curve greater than just posting a "zip" file.. I probably need more time and practice... but I find this frustrating and confusing at times... Well, that is my gripe for today... lol I need coffee...
|
|
|
Post by n00b on Aug 3, 2022 13:26:21 GMT -6
You need to click on "Added Undo"
|
|
|
Post by johnno56 on Aug 3, 2022 13:46:42 GMT -6
Step 3: "To accept the pull request, click the Pull Requests tab to see a summary of pending pull requests. If you are happy with the changes, click Merge Pull request to accept the pull request and perform the merge. You can add in a comment if you want."
As someone who is new to Github, perhaps they could have added the "Added ...", to the instructions... lol
Anyway, "Added Undo" and "merged"... My apologies for sounding terse... I get quite annoyed when written instruction either do not work or are too much work in themselves.... I prefer "simple" projects... An almost "spartan" look... Ha ha... I am amazed that I actually included colour into the project... (other than the colour patch and main grid... who wants a monochrome editor, right?) Hmm... Monochrome... I wonder...
What is the idiom? Simple is as simple does...
I have my coffee but this is "too much" thinking for 5:45am...
|
|
|
Post by n00b on Aug 3, 2022 20:19:26 GMT -6
Yeah, instructions are not always completely straight forward but once you learn how git works it does save you a lot of time and headache. When I first started using github I would use the drag and drop but now I just run a couple of commands on the command-line and my code just instantly gets pushed up to github. I might try to make a video on that sometime. Its actually pretty easy.
|
|
|
Post by n00b on Aug 3, 2022 20:26:54 GMT -6
Now that you are a lead developer and software maintainer, I have some features I thought I would request: - a timeline for doing sprite animation
- a smudge tool
- spray paint
- a selection tool with the ability to copy, cut, and paste portions of the image
- a fill tool
- a pallete editor that updates the image in realtime
- layers
- ability to set clear color (basically changing the default black background to a different color)
I might have other features I would like to see down the line but those are the more imediate ones.
|
|
|
Post by johnno56 on Aug 4, 2022 0:26:59 GMT -6
I think somebody's reach is exceeding somebody's grasp... They are all excellent ideas and suggestions, but I have trouble just working out a line routine... gulp!
My vision was to create something that could draw and save sprites/tiles for games so that I would not have to rely on others for images... Kind of like a "poor man's" version of MSpaint... Do not get me wrong, it would be great to be able to make an editor with all those (and then some) features, but I seriously doubt that I have the skillset to add all that stuff. I would like to actually finish a project for once... I am so tired of starting and failing...
|
|
|
Post by n00b on Aug 4, 2022 8:15:17 GMT -6
johnno56 Software projects are never really finished. There is always more features to add, bugs to fix, optimizations to make, usability to improve, etc. I would suggest just setting a goal for a list of features to have in your 1.0 release and work towards that. What ever you don't think you can do by yourself you can always ask for help with. I actually spend months or years learning how to implement simple features in RCBasic. For instance, video playback didn't work on android for years because I couldn't figure out how to do it.
|
|
|
Post by rosy on Oct 11, 2022 3:30:10 GMT -6
Does anyone know the cool filling procedures, preferably with the chosen pattern? I will probably be working on this graphics program with Atari: www.youtube.com/watch?v=33FbHGRd5l4
|
|
|
Post by aurel on Oct 11, 2022 9:06:48 GMT -6
johnno well most of us don't have skills for many things in programming ideas and suggestions can be many but real algos are rare most of are semi-baked( in my case for sure)
|
|
|
Post by johnno56 on Oct 11, 2022 11:57:01 GMT -6
Rosy. A pattern fill procedure. I remember using one of those things back in the mid to late 80's on my old Amstrad CPC464. On a machine that did not have a fill or flood-fill command, it was painfully 'slow'. The poor little 4mhz CPU really struggled with that one. I have been looking for that particular program for decades. It was written in Basic. No fancy commands. Just reading data and plotting to the screen. I will try to look for it again. But I have my doubts... lol
|
|
|
Post by johnno56 on Oct 11, 2022 12:52:01 GMT -6
Rosy. You may find this hard to believe. The reason why I could not find the listing for the pattern fill was that the listing was not produced. I will explain. A magazine called, 'Computing with the Amstrad' (CWTA) published an edition in January 1988. The internet would not be publicly available until 1991. Regardless, the Amstrad CPC, was not able to 'go online', so users like myself had to rely on the magazines. The magazines would not be 'scanned' for digital storage for many years. But eventually, the technology caught up, and it happened. The funny thing is that, since 2018, I have had every magazine published for the Amstrad CPC464 and CPC6128, quietly gathering 'digital dust' on my hard drive. Including CWTA January 1988... As soon as I looked at the listing I thought, "Nope. May not be possible to convert". The listing 'is' in basic but reads strings of ascii characters and 'pokes' them into upper memory and is 'called' when needed. I will attempt to add the images of the listing... I hope this helps... maybe... J
|
|