Search found 1558 matches
- Sun Aug 07, 2011 7:17 pm
- Forum: General
- Topic: Fast Collisions Using Pixels colors
- Replies: 0
- Views: 1763
Fast Collisions Using Pixels colors
Hi all, Well, I didn't really know where to post it, then I chose this section. Maybe a lot of you might have heard about collisions using pixels colors. I've used this, and it works fine...But in most of the cases, it generally ends up making your game going sloooow... So, if you want something sim...
- Sun Aug 07, 2011 6:52 pm
- Forum: General
- Topic: Who's the youngest here?
- Replies: 38
- Views: 12318
Re: Who's the youngest here?
21 for me...
- Thu Aug 04, 2011 2:25 pm
- Forum: Libraries and Tools
- Topic: LuAstar, a simple A* pathfinding class
- Replies: 37
- Views: 18904
Re: LuAstar, a simple A* pathfinding class
Yeah, i've defined the code that way...
But never mind, you can refactor the setInitialNode() method for your own purposes.
Thanks, you all.
But never mind, you can refactor the setInitialNode() method for your own purposes.
Thanks, you all.
- Thu Aug 04, 2011 1:02 pm
- Forum: Libraries and Tools
- Topic: LuAstar, a simple A* pathfinding class
- Replies: 37
- Views: 18904
LuAstar, a simple A* pathfinding class
Hi, I've been working on a implementing Astar pathfinding algorithm for a basic real time strategy I will start working on in a few. Then I wanted to share the results it with all those who might be interested in. I have used Patrick Lester tutorial (on Polyalmanac ) on A-star pathfinding and Amit's...
- Thu Aug 04, 2011 9:30 am
- Forum: Libraries and Tools
- Topic: WeaverOOP - A budding OOP library
- Replies: 13
- Views: 4619
Re: WeaverOOP - A budding OOP library
I'll strongly recommend PIL, especially chapter 13. You will find useful explanations there.LuaWeaver wrote:But how do the metatables work with this? That's what I need to know.
Re: my idea
Maybe you'll be interested in one of my previous creations...
Written in Lua, for PSP, using LuaPlayerHm.
Age of Nations
Written in Lua, for PSP, using LuaPlayerHm.
Age of Nations
- Wed Jul 20, 2011 10:34 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1510846
Re: What's everyone working on? (tigsource inspired)
I'm going to have to see the Raycasting example in person. I've seen way too many that look like crap and none that have ever looked as smooth as Wolfenstein. (Not talking about the textures. I'm talking about the wall lines.) Well, my example was directly based on this one . I just re-wrote this u...
- Mon Jul 18, 2011 8:06 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1510846
Re: What's everyone working on? (tigsource inspired)
Just wrote a raycasting ....
- Thu Jul 14, 2011 4:36 pm
- Forum: General
- Topic: Deal with combos ...
- Replies: 5
- Views: 1735
Re: Deal with combos ...
You're definitely right...and I'm pretty sure it saves a lot of ressources that running a for loop anytime keypressed callback is triggered. Well, I think I'm up for a key-pairs table...But i'll use simple strings, instead of functions. Here's the whole code. local combos = {['aabb'] = 'aabb - Aweso...
- Thu Jul 14, 2011 2:50 pm
- Forum: General
- Topic: Deal with combos ...
- Replies: 5
- Views: 1735
Re: Deal with combos ...
Well, i'am not a genius... So what do you think of that snippet ? Can I improve this ? How ? local combos = { 'aabb', 'abab','ccded','zzeru' } local message = 'waiting for combo' local sequence = '' local refresh = 0 function love.update(dt) refresh = refresh+dt if refresh > 1.5 then refresh = 0 seq...