Re-Introduction
Posted: Mon Jul 25, 2011 10:17 pm
For some reason I have become interested in löve again, the last time I messed with it was last summer. It's sort of cool seeing all the old users from then... Everybody was really nice and patient with me, and I hope everyone will still be patient because I have forgot everything. I took a Flash class last semester, and I hope some of that will help me.
Anyways... I'm trying to recreate a toy I made in flash, where a ball would bounce around with simple physics, you could hit different buttons and it would toggle wind, the size of the ball, etc.
There was a way I could simulate acceleration, by making the x of the ball equal a variable, and the y a variable also. Then to simulate gravity I would do something like "dx = dx + 1" (where dx was the variable of x). The ball would speed up, instead of having the speed remain constant. If anyone knows how I can define variables like that, I would appreciate the help.
Anyways, I hope to actually stick with the program this time, so I could make some (semi) amusing games.
EDIT: I just remembered the "obey" thing again, I'll get to working on an avi now
Anyways... I'm trying to recreate a toy I made in flash, where a ball would bounce around with simple physics, you could hit different buttons and it would toggle wind, the size of the ball, etc.
There was a way I could simulate acceleration, by making the x of the ball equal a variable, and the y a variable also. Then to simulate gravity I would do something like "dx = dx + 1" (where dx was the variable of x). The ball would speed up, instead of having the speed remain constant. If anyone knows how I can define variables like that, I would appreciate the help.
Anyways, I hope to actually stick with the program this time, so I could make some (semi) amusing games.
EDIT: I just remembered the "obey" thing again, I'll get to working on an avi now