Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Robot Face

28
Posts
5
Topics
39
Followers
577
Following
A member registered Feb 05, 2017 · View creator page →

Creator of

Recent community posts

Wow, thank you! Text color support in rich text has been something I was wishing for for a while.

first

I've converted "the worst deck ever to win a Magic: the Gathering pro tour" into a BTCG deck. It's called Red/Green Spiders and was originally by Magic player Olle Rade.

What was once an aggressive deck in a sea of control now becomes a pretty heavy-handed control deck, with many cards that discard themselves to destroy or damage the opponent's stuff. There's very little in the way of ramping or buffing your own stuff so I think the game plan for actually winning is using Giant Growth on Fyndhorn Elves to generate a lot more mana each turn, lock down your opponent and just durdle out your cards to hit the level target the "fair" way.

Basic TCG community · Created a new topic Card maker tool

I've made a tool to create BTCG cards:

https://robotface.itch.io/btcg-card-maker

I included a couple special card frames. If there's any that you'd really like added let me know.

Okay, I uploaded a minimal example as "example.deck" at the link I gave you, and I think I also figured out maybe why you weren't seeing it: the artifacts appear at some resolutions and not others. I tried reproducing it with a small canvas, but it worked fine until I made the canvas the same size as my card template.

Actually, the version I have up on itch already is pretty minimal if you ignore everything except the "Save card as image" button. If you want to look at it it's https://robotface.itch.io/btcg-card-maker , I set it so you can see it with the password "decker"

Check the v character in the "Level" label in the top left of the card, for example

If you still want a minimal example I can provide that later today

It happens on native-decker for windows and on web-decker. I'm not at my computer right now, I can strip my project down to a minimal example later today. It's not a canvas which I'm scaling, it's an image interface created by app.render[], if that's relevant.

I don't see one anywhere. I think, generally, game mechanics aren't copyrightable, but the text of the game is. So if you wanted to make a game that played the same, I believe that would be legal, as long as you didn't copy the text of the rules. And I think people own their own card designs and can copyright them however they want. I'm not a lawyer, though, and you shouldn't take this as legal advice. Anyone who knows better, please correct me.

(2 edits)

I'm trying to make a tool to create custom trading cards from a template. I'm pretty much done, but when exporting a card, I'd like to scale it by 3x to make it a more useful size. When I do this (a simple a.scale[3]), the whole image itself is the correct size, but it doesn't scale evenly. Some columns and rows are 4 pixels wide and some are 2. It looks ugly. 

Also, this isn't nearly as important and is probably actually intended behavior: if there are patterns besides 0/32 and 1 in the art field, they export at their original resolution when scaled up, i.e. their pixels are 1/3 the size of the rest of the card's pixels.

Here's how I learned how to make this: 

First I made a character sheet with no automated functionality just by laying out  editable text fields and sliders, and adding locked fields as labels.

The first thing I coded was the clear button for the portrait. A canvas can be drawn on by default, but there's no way to erase, so I looked at the documentation for canvases and found the "clear" function, then made a button that calls it for the portrait canvas. 

Then, I went through elements of the character sheet one by one, deciding if I wanted them to have any fancy functionality or if a raw text field would be sufficient. If I decided that fanciness was warranted, I looked through the Decker documentation until I figured out how to do what it needed. In a couple cases I had to ask for help on the decker forums.

I was helped by already knowing how to code, although I found Lil (the programming language Decker uses) to be very different from all the languages I knew in several frustrating ways. I first learned to code extremely slowly over several years of exposure throughout my early childhood, using scratch.mit.edu regularly as my primary source of entertainment and social life. I started out copying big pieces code from other people's projects whenever I had to do anything complex, as was encouraged through Scratch's built-in remix culture. Later on I started to grasp more abstract concepts of programming.

If you'd like to copy the code of anything in this deck for your own, you have my permission.

I will say this, I wrote it to be deliberately vague. I'm not interested in giving a "canonical" explanation, and I think if I did it would detract from the experience.

I feel like the game speaks for itself...?

Okay, thanks. The description of the "v" pattern type in the Lil docs made me think I could maybe insert any variable using just format strings. It's not too bad to just hardcode it and update it with a script whenever I change the max, though.

I'm trying to figure out format strings, specifically to get a slider to show its max value. Is %v what I want, and if so how do I use it? Or is this even possible without additional scripting?

That's awesome to hear! I made this because I wanted to learn Decker while also making something I would actually use. I'm really happy that other people like it too!

Yes, it does. In fact, I had even already tried to use deck.event, but forgot the quotation marks and assumed it didn't work. Thank you so much!

So, in the deck script, I have a function stat_to_mod:

on stat_to_mod x do
 floor (x-10)/2
end

Most widgets can use stat_to_mod[20] in their scripts and properly get the result 5, but for contraptions and widgets inside contraptions, it always returns 0 regardless of the argument. deck.stat_to_mod[20] also doesn't work (though It also doesn't work outside of contraptions so I didn't expect it to). The decker docs describe deck as a global constant, so I'm confused why this doesn't work.

I feel like I'm misunderstanding something important. Is there a way to achieve what I want to achieve?

(1 edit)

I'll keep it in mind. Since I'm using it in two different contraptions, I'm thinking a module is better than anything that belongs to one contraption since both contraptions can access it equally?

(Edit: there's even a deck-level script which is probably a simpler solution than a module)

https://robotface.itch.io/glog-sheet

I had a lot of fun making this and learning Decker at the same time! I'm excited to make a game with it next.

Ah, thank you!

I've fixed my first problem by disabling column headers and replacing them with locked fields. Still struggling with the second.

Is there a way to disable sorting grids by clicking the label at the top? Or at least change the sort order? I have a grid I want to be editable, with many empty rows at the end so items can be added, and right now if I accidentally click the top all rows with content are sent to the bottom with no way to get them back to the top (as far as I can tell) except by manually editing the JSON/CSV.

Also, editing cells by double-clicking doesn't work on some grids, it just clears the cell and leaves it blank. I can't figure out why. As an example, on the "Grids" page of the tour, editing works fine on the table of fruit prices, but it deletes cells on the table of measures.

Help I chose to crank start the car and I'm stuck here forever because I can't move my mouse fast enough👍

(1 edit)

It is not very clear what I have to do👍

Had a lot of fun messing around! I got 9 of the collectibles but at some point my progress got reset and I couldn't figure out why so I stopped playing. Once I also got "softlocked" but eventually figured out you can press R to go back to spawn, this may have been what reset my progress? But it didn't reset every time?

Anyways, here are some controls which aren't listed:

R: teleport back to spawn (may lose progress)

E: teleport back to checkpoint

B: spawn a couple projectiles of some sort which can nudge you and other players around? I wasn't able to use them in any useful way, but someone better at platforming than me could use them to reset their momentum in midair.

Having the player start out by moving around in the "out of bounds" area is so clever!

(1 edit)

Theme suggestion: chain reaction

Bonus answer: comics! Scott McCloud's Understanding Comics series was a huge influence on me as a kid, and I think a lot of lessons for comics also work for games.

Neat game! It would be cool if different kinds of aliens generated different projectiles.