Search found 44 matches

by worldaway
Wed May 30, 2012 1:02 am
Forum: Libraries and Tools
Topic: Finished Dubstep U.S. History Project
Replies: 1
Views: 393

Re: Finished Dubstep U.S. History Project

Lol, hilarious. Why isn't there a download link?
by worldaway
Wed May 30, 2012 12:45 am
Forum: Support and Development
Topic: To Trigger Animations At Certain Times - help?
Replies: 9
Views: 1556

Re: To Trigger Animations At Certain Times - help?

Maybe something like: for q,r in ipairs(enemies) do anim:draw(r.x, r.y) end Or of that nature? I still can barely follow all your code. You may need to change it for whatever property the ones just shot have. Yah, I was thinking of that kind of thing, but It wouldn't work. I used for i,v in ipairs ...
by worldaway
Mon May 28, 2012 5:43 am
Forum: Support and Development
Topic: To Trigger Animations At Certain Times - help?
Replies: 9
Views: 1556

Re: To Trigger Animations At Certain Times

So I figured out how to trigger the animation when the bullet hits the enemy, but now I can't figure out how to make the explosion trigger in the appropriate place. I tried (in function drawGame): anim:draw (enemy.x, enemy.y) But that only applies to the last enemy in the row. I need a way for all o...
by worldaway
Sun May 27, 2012 11:15 pm
Forum: Support and Development
Topic: To Trigger Animations At Certain Times - help?
Replies: 9
Views: 1556

Re: To Trigger Animations At Certain Times

bump, please help guys.
by worldaway
Sun May 27, 2012 5:08 am
Forum: Support and Development
Topic: To Trigger Animations At Certain Times - help?
Replies: 9
Views: 1556

To Trigger Animations At Certain Times - help?

I have a game, and I want it to work so that when you shoot an enemy, an explosion animation goes off at the position of the enemy (the enemy explodes). But I cant seem to get it right. I am using "AnAL" by the way. This is the area of my code where I am guessing I have to print something to trigger...
by worldaway
Sun May 27, 2012 1:47 am
Forum: Support and Development
Topic: .exe does not work in windows xp
Replies: 11
Views: 4473

.exe does not work in windows xp

I compiled my program in windows 7 64bit, and it works fine as an exe. I then transferred it over to a windows xp computer, and it does not work correctly. The music loads in and is playing, but none of the graphics are there in the framed window. Is this something to do with 64 bit vs. 32 bit OS? D...
by worldaway
Fri May 18, 2012 11:56 pm
Forum: Support and Development
Topic: setting colors for individual objects.
Replies: 9
Views: 1440

Re: setting colors for individual objects.

The way love.graphics.setColor() works is that after you've called it, It will draw everything drawn after it's been called that color. So this: love.graphics.setColor(0, 0, 0) love.graphics.print("Your text", 10, 10) love.graphics.rectangle("fill", 10, 10, 10, 10) Would draw the both the rectangle...
by worldaway
Fri May 18, 2012 11:40 pm
Forum: Support and Development
Topic: setting colors for individual objects.
Replies: 9
Views: 1440

Re: setting colors for individual objects.

Hmm..Can you show me some code? maybe you just need to set the background color in the load function? world = love.physics.newWorld(0, 0, true) love.graphics.setBackgroundColor(255, 255, 255) --white No, I have an image as the background. I don't know of you want to look through all my code, there ...
by worldaway
Fri May 18, 2012 11:19 pm
Forum: Support and Development
Topic: setting colors for individual objects.
Replies: 9
Views: 1440

Re: setting colors for individual objects.

juno wrote:before you use setColor put love.graphics.push()
and after you print the text put love.graphics.pop()

Code: Select all

	love.graphics.push()
		love.graphics.setColor(0, 0, 0)
		love.graphics.print("text",0,0,0,1,1,1)	
	love.graphics.pop()
I tried that, and it didn't work. Everything is still black.
by worldaway
Fri May 18, 2012 11:03 pm
Forum: Support and Development
Topic: setting colors for individual objects.
Replies: 9
Views: 1440

setting colors for individual objects.

I'm trying to just get the text on the screen to be a different color, but when I use "love.grapics.setColor (0,0,0)" It just turns everything black. Is there a way to set a color for an individual object?