Search found 5 matches

by Jankko
January 12th, 2021, 4:56 pm
Forum: Everything
Topic: FartAnnoyed - Rect not getting assigned values?
Replies: 3
Views: 3202

Re: FartAnnoyed - Rect not getting assigned values?

Forgot to say thank you, that indeed did the trick. Thank you guys.
by Jankko
December 16th, 2020, 8:24 pm
Forum: Everything
Topic: FartAnnoyed - Rect not getting assigned values?
Replies: 3
Views: 3202

FartAnnoyed - Rect not getting assigned values?

Hi friends, just having kinda seizure already from this, even though it will probably end up being something really stupid. Basically I'm doing the 1st part of FartAnnoyed (beginner 20.1) and when I was about to test the wall collision of the ball, I was getting insta errors so I debugged to the cor...
by Jankko
November 5th, 2020, 10:02 am
Forum: Everything
Topic: Beginner T17 <chrono> FPS explanation
Replies: 5
Views: 3706

Re: Beginner T17 <chrono> FPS explanation

I think i got it, you know I feel really dumb now, what i didn't understand is that the sprite moves by the time. Basically the more time the cycle takes, the more the sprite moves right, e.g. the cycle would for some reason take 3 seconds and the speed of the sprite was set to 3px it would move by ...
by Jankko
November 4th, 2020, 10:12 am
Forum: Everything
Topic: Beginner T17 <chrono> FPS explanation
Replies: 5
Views: 3706

Re: Beginner T17 <chrono> FPS explanation

So basically it doesn't get influenced by the refresh rate of the screen because even if you had 120fps screen the time between the cycles would get to 0.015 so it would move by 1.5px but 120 times per second so it will end up the same as 60fps with 0.03 between the cycles, is that right? tl;dr 120 ...
by Jankko
November 3rd, 2020, 9:36 am
Forum: Everything
Topic: Beginner T17 <chrono> FPS explanation
Replies: 5
Views: 3706

Beginner T17 <chrono> FPS explanation

Hello fellow programmers, I'm seeking help with understanding of how exactly does the transfer to FPS logic work in tutorial 17. I understand, that the function measures the time between each frame which is e.g. 0.03 sec but how does it make exactly 1 sec. from that (so that the sprites move by give...