KłełeAtoms - A multiplayer chain reaction game

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Nightwolf47
Prole
Posts: 5
Joined: Mon Nov 14, 2022 11:09 am
Location: Poland

KłełeAtoms - A multiplayer chain reaction game

Post by Nightwolf47 »

Hi! I made this game last year, but i never showcased it on the LÖVE forums before.
Up to 4 players can play KłełeAtoms together.

How to play
The in-game tutorial accessible by pressing the ? button on the main menu explains the rules with examples.

Game features
  • Customizable grid size, from a tiny 7x4 grid to a massive 30x20 grid
  • AI players with 3 difficulty levels
  • Tutorial for new players
  • Ability to save the game and resume it later
  • Mobile phone support
  • Fullscreen and window resizing support (has to be enabled)
Changelog
v1.4 - Scaling update
  • Added a tutorial message in the main menu for new players
  • Added fullscreen mode (F4 key) and window resizing (F3)
  • Modified atom and tile textures
  • Modified game icon
  • Some fixes and adjustments
v1.3.1
  • Initial LÖVE Forums release
You can check out the source code or download Windows/Linux builds on the KłełeAtoms github repository.
You can also play this game in a web browser on Newgrounds. Due to love.js issues, this version doesn't work on Firefox private mode.
Have fun!
kleleatoms-1.4.love
KłełeAtoms 1.4
(71.68 KiB) Downloaded 77 times
Attachments
Main menu (with tutorial message)
Main menu (with tutorial message)
kamenu2.png (50.5 KiB) Viewed 2266 times
In-game screenshot
In-game screenshot
kagame2.png (21.73 KiB) Viewed 2442 times
Last edited by Nightwolf47 on Wed Feb 08, 2023 4:42 pm, edited 4 times in total.
User avatar
darkfrei
Party member
Posts: 1197
Joined: Sat Feb 08, 2020 11:09 pm

Re: KłełeAtoms - A multiplayer chain reaction game

Post by darkfrei »

Is it possible to make a FullHD version?
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
Nightwolf47
Prole
Posts: 5
Joined: Mon Nov 14, 2022 11:09 am
Location: Poland

Re: KłełeAtoms - A multiplayer chain reaction game

Post by Nightwolf47 »

darkfrei wrote: Tue Nov 15, 2022 10:44 am Is it possible to make a FullHD version?
What exactly do you mean by that? A fullscreen mode, higher resolution textures or something completely different?
User avatar
darkfrei
Party member
Posts: 1197
Joined: Sat Feb 08, 2020 11:09 pm

Re: KłełeAtoms - A multiplayer chain reaction game

Post by darkfrei »

Nightwolf47 wrote: Tue Nov 15, 2022 10:58 am
darkfrei wrote: Tue Nov 15, 2022 10:44 am Is it possible to make a FullHD version?
What exactly do you mean by that? A fullscreen mode, higher resolution textures or something completely different?
Windowed high resolution 1920x1080 and (optional) 4K fullscreen, the window with a size about 400-600 pixels is too tiny.
And why the window must be resized between menu and game states?
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
Nightwolf47
Prole
Posts: 5
Joined: Mon Nov 14, 2022 11:09 am
Location: Poland

Re: KłełeAtoms - A multiplayer chain reaction game

Post by Nightwolf47 »

darkfrei wrote: Tue Nov 15, 2022 12:20 pm Windowed high resolution 1920x1080 and (optional) 4K fullscreen, the window with a size about 400-600 pixels is too tiny.
And why the window must be resized between menu and game states?
I'll think about implementing fullscreen to the game. Windowed high resolution most likely won't be added though.
The window must be resized because the menu size is 640x480 while the game state window size depends on the grid size.
User avatar
GVovkiv
Party member
Posts: 685
Joined: Fri Jan 15, 2021 7:29 am

Re: KłełeAtoms - A multiplayer chain reaction game

Post by GVovkiv »

I'll think about implementing fullscreen to the game. Windowed high resolution most likely won't be added though.
The window must be resized because the menu size is 640x480 while the game state window size depends on the grid size.
You, probably, want to implement scaling with https://github.com/Vovkiv/resolution_solution (or similar libs, such as https://love2d.org/wiki/TLfres)or if you need simple fit-scaling you can use:

Code: Select all

scaleWidth = windowWidth / desiredGameWidth
scaleHeight = windowHeight / desiredGameHeight
And use this values to scale stuff when drawing:

Code: Select all

love.graphics.push()
love.graphics.translate(scaleWidth, scaleHeight)
*draw something*
love.graphics.pop()
Don't forget about mouse translation from real cursor to game:

Code: Select all

translatedMX = mouseX / scaleWidth
translatedMY = mouseY / scaleHeight
Same for translating from game to cursor:

Code: Select all

translatedX = xOfgameObject * scaleWidth
translatedY = yOfgameObject * scaleHeight
And don't forget to make game window resizeable in configs.
It's still not the best solution, but already much better then tiny window that you can't even resize.
User avatar
Nightwolf47
Prole
Posts: 5
Joined: Mon Nov 14, 2022 11:09 am
Location: Poland

Re: KłełeAtoms - A multiplayer chain reaction game

Post by Nightwolf47 »

GVovkiv wrote: Tue Nov 15, 2022 4:34 pm You, probably, want to implement scaling with https://github.com/Vovkiv/resolution_solution (or similar libs, such as https://love2d.org/wiki/TLfres)or if you need simple fit-scaling you can use:
Scaling is present in KleleAtoms (in mobile.lua), but it's currently only used on mobile and web versions.
User avatar
GVovkiv
Party member
Posts: 685
Joined: Fri Jan 15, 2021 7:29 am

Re: KłełeAtoms - A multiplayer chain reaction game

Post by GVovkiv »

Nightwolf47 wrote: Tue Nov 15, 2022 8:03 pm
GVovkiv wrote: Tue Nov 15, 2022 4:34 pm You, probably, want to implement scaling with https://github.com/Vovkiv/resolution_solution (or similar libs, such as https://love2d.org/wiki/TLfres)or if you need simple fit-scaling you can use:
Scaling is present in KleleAtoms (in mobile.lua), but it's currently only used on mobile and web versions.
well, then make it usable on all platforms then
there 0 reasons not to
User avatar
Nightwolf47
Prole
Posts: 5
Joined: Mon Nov 14, 2022 11:09 am
Location: Poland

Re: KłełeAtoms - A multiplayer chain reaction game

Post by Nightwolf47 »

Version 1.4 of KłełeAtoms has been released!
It adds fullscreen mode and window resizing.
View the changelog for more information about the update.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests