Search found 7 matches
- Fri Oct 29, 2010 8:14 pm
- Forum: Support and Development
- Topic: New to lua, need help with tables (and now collisions)
- Replies: 15
- Views: 10533
Re: New to lua, need help with tables (and now collisions)
Well, this appears to be becoming a thread where by I post all progress and problems I'm having with this game, so why not continue haha :) I have a...perplexing bug (for me, at least), which is when one enemy leaves the bottom of the screen the next enemy on the screen is removed instead (or as wel...
- Thu Oct 28, 2010 10:20 am
- Forum: Support and Development
- Topic: New to lua, need help with tables (and now collisions)
- Replies: 15
- Views: 10533
Re: New to lua, need help with tables (and now collisions)
You sir are a gentleman of the highest order, with a bit of tweaking that worked a treat! Have some karma :) Just going to play around with this a bit more (adding a health variable which is decremented on collision due to the amazingly huge amount of bullets my player spews forth, then get some inc...
- Thu Oct 28, 2010 8:41 am
- Forum: Support and Development
- Topic: New to lua, need help with tables (and now collisions)
- Replies: 15
- Views: 10533
Re: New to lua, need help with tables
Well I finally got some time away from doing assignment work to work on this some more, and I almost immediately hit another roadblock: Collisions. Now to me this seems like it should be simple, check if two sprites are in the same location, if so delete both sprites (I plan on making it reduce heal...
- Wed Oct 13, 2010 4:15 pm
- Forum: Support and Development
- Topic: New to lua, need help with tables (and now collisions)
- Replies: 15
- Views: 10533
Re: New to lua, need help with tables
Awesome, worked a treat Now I just need some enemy spawns and a score system and we have a game! Best get to work hadn't I
- Wed Oct 13, 2010 1:45 pm
- Forum: Support and Development
- Topic: New to lua, need help with tables (and now collisions)
- Replies: 15
- Views: 10533
Re: New to lua, need help with tables
Ok, I think I have most of the code working, as in I don't get any crashes, however the image of the bullet isn't being created. Here's the updated code (probably needs some cleaning up now, that comes after functionality)
- Wed Oct 13, 2010 12:53 pm
- Forum: Support and Development
- Topic: New to lua, need help with tables (and now collisions)
- Replies: 15
- Views: 10533
Re: New to lua, need help with tables
Ah, thankyou very much, the comments in your code really helped me understand what was going on
I'll have a go at implementing this now, thanks again
I'll have a go at implementing this now, thanks again
- Wed Oct 13, 2010 12:33 pm
- Forum: Support and Development
- Topic: New to lua, need help with tables (and now collisions)
- Replies: 15
- Views: 10533
New to lua, need help with tables (and now collisions)
Hey all, i've been trying to make a simple game with Love, and have ran into a small problem. I'm entirely new to lua, however the alternatives to Love were Gamemaker (not a whole lot of control) or VB (not really suitable). I've managed to make a simple games so far (well, I say game, it's a ship t...