I was wondering if when I set things such as a variable value, is it less burden on the CPU if I use an expression to check another value or a condition?
It doesn't matter. The only thing the cpu has to worry about is how many operations it has to carry out each tick.
Like Newt said, it's really not going to make any difference at all. Check out this post from Ashley if you haven't already. https://www.scirra.com/blog/83/optimisa ... -your-time
Develop games in your browser. Powerful, performant & highly capable.
I actually have to be careful with my events in mine because they can drop the FPS to 20 if they are done wrong.
EDIT: When done right, my game can run around 55-59 FPS during normal circumstances of an action-heavy area.
That sounds like some kind of looping issue. It would be interesting to see the code you're using to get 20 FPS vs 55-59 FPS.
It's because I have a million things going on at once and need to order conditions very precisely or too much needless crap is being processed at once.