Physics with Pinkie Pie!!

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
jradich
Party member
Posts: 100
Joined: Mon Dec 12, 2011 8:44 pm

Physics with Pinkie Pie!!

Post 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'
Attachments
pinkiephysics.love
OBEY
(5.97 KiB) Downloaded 399 times
Losing a friend's trust is the fastest way to lose a friend, forever. FOREVER!
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: Physics with Pinkie Pie!!

Post 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.
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Re: Physics with Pinkie Pie!!

Post 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?
User avatar
jradich
Party member
Posts: 100
Joined: Mon Dec 12, 2011 8:44 pm

Re: Physics with Pinkie Pie!!

Post 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.
Losing a friend's trust is the fastest way to lose a friend, forever. FOREVER!
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Physics with Pinkie Pie!!

Post 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.
User avatar
jradich
Party member
Posts: 100
Joined: Mon Dec 12, 2011 8:44 pm

Re: Physics with Pinkie Pie!!

Post 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
Attachments
pinkie.love
(6.15 KiB) Downloaded 175 times
Losing a friend's trust is the fastest way to lose a friend, forever. FOREVER!
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Physics with Pinkie Pie!!

Post by TechnoCat »

User avatar
jradich
Party member
Posts: 100
Joined: Mon Dec 12, 2011 8:44 pm

Re: Physics with Pinkie Pie!!

Post 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.
Losing a friend's trust is the fastest way to lose a friend, forever. FOREVER!
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Physics with Pinkie Pie!!

Post by TechnoCat »

jradich wrote:To go into the smell thingy, you have to jump then press x.
Is it supposed to be so slow?
User avatar
jradich
Party member
Posts: 100
Joined: Mon Dec 12, 2011 8:44 pm

Re: Physics with Pinkie Pie!!

Post 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.
Losing a friend's trust is the fastest way to lose a friend, forever. FOREVER!
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests