Are you O.K?
Nice, I like seeing everyones takes on coding different things like the controller thumbsticks.
When I post my answer/reply to the challenge, I’m going to be sharing some bundles and tricks for the thumbsticks.
Better late than never, here are some expressions for using on controller thumbsticks.
Answer
Calculate the Stick Force with X and Y:
Math.max(Math.abs(A),Math.abs(B))
Calculate the Angle of Stick X and Y:
(((90-(Math.atan2(A,B)/Math.PI)*180)%360)+360)%360
I also ended up updating some of the controller code in my controller example,
so here is a nice way move the player in a top down game.
Update:
Before explaining the challenge, I just want to say I’m slowing down on these challenges. I’m still going to be doing multiple challenges each month, but it will not be on a weekly schedule anymore. It was a good month and a half but I’m getting busy with more projects and well frankly I’m running out of ideas for challenges. Doing 3 challenges a week made me go through my list of challenges pretty quickly.
But also I want to try to get more users to try out the challenges and give more time to solve it.
Unlocking Doors
May 14th, 2024
Difficulty: Beginner
(Rules)
Show a screenshot of code in the player and the door on how you would use collecting keys to open multiple doors in a single level. There can only be 1 of each object type so you must use clones of the same keys and doors and unlock one at a time in any order.
I used a somewhat simple version, but can make a better one if needed.
this is a good challenge, i love games with this mechanic
Point in case of a game with this mechanic - Hour of the Rat by Sokpop:
Dawg. How can the animation be that smooth?
I suppose I win? I was the only submission and it’s been a week
Heh forgot about this, been busy with finals all week, I’ll get this in later today
i have a very good expert coding challenge idea @JR01
I slowly forgot about this, been meaning to come back to this but I just been busy with life. I want to bring this back for monthly challenges starting January next month.
As for the Answer for the last challenge, @SwordScript was the only submission but his method is the correct answer for this challenge.
hi @JR01 ! I am on a team for flowjam 2025, but I don’t know how to make an enemy attack the player
Please make a new post about the issue and with the game link.
This topic was made so I could make a coding challenge for people to do in flowlab.
oh ok sorry, what are we doing next month?
We will have to wait and see, I’ll start after the flowjam finishes up.
I hope its easy because I’m a free user
I broke my Chromebook so now I’m using another one, and luckily my dad didn’t get
mad!
but good news!!! I’m back and my dad isn’t going to “cancel Christmas”
2025 Monthly Challenge - January
Rules:
- Do not use my code or my examples, I will know and will make adjustments to the challenge.
- If you already have the code for the challenge, I request to make it from scratch.
- The answer can be a game link or a screenshot (Win+Shift+S).
- When posting an answer, please use the Hide Details function (in the gear icon).
-
-
[details="Answer"] Paste you answer screenshot here. [/details]
-
Beginner Challenge:
“Coint Counter”
Share a screenshot of making a coint counter. When collecting a coin, the counter should count up by 1. When you move to the next level, you should still have the coin count from the previous level. And finally, when you restart the current level, the coint count should reset for not finishing the level. This can be done with several number blocks, collision blocks, and some global or save blocks. (Tip: Never save/set and load/get numbers from the same save block or same global block, use multiple blocks with the same name for this.)
what if it were to be rings instead of coins?