プレイ日記
DerpTias SneekATTACK11
i bet there is a better way to do this...
3そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Protip: You should rename A1 and A2 to be more descriptive of their purpose. In other words, if they're coordinates, you should name them something like AX and AY. Also, if you mean an easier way to modify the Y-coordinate when jumping, you can aid yourself with a bit of physics. I'm not sure, but I think most schools start teaching free fall physics at around 10th grade.
1そうだね
プレイ済み
返信[2]
親投稿
Oscar PwnageBlock
You'll need to use concepts such as velocity and acceleration. You could program the jump as an increase in upwards velocity, making the object go upwards until the acceleration turns the velocity downwards. Of course, this is only my approach. You could probably use easier methods for jumping, but I think using physics is the most realistic way to make jumps.
1そうだね
プレイ済み
返信[3]
親投稿
DerpTias SneekATTACK11
yeah, im in grade 6.. XP - am i too young to be programming on here X/
0そうだね
プレイ済み