Unfortunate you stopped uploading, just finished this whole series and I have to say it was one of the best I've watched on UA-cam. Everything was explained well, succinctly, with good practical examples and suggestions of where to take things on your own. Great stuff.
there is a small bug; maxHeight is the max height of the whole array not the individual rows. You can see this clearly take effect at 9:06. Sorry if you already pointed this out in the vid. Thanks for all the tutorials
Wonder how I could convert this to a text box display. Such as a chat box. using (X) and (Y) doesn't help me understand the container that the rectangles are being introduced into. The rectangle are dependent on the object itself to get it's initial location. So this is my attempt. /// AlignText(startX, startY, _array, spacing, alignment, wrap) //NOTE: item.length, and item.width are assumed to be initialized by a value // language specific (GML) "argument#" == an argument passed to the function startX=argument0; startY=argument1; _array=argument2; spacing=argument3; alignment=argument4; wrap=argument5; numberOfItems=_array.size(); // assumes function returns the number of elements in array xpos=spacing; ypos=spacing; maxHeight=0; // find the tallest item in the group // that will be where the bottom is. for(i=0;i
I was in the same position myself. I honestly couldn't remember at least 1/2 of the math I learned in High School. However, I did manage to surprise myself when it came to how fast I was able to pick everything back up once I started going through the various math subjects, etc. Anyways, I've been going through the Math Tutorials at kahnacademy.com (Algebra I & II, Geometry, Trigonometry, Pre-Calculus, Calculus, physics, etc). You might want to give it a try, if you haven't already. Good Luck, Bro!!!
Unfortunate you stopped uploading, just finished this whole series and I have to say it was one of the best I've watched on UA-cam. Everything was explained well, succinctly, with good practical examples and suggestions of where to take things on your own. Great stuff.
regular viewer...seen almost all episodes. keep it up. Very good videos
there is a small bug; maxHeight is the max height of the whole array not the individual rows. You can see this clearly take effect at 9:06. Sorry if you already pointed this out in the vid. Thanks for all the tutorials
Hey man. Just wanted to say, you are doing a very very awesome job. Thanks so much.
Would love more videos!!
Thank you for this video!
Thanks a lot, curious what you would have taught about next!?
Wonder how I could convert this to a text box display. Such as a chat box. using (X) and (Y) doesn't help me understand the container that the rectangles are being introduced into. The rectangle are dependent on the object itself to get it's initial location. So this is my attempt.
/// AlignText(startX, startY, _array, spacing, alignment, wrap)
//NOTE: item.length, and item.width are assumed to be initialized by a value
// language specific (GML) "argument#" == an argument passed to the function
startX=argument0;
startY=argument1;
_array=argument2;
spacing=argument3;
alignment=argument4;
wrap=argument5;
numberOfItems=_array.size(); // assumes function returns the number of elements in array
xpos=spacing;
ypos=spacing;
maxHeight=0;
// find the tallest item in the group
// that will be where the bottom is.
for(i=0;i
Thank you for video.
How to add vertical scroll?
Hey to be honest, I didn't get most of it, is there anything wrong with my mathematics? What should I do to improve it?
I was in the same position myself. I honestly couldn't remember at least 1/2 of the math I learned in High School. However, I did manage to surprise myself when it came to how fast I was able to pick everything back up once I started going through the various math subjects, etc.
Anyways, I've been going through the Math Tutorials at kahnacademy.com (Algebra I & II, Geometry, Trigonometry, Pre-Calculus, Calculus, physics, etc).
You might want to give it a try, if you haven't already.
Good Luck, Bro!!!
Great job as usual !
This is awesome! You could make a method for displaying text using a font in a spritesheet or something.
Hadn't thought about that, but sure, text would work too. Each character has a width.
And this is where arguments about kerning and ligatures start. :)
or "discussions" :)
Hey now, argument isn't a bad word in my dictionary.
Good video as always!
There are episodes 57 and 58, but they aren't in this playlist. Go to his channel.
you could use a switch statement instead of an if statement to alignment
yeah, you could.
Did you find a new job? I remember a year or so ago you said you were looking.
Interesting