Isn't it just easier left to a simple variable named state?
Like object.state = "display"
if object.state ="no-display"
destroy_object();
end
but I'm sure this is much more complex, and certainly helps if you're managing 100s of te same object.
Search found 68 matches
- Tue Jul 01, 2014 2:00 am
- Forum: Libraries and Tools
- Topic: StageManager for LÖVE
- Replies: 1
- Views: 2446
- Tue Jul 01, 2014 12:56 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1500325
Re: What's everyone working on? (tigsource inspired)
Make this happen! Loved those type of games!!sashwoopwoop wrote:Working on a business management game, will probably be a mall management in the style of rollercoaster tycoon / transport tycoon
- Fri Mar 15, 2013 5:43 am
- Forum: Support and Development
- Topic: Pseudo 3D/Mode7 [2D Affine Transform]
- Replies: 5
- Views: 7473
Pseudo 3D/Mode7 [2D Affine Transform]
Hey everyone, it's been awhile... Anyways, I was currently trying to work out the 2D affine transform formula in lua and haven't been totally successful I have looked at the 'Mario kart' examples but for what I'm going for I don't need to go that extra mile especially just to recreate the world map....
- Sun Aug 07, 2011 4:20 am
- Forum: Support and Development
- Topic: Only showing 64X63 of my map
- Replies: 18
- Views: 10872
Re: Only showing 64X63 of my map
I did go and define X, Y but didn't really change anything.
- Sat Jul 30, 2011 7:02 am
- Forum: Support and Development
- Topic: Only showing 64X63 of my map
- Replies: 18
- Views: 10872
Re: Only showing 64X63 of my map
local mw = map.width - love.graphics.getWidth() local mh = map.height - love.graphics.getHeight() if x >= mw then x = mw end if y >= mh then y = mh end if x <= 0 then x == 0 end if y <= 0 then y == 0 end The code itself isn't much different to what you posted. I had this placed in the desert exampl...
- Thu Jul 28, 2011 5:25 pm
- Forum: Support and Development
- Topic: Only showing 64X63 of my map
- Replies: 18
- Views: 10872
Re: Only showing 64X63 of my map
Error.
Attempt to compare nil with number.
I've coded something similar but it had no effect.
Attempt to compare nil with number.
I've coded something similar but it had no effect.
- Wed Jul 27, 2011 10:20 pm
- Forum: Support and Development
- Topic: stopping camera at the edge of a tile map (black_background)
- Replies: 5
- Views: 3029
Re: stopping camera at the edge of a tile map (black_backgro
tx and ty if I'm reading the code right. But if it were focusing on tx,ty it wouldn't stop the camera just because it's not on a map anymore. I'd love to release my zelda example but can't because of this issue, I have most of link's sword functions done but don't want to focus too much on movement ...
- Wed Jul 27, 2011 10:13 pm
- Forum: Support and Development
- Topic: stopping camera at the edge of a tile map (black_background)
- Replies: 5
- Views: 3029
stopping camera at the edge of a tile map (black_background)
Right now the only problem I'm having is stopping the camera at the edge of a tile-map, again I'm using the advanced tile loader to load my maps. Before I do anything serious I want to be able to load and move a sprite and map accordingly which I've learned with game maker over the years and learnin...
- Wed Jul 27, 2011 9:36 pm
- Forum: General
- Topic: Thoughts about love?
- Replies: 26
- Views: 13959
Thoughts about love?
What made you come to love, do you like it, are you having problems with love, and why are you using love? What a lovely sentence? Anyway, I have/been using game maker since 2004 and really hated the fact the exe's basically start at 2 friggin mb, now that's small but the same thing in love especial...
- Wed Jul 27, 2011 9:30 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1008920
Re: Avatars: OBEY!
That's a crime against love, punishable by death!LuaWeaver wrote:Don't Obey! DISOBEY!!!