I went to the listed address but there was nothing there. There is no explanation. How do I know what the problem is so I can fix it?
Hi
I uploaded a game. How long does it take to be on the site and how can I find it on site?
For example, for each value of variable 'a', a special subject should be created and different variables should be set.
Of course, I mean how to reduce the 'if' statement and use an alternative statement. Like the 'switch case' command in 'Game Maker'.
any body?
Example:
if(a==1)
{
somthings//////////////////
}
if(a==2)
if(a==3)
if(a==4)
if(a==5)
...
I want to compare the value of a variable several times and do something different for each value, but I don't want to use the if statement repeatedly. Is there a formula for its average?
It works. thank you
https://drive.google.com/file/d/1Rs0fP1OT9oaXemuT0G4BheM9xOI_avPp/view?usp=sharing
https://drive.google.com/file/d/1Rs0fP1OT9oaXemuT0G4BheM9xOI_avPp/view?usp=drive_link
Any one?
I want the objects to move from top to bottom and overlap each other in the game. This part is done right.
I also want that when one of the subjects is gone, the rest of them move down and fill the empty space, but this does not happen and the subjects remain in place.
Where do you think the problem comes from?
Develop games in your browser. Powerful, performant & highly capable.
Any body?
Member since 10 Sep, 2022