Page 1 of 2
Physics with Pinkie Pie!!
Posted: Wed Mar 21, 2012 11:46 pm
by jradich
With my latest coding project, I have decided to combine two things I like: My Little Pony and Love coding.
It's a pretty known fact that Pinkie Pie is the most random pony ever. So with her personality, I thought I would do some 'common cartoon physics' examples using Pinkie Pie. Right now, all I have is normal Pinkie and 'WHEN A PERSON SMELLS DELICIOUS FOOD FLOATING THINGY'(i hope you understand that).
Anyway, check the .love!
Oh and controls.... a moves to the left, d moves to the right, space jumps, x goes to the next 'PHYSICS EXAMPLE'
Re: Physics with Pinkie Pie!!
Posted: Thu Mar 22, 2012 12:38 am
by Kingdaro
movement is extremely slow, and the jumping on the first example is very unrealistic. it should use a decreasing velocity variable to simulate the effect of gravity.
Re: Physics with Pinkie Pie!!
Posted: Thu Mar 22, 2012 12:39 am
by veethree
There are bronies everywhere.
As far as the project, It's nice. Would be nicer if you could hold d or a and the pony would keep moving not just take one step. And the gravity is a little slow in my opinion. The sprites are nice though, did you make them yourself?
Re: Physics with Pinkie Pie!!
Posted: Thu Mar 22, 2012 12:50 am
by jradich
veethree wrote:There are bronies everywhere.
As far as the project, It's nice. Would be nicer if you could hold d or a and the pony would keep moving not just take one step. And the gravity is a little slow in my opinion. The sprites are nice though, did you make them yourself?
A guy named Dragonshy on the MLP forums gave em to me. KINGDARO, I'll get on that.
Re: Physics with Pinkie Pie!!
Posted: Thu Mar 22, 2012 1:43 am
by TechnoCat
When I press space and x, Pinky Pie just goes up into the air and stays there.
Other than that, probably should have used Fluttershy. Fluttershy is way better.
Re: Physics with Pinkie Pie!!
Posted: Thu Mar 22, 2012 1:51 am
by jradich
TechnoCat wrote:When I press space and x, Pinky Pie just goes up into the air and stays there.
Other than that, probably should have used Fluttershy. Fluttershy is way better.
REALLY... hmm.... I have an update... I'll attach it.
EDIT: Add this to smell.lua instead of the default function.
Code: Select all
function pinkie_smell(dt)--You know cartoons where a guy like smells a pie or something? This is it.
if gamestate==2 then
if x<550 then
turn=false
right=true
y=440
number=2
x=x+(speed*dt)
end
end
if x>=550 and gamestate==2 then
right=false
y=476
number=1
shit='DELICIOUS OMNOMNOM'
end
end
Re: Physics with Pinkie Pie!!
Posted: Thu Mar 22, 2012 2:54 am
by TechnoCat
Re: Physics with Pinkie Pie!!
Posted: Thu Mar 22, 2012 7:40 pm
by jradich
TechnoCat wrote:
UMMM....... Try this???
http://dl.dropbox.com/u/67827108/bllooooopp.love
To go into the smell thingy, you have to jump then press x.
Re: Physics with Pinkie Pie!!
Posted: Fri Mar 23, 2012 12:23 am
by TechnoCat
jradich wrote:To go into the smell thingy, you have to jump then press x.
Is it supposed to be so slow?
Re: Physics with Pinkie Pie!!
Posted: Fri Mar 23, 2012 12:43 am
by jradich
TechnoCat wrote:jradich wrote:To go into the smell thingy, you have to jump then press x.
Is it supposed to be so slow?
At the moment, I wasn't going for speed. But now, I'm actually going to add animations to it, and make everything MUCH MUCH FASTER. Even the smell thing.