Search found 44 matches
- Wed May 30, 2012 1:02 am
- Forum: Libraries and Tools
- Topic: Finished Dubstep U.S. History Project
- Replies: 1
- Views: 1141
Re: Finished Dubstep U.S. History Project
Lol, hilarious. Why isn't there a download link?
- Wed May 30, 2012 12:45 am
- Forum: Support and Development
- Topic: To Trigger Animations At Certain Times - help?
- Replies: 9
- Views: 5994
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 ...
- Mon May 28, 2012 5:43 am
- Forum: Support and Development
- Topic: To Trigger Animations At Certain Times - help?
- Replies: 9
- Views: 5994
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...
- Sun May 27, 2012 11:15 pm
- Forum: Support and Development
- Topic: To Trigger Animations At Certain Times - help?
- Replies: 9
- Views: 5994
Re: To Trigger Animations At Certain Times
bump, please help guys.
- Sun May 27, 2012 5:08 am
- Forum: Support and Development
- Topic: To Trigger Animations At Certain Times - help?
- Replies: 9
- Views: 5994
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 ...
- Sun May 27, 2012 1:47 am
- Forum: Support and Development
- Topic: .exe does not work in windows xp
- Replies: 11
- Views: 10563
.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...
- Fri May 18, 2012 11:56 pm
- Forum: Support and Development
- Topic: setting colors for individual objects.
- Replies: 9
- Views: 5054
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 th...
- Fri May 18, 2012 11:40 pm
- Forum: Support and Development
- Topic: setting colors for individual objects.
- Replies: 9
- Views: 5054
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 ...
- Fri May 18, 2012 11:19 pm
- Forum: Support and Development
- Topic: setting colors for individual objects.
- Replies: 9
- Views: 5054
Re: setting colors for individual objects.
I tried that, and it didn't work. Everything is still black.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()
- Fri May 18, 2012 11:03 pm
- Forum: Support and Development
- Topic: setting colors for individual objects.
- Replies: 9
- Views: 5054
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?