Block shooter githup9/19/2023 Ok so lets explain things a bit, on start of layout we give the ball a push, the push itself since the ball has the bullet behavior, it automatically moves towards the angle direction the ball has, so we change that to a random(230,320) that will push on start of layout the ball towards the angle left 45 degress upwards to 45 degrees right upwards. Once we placed them in the screen editor like in the following image: Lets explain why 2 tiled backgrounds: 1st one will use it as walls, the 2nd one will use it as the show/hide ball deflector as i like to call it. Then we add the 2 tiled backgrounds, and set their frame or image to 32x32 and what color you want. The we add the sprite object create a frame that represents a circle or a dot around the size of 32 x 32 px choose any color, myself i choose'd to design the game in a monochrome pallet (B&W). (we will use 2 sprite fonts, for score and hiscore indication)įirst we create a new Landscape, or Portrait project, i choose'd a Portrait one since the game is minimalist by itself and doesn't require to much graphics or info on sides. Hi, wanted to show for those who dont know C2 very well yet, how they can make a Block It Type of game under 10 events.Ģ local variables on the sprite object (score,hiscore)Īnd 1 text or 2 depends how much info you want to display, i used 2 sprite fonts in my example.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |