Thanks a lot for teaching us! To come up with the right answer, there are 128 pixels to count, if we divide by 2, we get 2 parts of 64 with no pixel in the middle. The middle of the pico-8 screen have no pixel and is surrounded by 4 pixels at the followed coordinates : (63,63), (64,64), (63,64), (64,63). 👨🌾
A fantastic series Nerdy Teacher, I've been recommending your videos to my coding club, a number of them are diligently following your platformer tutorial and watching these introductory lesson. Thank you!
Thank you for the video. I tried learning graphics programming with qbasic back in the 80's . At the time no internet resources were around and I was too lazy to get a book. I don't understand why the inventors could not just use the same plotting system as we were taught in school quadrant 1 . Who knew I had to wait 48 years later to learn more about it.
OK I know this is late, but here's my answer. The center of the screen actually has 4 pixels, because a 128*128 grid divides evenly. If we divide 128 by 2 and subtract 1, we get 63. This gives is the "center" coordinate closest to the top left corner, or the origin. If we move one pixel right, one down, and then one down AND right to get closer to the other corners, we get 4 center coordinates: (63,63), (64,63), (63,64), and (64,64). Putting the sprinkler in any of those four spots should do the trick.
Transform this problem into one dimension. 128 is an even number, so there is no way to find the number in the middle. Put it in a plane coordinate system, there are four pixels in the middle. They are:(63.63)(64.63)(64,63)(64,64)
1:07, or you could just say, "its the only Castle that can be found on an island." Or maybe its the castle that below a mountain range, Or, its a castle that is to the left of a river. Or. the castle near a peninsula. Where an island is viable near by. Ya' know like how people talk... How often have you found someone telling you how to find a place, on land, like this: 31° 46' 37.6" N, 40° 14' 58.7" W. Technically this is correct but not very practical. 😜
@@whtiequillBj True, that is more natural, but what is natural and practical in spoken English is not always the most efficient. Don't just consider what is easier to say, but also the time it takes to find a location by a description vs by coordinates. If coordinates are understood well, then they are both efficient and simple. Consider how the military changes our natural language to be as efficient/accurate as possible: when talking about time (1300), when spelling (alpha, bravo), and when locating (coordinates). Since we are learning to code, thinking with efficiency and accuracy is more important than our natural language tendencies.
Old Farmer: "Oh I see, it's not just one point? Could you try to explain why? If I don't understand I'll never remember and I'll just go back to puttin the sprinkler in the top left corner of the field."
@@SUNNY-BB you can divide an even number in two equal groups and you wont have a spare number in the middle. For example 4->2+2, no middle element while 5->2+1+2
@@NerdyTeachers max = 128 slices = 2 (middle) origin = 1 (position to index conversion) (max / slices) - origin (128 / 2) - 1 (64) - 1 63 * note also that the max is pair... so we have 64 in each side (x and y)... so max value could be also (65) in other 64 side direction, but we can simply use the first by standard (because of "integer" number of 64.5 is 64) use (64) max value (to convert into its index value) *
Thanks a lot for teaching us! To come up with the right answer, there are 128 pixels to count, if we divide by 2, we get 2 parts of 64 with no pixel in the middle. The middle of the pico-8 screen have no pixel and is surrounded by 4 pixels at the followed coordinates : (63,63), (64,64), (63,64), (64,63). 👨🌾
A fantastic series Nerdy Teacher, I've been recommending your videos to my coding club, a number of them are diligently following your platformer tutorial and watching these introductory lesson. Thank you!
Thank you! Glad to hear that because our goal is to see PICO-8 used in more schools and coding clubs and we hope this series makes that much easier.
Exceptional video. Please keep it up!
Thank you for the video. I tried learning graphics programming with qbasic back in the 80's . At the time no internet resources were around and I was too lazy to get a book. I don't understand why the inventors could not just use the same plotting system as we were taught in school quadrant 1 . Who knew I had to wait 48 years later to learn more about it.
OK I know this is late, but here's my answer.
The center of the screen actually has 4 pixels, because a 128*128 grid divides evenly. If we divide 128 by 2 and subtract 1, we get 63. This gives is the "center" coordinate closest to the top left corner, or the origin. If we move one pixel right, one down, and then one down AND right to get closer to the other corners, we get 4 center coordinates: (63,63), (64,63), (63,64), and (64,64).
Putting the sprinkler in any of those four spots should do the trick.
thought this was about coordinates on five screens and how it works, didn’t realize this was a series LMAO
Me too🤣
me too, i randomly got this recommended to me
Transform this problem into one dimension. 128 is an even number, so there is no way to find the number in the middle. Put it in a plane coordinate system, there are four pixels in the middle. They are:(63.63)(64.63)(64,63)(64,64)
1:07, or you could just say, "its the only Castle that can be found on an island."
Or maybe its the castle that below a mountain range,
Or, its a castle that is to the left of a river.
Or. the castle near a peninsula. Where an island is viable near by. Ya' know like how people talk...
How often have you found someone telling you how to find a place, on land, like this:
31° 46' 37.6" N, 40° 14' 58.7" W. Technically this is correct but not very practical. 😜
@@whtiequillBj True, that is more natural, but what is natural and practical in spoken English is not always the most efficient.
Don't just consider what is easier to say, but also the time it takes to find a location by a description vs by coordinates.
If coordinates are understood well, then they are both efficient and simple.
Consider how the military changes our natural language to be as efficient/accurate as possible: when talking about time (1300), when spelling (alpha, bravo), and when locating (coordinates).
Since we are learning to code, thinking with efficiency and accuracy is more important than our natural language tendencies.
(63,63),(63,64),(64,63),(64,64)? 🤔
Old Farmer: "Oh I see, it's not just one point? Could you try to explain why? If I don't understand I'll never remember and I'll just go back to puttin the sprinkler in the top left corner of the field."
@@NerdyTeachers Even numbers dont have a middle element old farmer! The mid point of 128 carrots is between carrots 63 and 64 ;)
@@Caracuan12 Asking in earnest: Why don't even numbers have a middle element? are they treated like odd numbers are irl?
@@SUNNY-BB you can divide an even number in two equal groups and you wont have a spare number in the middle. For example 4->2+2, no middle element while 5->2+1+2
@@Caracuan12 oh duh right hahaha thank you for the basic math lesson. I appreciate the quick answer
(63,63)
Old Farmer: "OK! I'll give that a shot, but if you don't teach me how to figure it out, then I won't remember....oh dear, oh dear..."
@@NerdyTeachers
max = 128
slices = 2 (middle)
origin = 1 (position to index conversion)
(max / slices) - origin
(128 / 2) - 1
(64) - 1
63
* note also that the max is pair... so we have 64 in each side (x and y)... so max value could be also (65) in other 64 side direction, but we can simply use the first by standard (because of "integer" number of 64.5 is 64) use (64) max value (to convert into its index value) *
(Y)