Search found 36 matches
- Sun Jun 16, 2013 5:32 am
- Forum: Support and Development
- Topic: Looping problem
- Replies: 4
- Views: 1973
Re: Looping problem
Thanks! This solved my problem! :awesome: Still can't figure out what's wrong with that scenario, though, since I create the tables if it's not there. :P Why? That's a very bad way of going about a solution. You need to check if there is tiles on all 4 sides before you try and use it in your formul...
- Sun Jun 16, 2013 2:09 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1510972
Re: What's everyone working on? (tigsource inspired)
All is going well on the planetary defence portion of my game... I can shoot bullets, launch missles, create structures, etc.
Only outstanding issue is trying to clamp the rotation on my turrets (White Line in the picture) in which I am being blatantly ignored in my help thread...
Only outstanding issue is trying to clamp the rotation on my turrets (White Line in the picture) in which I am being blatantly ignored in my help thread...
- Sat Jun 15, 2013 7:27 pm
- Forum: Support and Development
- Topic: Looping problem
- Replies: 4
- Views: 1973
Re: Looping problem
In line 46 of Main.lua you are breaking the loop and allowing more executions. You're naming conventions are horrible, so I don't know what variable is what. I assume you want to 'return' there instead, which solved your issue. After the 4th iteration I ran into an error on line 84 in tile.lua in wh...
- Sat Jun 15, 2013 7:18 pm
- Forum: Support and Development
- Topic: Tutorial on bullets?
- Replies: 6
- Views: 5265
Re: Tutorial on bullets?
Need more info on what you need. Are you launching bullets from turrets, guns, players, etc. Is Rotation a factor in your implementation? Are there dynamic offsets of the bullets location? Is the bullet "homing" in on its target?
- Sat Jun 15, 2013 7:15 pm
- Forum: Support and Development
- Topic: Bullet
- Replies: 2
- Views: 1138
Re: Bullet
In main.lua you have
which should be
Code: Select all
if love.keyboard.isDown == "a" then
_fireBullet()
end
Code: Select all
if love.keyboard.isDown("a") then
_fireBullet()
end
- Sat Jun 15, 2013 4:43 am
- Forum: Support and Development
- Topic: Help with comparing rotations beyond +-Pi
- Replies: 5
- Views: 3377
Help with comparing rotations beyond +-Pi
For future reference '+-" means positive or negative Hello everyone, So I have attempted to come up with a solution on my own but no dice. I am essentially trying to create a turret that can only rotate X degrees from its original orientation. It works fine for any values between 0 and +-(X - ...
- Sat Jun 15, 2013 1:02 am
- Forum: Games and Creations
- Topic: Mr. BallGuy 2!!!! ***V0.1.1 ALPHA***
- Replies: 23
- Views: 9318
Re: Mr. BallGuy 2!!!! ***V0.1.0 ALPHA***
It gets to a point where you can't possibly go any further without dying as Mr. BallGuy takes too long to hit the floor before I can jump again, thus forcing me to hit the next red ball because I haven't landed yet.
- Thu Jun 13, 2013 7:57 pm
- Forum: General
- Topic: Using the canvas?
- Replies: 1
- Views: 1169
Using the canvas?
I'm hoping that this is the last technical question I will have regarding specific functions or portions of LOVE. I saw the Canvas class and I was a bit confused about something it mentioned: By drawing things that do not change position often (such as background items) to the Canvas, and then drawi...
- Thu Jun 13, 2013 7:49 pm
- Forum: General
- Topic: How did you find LÖVE?
- Replies: 60
- Views: 18527
Re: How did you find LÖVE?
After having messed with XNA to no avail and requirements for overcomplicated math that I have no intent to understand until taught (AKA. Quaternions and rotational matrices...) I decided to start simple. I told myself I needed to abandon my excessively intricate video game designs that involve larg...
- Thu Jun 13, 2013 12:43 am
- Forum: General
- Topic: Lua Coroutines in games?
- Replies: 4
- Views: 3866
Re: Lua Coroutines in games?
Coroutines are about describing sequential events using code, rather than using data structures. I understood everything but this. Could you elaborate please? I'm sitting in a 4 hour long Algorithm Analysis course bored out of my mind... so my brain is not all there at the moment. EDIT: Nevermind. ...