Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: _player1537 on March 12, 2010, 08:49:16 pm
-
I am wanting to make a program that will simulate physics, but the ones I found I could not understand the source code. Can anyone help me. I want to make something like the sonic physics program in the axe section, so that it has friction and jumping/gravity.
-
I think this is the program you're referring to, right?
http://ourl.ca/4250
Builderboy, I'm also curious. Could you explain what each little section does so it makes sense?
Builderboy is also the programmer of Peggle, another awesome physics game. It's in Basic, but I'd still recommend looking at it. :)
Peggle: http://tibasicdev.wikidot.com/archives:peggle
Builderboy, you're really good at programs like this. :) Do you mind sharing your methods? ;D
-
I was specifically saying this program http://ourl.ca/4161/76877 (http://ourl.ca/4161/76877) but those programs are good examples too, builderboy could you please tell your secrets?
-
I'm just going to take a guess and what part of the engine's could be (I have no idea and could be very wrong :P). But it could be something like testing the number of pixels that it is touching/going through/etc. and then just simply applying that to a physics equation (like applying something that calculates gravity). Just a guess :)
-
I was specifically saying this program http://ourl.ca/4161/76877 (http://ourl.ca/4161/76877) but those programs are good examples too, builderboy could you please tell your secrets?
Oh, that's right. I forgot about that one. Sorry. :)
And the great thing is, is it's still by Builderboy. ;D
-
Btw this one runs much faster on calc than it does in the screenshot. I get like 30 frames per second at least.
It's quite buggy, though :(
-
* Builderboy begins work on a physics tutorial *
Since that seems to be my strong suit, writing engines :)
-
/me wonders if he will make Sonic...
-
*Meishe thanks Builderboy for starting said tutorial* O0
-
*Meishe thanks Builderboy for starting said tutorial* O0
*Player_ thanks Builderboy as well*
-
*Meishe thanks Builderboy for starting said tutorial* O0
*Player_ thanks Builderboy as well*
*ZTrumpet thanks Builderboy as well and asks that examples from Peggle be included* ;D
-
*Meishe thanks Builderboy for starting said tutorial* O0
*Player_ thanks Builderboy as well*
*ZTrumpet thanks Builderboy as well and asks that examples from Peggle be included* ;D
*Player_ also asks for examples from Portal X* :)