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().
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.
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.
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.
Expression Challenge:
“Extracting Length”
Using Haxe, extract the length of numbers from 37469, which should be 5.
This should be done without math.