Just like we say in Mexico You are tremendo! thanks for the explain!.
@alizohaibibn2 жыл бұрын
Awesome Man!
@mooict2 жыл бұрын
Thanks Ali
@Metaconta8 ай бұрын
¿Por qué no haces que se mueva el cuadrado rojo en diagonal? Por ejemplo, pulsando las felcas arriba y derecha al mismo tiempo.
@generalbenekli27882 жыл бұрын
Thank you
@suheylbaykal65923 жыл бұрын
I have watched this video many times to figure out what x stands for at 11:00. still a really useful video though
@mooict3 жыл бұрын
X is a temp variable inside the loop only. It will go through all of the picture boxes and we can use that temp variable to identify other picture boxes that the blue box will interact with. This way we won't need separate of statements for each one we can do all of the collision detection inside this loop.
@suheylbaykal65923 жыл бұрын
@@mooict i figured it out and it all works, thanks for the tutorial!
@andreymanlapig85843 жыл бұрын
how would i make the pic box stop moving when it hits an obj. i tried making its speed negative while intersecting so it would just look like its bouncing back but the problem is that it only reads 1 object not all picture boxes
@marekmanzel58033 жыл бұрын
i want to know too
@AquaDragon66293 жыл бұрын
I'm here for the exact same reason, but this seems like a bit of a copy past job of this article - minus the jumping. Because I was using the same one trying to learn collisions. www.mooict.com/c-tutorial-create-a-simple-platform-game-in-visual-studio/
@abezth7506 Жыл бұрын
Hi, how do you check if it has collided with them two times and/or twice in a row, where only after one of those conditions it changes color?
@ramzes57103 жыл бұрын
I like your videos!!! You are awesome )
@mooict3 жыл бұрын
Thanks 😌
@mcprods7633 жыл бұрын
Hey @Moo ICT can u tell me how to make the picture boxes spawn in random places and disappear when I hit them?
@mooict3 жыл бұрын
Hi, I've done tutorial recently randomly spawning in a form and you can click to remove them from it. Tutorial is here - kzbin.info/www/bejne/aKunfJZ-qcR7o8k. Also I have completed another one where you can move a picture box around with the arrow keys, random objects are spawning in the form, you can collide or collect them. When player collides with other objects, objects are removed. It will be on KZbin in few days.
@mcprods7633 жыл бұрын
@@mooict thx bro it helped me a lot can you make a tutorial where you explain the restart function of your games pls?
@inayatkhan20614 жыл бұрын
how to make it stop hitting other object?
@mooict4 жыл бұрын
In what context? If you move the blue PictureBox away from the other ones it will stop the hit test, it will only trigger when the objects are overlapping
@AquaDragon66293 жыл бұрын
@@mooict I think what he means is - he wants the controllable block to stop when it collides with the other one, and then continue to move in the other direction. I'm here for the exact same reason, but this seems like a bit of a copy past job of this article - minus the jumping. Because I was using the same one trying to learn collisions. www.mooict.com/c-tutorial-create-a-simple-platform-game-in-visual-studio/