Search found 12 matches
- Sun May 05, 2013 7:39 pm
- Forum: Support and Development
- Topic: A function/tables question(I think?)
- Replies: 7
- Views: 7598
Re: A function/tables question(I think?)
Your code definitely confused me a bit, but the more I connect the dots, the more I can read it. I definitely love how you've set your code up...A million times more efficient than what I can do >.< My love file I figured out how to do what my initial question was thanks to Santos' little rant. The ...
- Sat May 04, 2013 5:26 pm
- Forum: Support and Development
- Topic: A function/tables question(I think?)
- Replies: 7
- Views: 7598
Re: A function/tables question(I think?)
Sorry it's such an ugly mess...I know I need to use metatables and whatnot, but they're confusing the hell out of me. For some reason no matter how many times I read over the page for the in the PIL, I can't figure it out. I understand what they allow, for the most part, I just can't figure out how ...
- Sat May 04, 2013 5:06 pm
- Forum: Support and Development
- Topic: A function/tables question(I think?)
- Replies: 7
- Views: 7598
A function/tables question(I think?)
I'm making a sort of 360degree space shooter(geowars, I guess) and I'm working on the enemy files right now. Rather than just explain the code, Here it is. enemies = {} enemies.spawnpoint={} enemies.type = {} enemies.type[1] = love.graphics.newImage("Images/redenemy1.png") enemies.type[2] ...
- Sun Mar 17, 2013 4:38 pm
- Forum: Support and Development
- Topic: A little question about particle systems
- Replies: 3
- Views: 2462
A little question about particle systems
Obviously when you draw a million images on a screen, it's going to lag. At least with Love2D. But how do games like Geometry Wars and Beat Hazard go about it? There's pretty much a trillion particles on the screen at times and no lag(or very little.) I'm just assuming they use really nicely animate...
- Wed Feb 13, 2013 4:03 am
- Forum: Support and Development
- Topic: Want to make the mouse the "forward" direction of the player
- Replies: 2
- Views: 2251
Want to make the mouse the "forward" direction of the player
So here's my game that I've been working on. I've taken a break from it for a week or two because I got frustrated with it but now I'm ready to learn more about Lua and Love(No idea how to make the accent there.) The reason I got frustrated is I want the player to move towards the mouse when they pr...
- Wed Feb 06, 2013 7:23 am
- Forum: Support and Development
- Topic: All sorts of questions on how to better my game.
- Replies: 3
- Views: 3548
All sorts of questions on how to better my game.
Colored Polygon Battles.love The game is called "Colored Polygon Battles" and it's quite obviously a Geometry Wars/Asteroids knock-off lol The controls are wasd to move, mouse to aim, right click to shoot and the scroll wheel to change colors. The premise of the game is that there will be...
- Sun Feb 03, 2013 5:48 pm
- Forum: Support and Development
- Topic: I can't figure out how to work this syntax...
- Replies: 2
- Views: 2061
Re: I can't figure out how to work this syntax...
I feel like a derp >.<
All I had to do was make a separate bullet table for the bullets and for the images
All I had to do was make a separate bullet table for the bullets and for the images
- Sun Feb 03, 2013 6:48 am
- Forum: Support and Development
- Topic: I can't figure out how to work this syntax...
- Replies: 2
- Views: 2061
I can't figure out how to work this syntax...
My code is pretty short and self explanatory, I think. The issue is in ship.lua with the bullet_spawn and the bullet_draw functions. I want to be able to have any amount of bullets each with their own unique images. You can use the scroll wheel to change ship colors, and thus change the bullet color...
- Fri Feb 01, 2013 8:43 pm
- Forum: Support and Development
- Topic: My first experiments with mouse detection and image rotation
- Replies: 4
- Views: 5011
Re: My first experiments with mouse detection and image rota
Awesome! I've been wanting this. Thank you!
- Fri Feb 01, 2013 8:36 pm
- Forum: Support and Development
- Topic: My first experiments with mouse detection and image rotation
- Replies: 4
- Views: 5011
Re: My first experiments with mouse detection and image rota
That's what I was thinking about...What exactly ARE the offsets? I noticed them in other people's sources but I don't really know what they are.