Crossy road processing code12/6/2023 int screenWidth // how many cells wide the screen is You need a few special variables for that. Other than that, it's simply a matter of using a bit of math to offset the area you're drawing to only the location around the player. If done wrong, you might come to a point where you can't get through to the next area no matter what you do. Once that works, start a new sketch and try to make something that looks like a grid.The real problem is going to be the procedural generation, creating the new hazards on-the-fly as the player makes their way through the areas. Use it to draw multiple circles on your screen. Try to make your own small exercises so you get more familiar with how it works. Try to understand certain functionalities by experimenting with it in different ways. Instead play around with it, code your own sketches. You won’t learn that much by just looking at examples. If you see certain functions that you’re unfamiliar with, look it up on the reference page.Īlso make sure you experiment a lot with coding. Go to the tutorial page and study the tutorials of which you think that might come in handy for your game. What I suggest is updating your basic knowledge. As kll mentioned we can’t give you the answers, but if you show us you’re dedicated and willing to learn, there are many people on this forum who’d love to guide you along the way. That 60 should be easy to obtain if you put time and effort in it.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |