Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

CodeMonki

11
Posts
5
Topics
8
Following
A member registered Mar 02, 2020

Recent community posts

Thanks. Right now I’m looking at three related tables and I’m intentionally using a subset of the data. For the tutorial, I don’t want to go overboard, but for my information I do want to test the limits of what’s possible.

Hi!

The tutorial mini-book I’m building will create an atlas of sorts that will potentially hold a relatively large amount of data. By relatively large, I’m thinking somewhere between 40K-50K rows of data. Would you recommend storing the data in a table and then “dynamically” building the card on the fly or just creating individual cards and a small table with references to the cards. I’m sort of leaning towards the latter approach, but I’m new to Decker and I may be looking at the problem from the wrong angle.

Actually, I sort of found the answer I was looking for (quite by accident) in the thread where you discuss creating a field and converting it to a link.

I was trying to understand how I might point people to web sites outside of the app.

It’s all good! :-)

I’m writing a short book / tutorial to document my findings as I go so that hopefully others will have an easier time learning how to use Decker. I’d be grateful if I can get other eyes on the mini-apps I’m building and the accompanying text so that I’m not mis-stating / mis-representing things.

Decker community · Created a new topic HTML Anchors

Am I correct that I cannot embed an HTML anchor tag in a deck?

I have the following table:

people.name:"Alice","Sam","Thomas","Sara","Walter"
people.age:25,28,40,34,43
people.job:"Developer","Sales","Developer","Developer","Accounting"
people:table people

and I have the following query:

p:select job orderby job asc by job from people

each x in p
  print[x]
end

This produces:

DeveloperDeveloperDeveloperSalesAccounting

Can I impose something like SQL’s SELECT DISTINCT keyword on the query?

Ok, so no fetching a file from the server then. Got it.

One other question. If I set up a Decker app as a web app, I am assuming I can host it on my website (still reading the docs so I’m not clear on that yet). With that being the case, if I need to load an external data file may I assume that I can still do that since the data file would be local to the web server?

Cool, I’ll let them know!

Hi!

I’m trying to work out how to do a small project for the Traveller RPG. I’d like to build an atlas with a card for each sector, subsector, and world. A subsector has 80 potential locations and a sector contains 16 subsectors (1280 possible entries).

I’m trying to suss out how to set up the UI for the main card. My initial thought was to use three grids.

The first grid will display a single-column list of the sectors.

The second grid will display the subsectors in the selected sector. This will need to be dynamically filled when a sector name is clicked on.

The third grid will display the systems in the selected subsector and will be a two-column grid that displays the location (4-digit hex code) and system name and will be dynamically filled based on the selected subsector.

When a system is selected in the third grid (a click event), I’m assuming that I can have it go directly to the card.

Is this reasonable or am I over-complicating things?

Decker community · Created a new topic Two questions

Greetings!

I just set up Decker and I’m excited about building apps with it. I shared the link to the Github repo with a couple of friends and they said they’ll look at it over the weekend, but their first glance at Decker prompted two questions from them:

  1. Can cards have a colored background?
  2. Can you integrate Decker with SQLite?

I told them I’d find out and get back to them. I suspect the answer to both questions is no because I don’t recall the original MacIntosh having a color screen and for the Decker “decks” to be portable and self-contained, especially for the web, integrating to SQLite is not available.

I am open to correction on both. :-)

One thing I am uncertain on is how much data can be stored in the grid because I don’t recally seeing anything that mentions that.

It’s likely a private repo on Github.