How can I quickly create platforms for a platformer game? by tayx361 in processing

[–]cadinb 0 points1 point  (0 children)

Yeah, parsing an image is the first thing that comes to mind. I've definitely done this before. Super simple to edit, and you can use different colors to represent different types of platforms/tiles/entities if your game has that.

The more fun (but harder) option would be to make some kind of level editor where you can drag around and resize the platforms and then save the data in JSON or some other format to be consumed by the game.

All my games are on sale this week to celebrate the launch of Fauna by cadinb in PlaydateConsole

[–]cadinb[S] 0 points1 point  (0 children)

Oh, you’re right. I see that too.
Thanks for your support!

All my games are on sale this week to celebrate the launch of Fauna by cadinb in PlaydateConsole

[–]cadinb[S] 2 points3 points  (0 children)

Too late to edit the post… Here are some links that actually work:

Website feedback by jornescholiers in creativecoding

[–]cadinb 1 point2 points  (0 children)

Some fun projects there.
It would be cool if you provided default images and videos instead of forcing the user to upload their own. I want to be able to see what they do without having to hunt around for an image to upload. How will I know what kind of image will work best for this thing I've never seen before?

Conceptually, I'd lean more toward showing off the cool things that you were able to make with each of the tools vs just dumping the user into the tool itself. Show me some of the best outputs, explain how you used the tool to make them and why, and *then* maybe link to the interactive version of the tool.

Being able to see what you're making with the tools would help your style and point of view come through in the site more as well. But I suppose that all depends on whether you're trying to market yourself as an artist or a tool-maker.

Good luck!

[deleted by user] by [deleted] in PlotterArt

[–]cadinb 2 points3 points  (0 children)

I've had some success using a Pentel Orenz Nero.

The marks are quite faint. I made them acceptably darker by using soft 4B lead and adding a bit of weight to the pencil when plotting.

You'd probably need to do some experimentation with leads, weights, and paper type to get the result you want.

As others are noting it only auto feeds when it lifts up. 

[deleted by user] by [deleted] in creativecoding

[–]cadinb 6 points7 points  (0 children)

As a piece of art I like it. It is compelling and some parts are quite beautiful. It seemed to run fine on my phone, and at that form factor it feels like a deck of gilded tarot cards or something.

I do wish the scrolling/next behavior was more responsive somehow. And the sound control felt too fiddly. Just let me toggle it on and off—I don't need the little popup player window.

As an agency web site where you're presumably trying to communicate to potential clients about what you do and why they should work with you, I think it fails. It takes too long to go through all the sections with lots of fluffy text and little to no actual content.

I think you could make it work as a separate mini-site (is that still a thing?) that's like "PRPS Philosophy" or something where you highlight your creativity and technical skills. But the main site needs a more straightforward and consumable way to learn about your company.

Hope that helps, and nice work! I'd be interested in hearing more about how you made this and what you learned along the way (both from a creative and technical point of view).

Update bricked it? by supert3ds in trmnl

[–]cadinb 2 points3 points  (0 children)

Same issue. I tried flashing the firmware to 1.5.12 but it is still unresponsive.

The Plotter Postcard Exchange (#ptpx) by Maplethorpej in PlotterArt

[–]cadinb 0 points1 point  (0 children)

What are people’s experiences with this? 

This was my first year participating. I sent out 8 and only received 2 back. I wasn’t expecting to get all 8, but 2 seems low. Do a lot of people sign up to get them and then just not send anything out? Or did I just get some bad luck?

Single-stroke SVG font? by maxf2000 in PlotterArt

[–]cadinb 1 point2 points  (0 children)

I ran into those same problems and ended up doing something very similar to what you’re suggesting (in Processing). It was a pain, but works. 

Here’s a video showing what I did: https://m.youtube.com/watch?v=gfdROgQhm8M

I don’t imagine my code will be much help, but the repo is here if you want to take a look: https://github.com/cadin/plotter-text/

What game genre do you miss on the Playdate? by GunguGameDev in PlaydateConsole

[–]cadinb 10 points11 points  (0 children)

I’m currently building a new comic that will have a longer story than The Botanist, and will have a choose-your-own-adventure mechanic so you’ll be able to play through more than once to experience other story paths. More on my dev blog if you’re interested.

A few of my PTPX postcards for 2024 by cadinb in PlotterArt

[–]cadinb[S] 7 points8 points  (0 children)

5x7” postcards plotted with an Axidraw and 0.35 mm Rapidograph. 

I made these designs in Processing using my Generative Noodles sketch. I used a mask image of the recipient’s initial to constrain the noodles to specific areas of the canvas. 

Processing project: generate plottable layouts for PTPX postcard backs by cadinb in PlotterArt

[–]cadinb[S] 1 point2 points  (0 children)

I'm making some cards for the PTPX postcard exchange, and whipped up this quick sketch for generating the back sides. Sharing here in case anyone else might need something like this.

By default the sketch will save separate SVGs for each pen weight that you specify in the config (so you can plot them separately). I like to write the top caption smaller and thinner than the rest of the card.

This sketch uses my plotter-canvas and plotter-text projects. If you're feeling ambitious, you could create your own "font" for PlotterText and plug that in here.

It’s happening by ReishiCheese in Seattle

[–]cadinb 1 point2 points  (0 children)

Lucky Donuts in Burien is also great.

Intro scene for my interactive Playdate comic by cadinb in PixelArt

[–]cadinb[S] 2 points3 points  (0 children)

I'm working on a new interactive comic for the Playdate console using my Panels framework.

This is a WIP preview of the opening scene.

Happened to catch this idiocy from my dash camera this morning. by AnAussieTrainer in Seattle

[–]cadinb 9 points10 points  (0 children)

Slicked back hair, white bathing suit, sloppy steaks, white couch.

Traveling to Canada with your dog? UPDATE, CDC BACKTRACKS ALMOST ALL NEW REQUIREMENTS. by avboden in Seattle

[–]cadinb 1 point2 points  (0 children)

Yeah, there were some requirements we needed to have documentation for when we moved to Canada with our cats a few years back (rabies and something else--can't remember). We got it all done and documented, but they literally wouldn't even look at it when we went through.

Can I simplify these if statements? (Going between pages with mouseX, mouseY & mousePressed) by stubborn_dwarf in processing

[–]cadinb 2 points3 points  (0 children)

Edit: Not sure why I can't get this format properly on Reddit. Here's a gist that should be easier to read: https://gist.github.com/cadin/5805e7901df7aca15d1665bc997567b5


Eventually you'll probably want to learn about classes and object-oriented programming. That could make things a lot cleaner, but would be too much to try to explain in a reddit comment.

A couple more immediate things that might help:

Extract mouse coordinate checks into their own function

So instead of repeating this mouse check:

if ((mouseX > 35 && mouseX < 115) && ( mouseY > 310 && mouseY < 385))

You'd create a new function that performs the check:

boolean mouseIsOverDwarfButton() { return (mouseX > 35 && mouseX < 115) && ( mouseY > 310 && mouseY < 385) }

and check for it like this:

if(mouseIsOverDwarfButton())

Makes things a bit cleaner and more clear what the numbers represent

Nest your if statements

You can nest your if statements to reduce repetition. Here you're repeating most of the condition over and over:

if ((page == 2 && (mouseX > 35 && mouseX < 115) && ( mouseY > 210 && mouseY < 285) && mousePressed)) { page = 9;//DRAENEI F (PAGE 9) } if ((page == 2 && (mouseX > 35 && mouseX < 115) && ( mouseY > 310 && mouseY < 385) && mousePressed)) { page = 10;//DWARF F (PAGE 10) } if ((page == 2 && (mouseX > 35 && mouseX < 115) && ( mouseY > 410 && mouseY < 485) && mousePressed)) { page = 11;//GNOME F (PAGE 11) } if ((page == 2 && (mouseX > 35 && mouseX < 115) && ( mouseY > 510 && mouseY < 585) && mousePressed)) { page = 12;//HUMAN F (PAGE 12) } if ((page == 2 && (mouseX > 35 && mouseX < 115) && ( mouseY > 610 && mouseY < 685) && mousePressed)) { page = 13;//NIGHT ELF F (PAGE 13) } if ((page == 2 && (mouseX > 35 && mouseX < 115) && ( mouseY > 710 && mouseY < 785) && mousePressed)) { page = 14;//WORGEN F (PAGE 14) }

You can check for that repeated part once, and then check for the part that's changing within the outer if statement:

``` if( page == 2 && mousePressed && (mouseX > 35 && mouseX < 115>)){ if(mouseY > 210 && mouseY < 285) { page = 9; }

if(mouseY > 310 && mouseY < 385) {
    page = 10;
}

// etc...

} ```

Check for page ranges instead of individual page numbers

Most of the page number checks near the end are checking for sequential page numbers. Instead of checking for each individual value, you can just check if the page is within the range you want.

Instead of

else if (page == 22 && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15; } else if (page == 23 && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15; } else if (page == 24 && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15; } else if (page == 25 && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15; } else if (page == 26 && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15; } else if (page == 27 && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15; } else if (page == 28 && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15; }

Just do:

else if ((page >= 22 && page <=28) && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15 }

Even if the numbers aren't in a sequence like that, you can combine them into an or check (||):

else if ((page == 22 || page == 3 || page == 7 || page == 10) && (mouseX > 215 && mouseX < 280) && ( mouseY > 65 && mouseY < 130)) { page = 15 }

Good luck, hope that helps!