Pattern Generator v1.2b - Custom patterns!
Re: Pattern Generator v1.0 - Custom patterns!
Randomizing all settings; I suppose it would have to select a pattern-type first, then randomize the settings in it. The reason I asked about one is because with utilities like these I never have inspiration for what I might want to use, but if they have a "random" button I'll hit it over and over and look at what it can do, and it might give me an idea to boot!
- HugoBDesigner
- Party member
- Posts: 403
- Joined: Mon Feb 24, 2014 6:54 pm
- Location: Above the Pocket Dimension
- Contact:
Re: Pattern Generator v1.0 - Custom patterns!
Well, while it is possible to do that if you add a custom function to your pattern, it does feel like a neat little thing to add nonetheless. Thanks for the suggestion!
Re: Pattern Generator v1.0 - Custom patterns!
^__^ I love feature creep. Sometimes it's all I'll do in a whole day of coding.
- HugoBDesigner
- Party member
- Posts: 403
- Joined: Mon Feb 24, 2014 6:54 pm
- Location: Above the Pocket Dimension
- Contact:
Re: Pattern Generator v1.0b - Custom patterns!
Updated the Pattern Generator to LÖVE 0.10.x. Won't make much difference (except for the source version), but I do plan on updating the generator to include more features. I hope
Re: Pattern Generator v1.0b - Custom patterns!
Any chance you will release separate generator class for others to use in their projects? Like, for example, if i created nice pattern which i like, then save some sort of parameters into a file, and then by including this generator class into my project and feeding previously created file to this class, it will generate that pattern on canvas i want somewhere in my project. Also any procedurally generated patterns in the future? Like, noise, noise filters, batch generator combinations etc?
- HugoBDesigner
- Party member
- Posts: 403
- Joined: Mon Feb 24, 2014 6:54 pm
- Location: Above the Pocket Dimension
- Contact:
Re: Pattern Generator v1.0b - Custom patterns!
For the "saved patterns thing", it's somewhat possible with the way the program currently saves the last patterns, but sure, I can have an "export" feature of some sort. As for saving it like a code, I dunno how I'd get around doing that (at least not in a viable way). I'd probably have to literally just copy over the pattern code itself, then add the variables at the end. Unless I got what you meant completely wrong
As for procedurally-generated patterns, it's possible with custom patterns (a.k.a user-created files).
Either way, I do want to update this in the near future. I've been thinking about a way to make creating custom patterns more easy and less "coding-requiring", that means a feature to create patterns using the program itself. But that's something that will take some time. Thanks for your comment though, I really appreciate it
As for procedurally-generated patterns, it's possible with custom patterns (a.k.a user-created files).
Either way, I do want to update this in the near future. I've been thinking about a way to make creating custom patterns more easy and less "coding-requiring", that means a feature to create patterns using the program itself. But that's something that will take some time. Thanks for your comment though, I really appreciate it
Re: Pattern Generator v1.0b - Custom patterns!
The idea was to make a module that receives pattern parameters (by passing them as a table to it, by calling setter functions, by specifying preset file etc) and the canvas (or maybe raw imagedata object? canvas is way faster to draw on tho) where user wants pattern to be drawn on, and then after calling some "draw/render" function, user gets that pattern on that certain canvas in his own project, where he included that module. Well, i know that currently your program can save them as images, however this idea applies a bit of a versatility touch.HugoBDesigner wrote:Unless I got what you meant completely wrong
Imagine a puzzle game. It has this module in it. Now every time a level starts, for example, its game field or background generates anew, and by randomizing generator variables each time, it creates new, unique texture. And for someone to do that, he needs this generator to be included in his project, and this generator have to be as a self-sufficient module, and it should have means to specify those parameters and a place where it can draw the result.
I.e. the idea is to separate GUI from generator in your project so the latter could be included somewhere without depending on anything else except for love2d functions. People could find it useful.
Lately i've tried to make something similar, but the code is a mess, so i kinda put it aside for now.
- HugoBDesigner
- Party member
- Posts: 403
- Joined: Mon Feb 24, 2014 6:54 pm
- Location: Above the Pocket Dimension
- Contact:
Re: Pattern Generator v1.0b - Custom patterns!
Well, I guess I can release a library that produces pre-made patterns. It'll basically just be me removing all the UI features from the program and making it so that it reads a save file and returns a Canvas. Shouldn't be too hard, I hope. Thanks for the suggestions, though. I appreciate it
Update: Can't push an update just yet, but I wanted to let you guys know that I've been working on this. Here's a couple things I've been working on: https://twitter.com/HugoBDesigner/statu ... 1997967360 and https://twitter.com/HugoBDesigner/statu ... 3475410946. Sorry if it sounds like self-promotion, you guys don't need to follow me on Twitter or anything, just thought I'd share some progress here before I got an update ready. I'm working mostly on things from the to-do list and user suggestions, but new ideas/bug reports are always welcome!
Update: Can't push an update just yet, but I wanted to let you guys know that I've been working on this. Here's a couple things I've been working on: https://twitter.com/HugoBDesigner/statu ... 1997967360 and https://twitter.com/HugoBDesigner/statu ... 3475410946. Sorry if it sounds like self-promotion, you guys don't need to follow me on Twitter or anything, just thought I'd share some progress here before I got an update ready. I'm working mostly on things from the to-do list and user suggestions, but new ideas/bug reports are always welcome!
- HugoBDesigner
- Party member
- Posts: 403
- Joined: Mon Feb 24, 2014 6:54 pm
- Location: Above the Pocket Dimension
- Contact:
Re: Pattern Generator v1.1 - Custom patterns!
New update!
Pattern Generator is now version 1.1 with a bunch of cool new features. I updated the main post with the new links and updated documentation, as well as changelog. If you guys have any questions, ideas, bug reports, etc, you know the drill, just post here and I'll do my best to get it solved
Pattern Generator is now version 1.1 with a bunch of cool new features. I updated the main post with the new links and updated documentation, as well as changelog. If you guys have any questions, ideas, bug reports, etc, you know the drill, just post here and I'll do my best to get it solved
Re: Pattern Generator v1.1 - Custom patterns!
I'd love to have an additional option to set the number of tiles. E.g.: I want 32tiles horizontally and 20 tiles vertically. I think this would be a nice way to generate tile-sheet templates.
Also a small thing about the UI I found a bit counterintuitive was that the pixel dimensions reset when you click outside of them. I think they should keep the value your entered unless you use "escape" to cancel
Just my 2 cents
Also a small thing about the UI I found a bit counterintuitive was that the pixel dimensions reset when you click outside of them. I think they should keep the value your entered unless you use "escape" to cancel
Just my 2 cents
Who is online
Users browsing this forum: Bing [Bot] and 0 guests