JR 01's Monthly Coding Challenge 2025

February Challenge Answer

Answers

Beginner Challenge: Point and Shoot

Intermediate Challenge: Staying on a Platform

Expert Challenge: Calculate Zoom between 2 Objects

This can also be simply done in a single Expression with the code below:

var WidthZoom = A/Math.abs(E-C)*100;
var HightZoom = B/Math.abs(F-D)*100;
var ZoomOut = Math.min(WidthZoom,HightZoom);
ZoomOut < 100? ZoomOut:100

Expression Challenge: Extracting Digits

There are technically 3 ways to do this, depending how you can convert to text variables in haxe. Expession uses haxe so we can use text variables to modify a number. The .charAt(A) function allows you to grab the value at index A (index starting at 0). But before using text function, the value must be text variable in which the answers show 3 ways to turn the number into a text variable (A+""), Std.string(A), and A.toString().

(A+"").charAt(1)
Std.string(A).charAt(1)
A.toString().charAt(1)
6 Likes

oh, hey JR01! good to see you! I’m excited to see what this months challenge is

1 Like

Sorry I’m late, life has been very busy.
But you still have 20 days to figure these out so have fun and good luck!


2025 Monthly Challenge - March

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 here [/details]

Beginner Challenge:

“Particle Effects”

Post a screenshot of the particles physics shape settings and the code used to create the particles. Code should emit 10 particles in all directions randomly all on once.

image

Intermediate Challenge:

“Real Interpolation / Lerp”

Post a screenshots and the math on how you could create a lerp that updates itself. I have created many bundles with this, but its more fun figuring this out yourself. I would also suggest looking at Grazer “interpolation camera” example and study why its not exactly perfect and what would you do to make it perfect. And in general googling lerps.

image

Expert Challenge:

“Making Rope / Lines”

Here’s a fun challenge for experts and veterans, make a Line / Rope system using 4 objects. Those objects are Start, End, Points, and Rope art. This can also be done with joints, but if you want a bigger challenge then try to do this without joints. I helped make the line systems for Hidden Depth and Hooks.

image

Expression Challenge:

“Extracting Length”

Using Haxe, extract the length of numbers from 37469, which should be 5.
This should be done without math.

image

6 Likes

Ooh, I like this one. I will attempt the line one later, but here is my expression one.

My Answer

2 Likes

The rope could also all be done with one object if you want go for easy to import method
(It’s harder tho so it’s an even extra challenge)

3 Likes