Bankr banner

Bankr

18 devlogs
25h 18m 20s

You are broke, you come up with a plan. You go to a local bank and must convince the banker to loan you out $1,000,000, however you only have 20 messages to spend with the banker before his next appointment!

can you convince him to loan you a million bucks?

(Love2d, MIT license)

This project uses AI

I used Claude for debugging & helping with some hard to do scripts (e.g. threading).
Also the entire game is centred around AI.

Loading README...

melon

working on a full refactor atm, just started earlier so :p
i wrote this code absolutely terribly lmao :tw_sob: probably just a combination of 3 am nights from me in a singular project lmaoo

Attachment
1

Comments

Keyboard1000n17
Keyboard1000n17 about 21 hours ago

i just saw this in slack and it came on the explore page :uuh:

melon

Found out I can work on assets at school, setup a vscode server on my home server and I can remote ssh into it! will be doing more work soon (xd, school counts it as “it misconduct” lmao)

Attachment
0
melon

Working on implementing some of the new stuff I created! I want to implement Achievments, A game config menu before you start and some other stuff! I did some art on lapse for the game so I can make a mockup of the design. And base off that!

Attachment
Attachment
Attachment
1

Comments

chefpenguino
chefpenguino 3 days ago

hahaha the sprite looks so silly, nice stuff

melon

Created a new asset for loan applications! Looking to go through and fix up some of the assets that are screwed and refactor some stuff. Hopefully add some new qol features and whatnot! Unfortunately ai.hackclub.com is down! This is extremely unfortunate as bankr uses it. Good thing I implemented custom endpoint in settings xd i will run a local model for now.

Heres a timelapse of me creating loan application form! More timelapses to come in the future!

Attachment
1

Comments

melon
melon 3 days ago

realised its misspelled in the title lmao.

melon

Created a Github workflow for compiling Windows x64 as artifacts for easier downloading rather than me packaging each update manually.

Attachment
0
melon

Shipped this project!

Shipping my build I think is ready for production! Will continue to work on Bankr along with other projects cooking :P

I think the main thing that was challenging was Pixel art, i had zero pixel art experience before this (didnt know how to use aseprite or anything) however I understand it alot more now.

Im proud of the fact the game actually functions the way I envisioned it lol
I thought it would end up as some sloppy mess thats half-complete, however I managed to actually deliver a somewhat functional game albeit time restrictions 🙏

melon

Made a demo of AI vs AI (both are gemini-3-flash)
I have uploaded images of both system prompts.
Checkout the video of agent vs agent interaction!

Of course the game is about user vs agent interaction, but it was a fun experiment!

  • quick info: i fixed font scaling issue, now you can play 1920 x 1080 and up normally!
Attachment
Attachment
0
melon

Made assets preload at the start of the game (before main menu) so the entire app doesnt freeze/lag when loading in assets.

Issues:

  • Small memory leak when exiting game and going back into one (0.5~mb)

Going to implement a cool little mode where a different AI agent can talk with the banker AI for both testing and i’m very interested on it xd
Also implemented menu music, and removed old 3008 music.
Release upload soon!

Attachment
Attachment
1

Comments

melon

Added music that plays when angered!
Changed default music to a bandlab tune :P angry music is tuned off that.
Fixed some bugs with the endings of the game.
need some main menu music lol

Uploaded video of gameplay + main menu so far! lil more polishing needed before release.
im tired so i might have a break then grind back on so i can get this shipped tonight before school starts again (holidays :p)

0
melon

Added pause menu to the game, I created more assets in Aseprite for it.
I noticed the paused is off center even tho its correct within aseprite xd
will look into that and patch it!

Bugs:

  • The game freezes (for text a couple seconds) when pressing play, probably due to asset loading. Since i export everything at 6x resolution so nothing is blurry for higher resolutions (e.g. 1440, 4k)
  • The font goes off-center/scales weirdly when changing app size. probably because i think we use px for offsetting text rather than using scale.

I’m looking to improve animations and some sprites before i ship the project!

Attachment
0
melon

Working on implementing a pause menu in the game, designed a quick mockup in Aseprite.

Attachment
0
melon

Hellooo, okay so I finished up adding a Main menu along with a Settings menu.
There are four settings available, API Key, endpoint url, music and disable typewriter.
Sliding animation in between Settings/Play as well.
Disable typewriter is broken currently, will fix next commit.
Will upload binary windows releases soon!

Created a quick save file for easy resetting/loading of saves! Looking into finding different music options to replace the 3008 music sometime soon!

Attachment
Attachment
Attachment
1

Comments

melon

Beta release:
https://github.com/officialmelon/bankr/releases/tag/Beta

You need an API key from: https://ai.hackclub.com/keys (dw its free)
After opening the app for the first time, you need to modify the settings.json in %APPDATA%/LOVE/bankr to add your api key.
Alternatively you can set an endpoint in their to point to a local server or different OpenAI completions supported service.
Fixed some bugs :)

Will design an icon later and do some polishing in the game, music from 3008. I need some calmer music and angry music when angered!

Attachment
0
melon

Quick demo video of the game so far, implemented emotion (neutral + angry) and states (kick player out, reject them, accept them)
“Stole” some music from some popular games :p (with credit + freesound effect)

Created some very “good” pixel art finishes for completing the game (States) in aseprite.

Tried to make a web build using love.js however some very weird issue would happen when the game would not register keypresses? unfortunately no web build for now p;
Hoping to get game finished tommorow. Gotta clean some things (add a menu/settings) and hopefully get ai.hackclub.com support working.

I’ll upload the git repo tommorow!

Attachment
Attachment
Attachment
Attachment
Attachment
0
melon

Created background and got animations for banker working, got AI logic working with back and forth responses. We render the background then banker, after we get desk rendered so the banker shows behind. I have never actually done Love2D before this, as i have always mainly done roblox dev (luau) so this has been a very different experience as to doing that.

Attachment
Attachment
Attachment
0
melon

I created a new dialogue sprite, using Aseprite. Its kinda trash, im open to improving it in the future.
Managed to both draw and write text onto the sprite, after countless errors about utf8 chars and related stuff. For some reason previously the UTF8 kept corrupting showing this from the response. I tried two different libs however none worked :/ so we had to work on a manual solution manually fixing utf8 problems (mainly being characters like em-dash and quotes ruined it for some reason?) In the end i got claude to write a solution as I could find zero information on this problem (both on love github and on their forums)
Also got threads working so i can have the AI running without freezing the game.

Anyways im happy so far with it xD

Attachment
Attachment
Attachment
Attachment
Attachment
0
melon

Upgraded Love2D to 12.0 so i can use built in lua-https library.
Refactored some of the codebase, started using git on it.
However there is a weird bug with some characters? (utf8 chars like em-dash and single quotes get corrupted for some reason? either https lib or the json parser)

Accidentally uploaded the same screenshot twice :P
Tommorow we continue working.

Attachment
0
melon

created an awful looking speech sprite sheet for the banker, Along with getting some animation working for the spritesheets, need to clean up code and split to multiple files. Love2D isnt the “best” for debugging, however im probably just using it wrong lool

Attachment
Attachment
0
melon

rendered a basic quad image of a “wip” drawing of a banker i made in aseprite. more to come!

Attachment
Attachment
0