Skip to content

Nollning 26 quest screen - #337

Open
Knazeball wants to merge 6 commits into
nollning-2026from
nollning-26-quest-images
Open

Nollning 26 quest screen#337
Knazeball wants to merge 6 commits into
nollning-2026from
nollning-26-quest-images

Conversation

@Knazeball

@Knazeball Knazeball commented Aug 17, 2026

Copy link
Copy Markdown

What this pull request contains:

  • quest screen / mission screen for nollning 2026
  • tabs for current quests, failed quests and completed quests
  • leaderboard screen
  • pixel art images and other images and fonts
  • functions for determining pixel art for a mission (but commented out, and replaced with a stand in as the backend is not ready yet)
  • i also decided which coloured buttons would belong to which quests since i didn't get an answer from the graphics fös, but i don't think it matters that much
  • clouds in the bottom of "Current" quests

What this doesn't contain:

  • individual quest screen (work in progress, copied from last nollning). I also believe the background picture we got from the grafikfös is too large, it's 7MB ... very slow to open up, at least in debug.
  • locked quests
  • locked quests at the bottom, behind the clouds

I was unsure what to do about missions that are under "review". I decided to place them under "completed", but not have a checkmark. Idk if that is confusing but otherwise they would not be visible at all the next week.

Colour scheme for quests (this wasn't super clear from the grafikfös, but I think this works good):

  • regular quest -> background placeholder + pixel art
  • quest under review -> as regular, but + dark filter on top
  • failed quest -> dark filter at the bottom + pixel art
  • completed quest -> as failed, but + check mark

I hope the code is not super ugly, I copied everything from last year and then changed as needed. Perfect order of operations lol

…placement. And removed some of my swedish comments that are not really necessary lol
…d the colour scheme on failed/completed/reviewed quests to make it more intuitive, tested different scenarios, changed sizes slightly, tested every pixel art.
@Knazeball Knazeball changed the title Nollning 26 quest images Nollning 26 quest screen Aug 17, 2026
@georgelgeback

Copy link
Copy Markdown
Contributor

Looks good! I added an alertdialog so people can not enter the page when we release the app, if anyone else wants to look at the page, go to line 85 in nollningHome26.dart and switch the comments.

Map<NollningGroupRead, int> groupPointsMap = {};
NollningRead? nollning;

String avklarad = "assets/data/nollning_25/uppdrag/bricka-avklarad.png";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should copy required files from nollning_25 to nollning_26 since we're later removing nollning_25 from pubspec?

Comment thread assets/fonts/consolas.ttf

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The font consolas already exists in the nollning branch.

Comment thread lib/screens/home/nollningHome26.dart Outdated
: "The quests will be released soon! (but not yet)"),
actions: [
TextButton(
onPressed: () => setState(() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there is a need to setState a navigation pop.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's fair. I copied it from the quests page I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants