Search found 3444 matches

by zorg
Sun Jan 17, 2016 10:27 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 353067

Re: Löve Frames - A GUI Library

Does this library work with Löve 0.10.0? Literally in the first post: :3 Note: Löve Frames is only compatible with versions 0.8.0 and 0.9.0 of LÖVE. Edit: On the previous page: ...I'm currently not developing Love Frames anymore. However, I am currently working on a new UI library to replace Love F...
by zorg
Sun Jan 17, 2016 4:11 pm
Forum: Support and Development
Topic: Camera movement
Replies: 4
Views: 5449

Re: Camera movement

by having -- outside any function: local plane = {} -- in love.load: plane.x = 0 plane.y = 0 plane.graphics = love.graphics.newImage("plane.png") -- in love.update, you modify the x and y members of plane with keypresses or something -- in love.draw: love.graphics.draw(plane.graphics, plan...
by zorg
Sat Jan 16, 2016 6:26 pm
Forum: General
Topic: Did the Forums' stylesheet just get updated?
Replies: 12
Views: 5554

Re: Did the Forums' stylesheet just get updated?

I'm personally bothered by the header not including the 0.10 toast yet. :3
by zorg
Sat Jan 16, 2016 4:25 pm
Forum: General
Topic: Spawning an object
Replies: 13
Views: 5603

Re: Spawning an object

First, please delete 3 of your 4 posts. (and next time, make sure to see whether your post went on the next page or not ;) ) Second, using a table for the plane's data like for the bombs, you can get the plane's x and y position in the bomb spawning function; so you'll always spawn the bombs where t...
by zorg
Sat Jan 16, 2016 4:17 pm
Forum: General
Topic: Spawning an object
Replies: 13
Views: 5603

Re: Spawning an object

When spawning a bomb, make the bomb's position (x and y coordinates) equal to the position where the plane is.
by zorg
Fri Jan 15, 2016 7:32 am
Forum: General
Topic: bitmap font renderer
Replies: 3
Views: 3451

Re: bitmap font renderer

From the test page, i see that the lowercase "f" has its top go into the g glyph; other than that, this seems like a nice thing :3
by zorg
Fri Jan 15, 2016 5:50 am
Forum: Support and Development
Topic: Help me with code
Replies: 8
Views: 3050

Re: Help me with code

I have looked for any hint on how that works in Lua, but I have found nothing; however, as far as I could find out myself, it seems that a function that returns multiple values, only works for passing multiple arguments to another function if it's the last argument in a function arguments list Basi...
by zorg
Thu Jan 14, 2016 9:29 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1500821

Re: What's everyone working on? (tigsource inspired)

A ECS is basically when your entities are just tables of data. It makes things easier because whenever you want a new entity you just make a table of components. What i meant before with "...which can mean a dozen things, really." was that ECS may to refer to a few other similar but not q...
by zorg
Thu Jan 14, 2016 2:47 pm
Forum: Support and Development
Topic: Huge map and memory use
Replies: 11
Views: 5104

Re: Huge map and memory use

Also, while there are many ways to chunk up the map, and many ways to load the chunks, there's a simple algorithm for top-down type games. Depending on where the character is in the world (its x and y position), calculate what tiles it stands on, then make sure that an area thrice the size of the sc...
by zorg
Thu Jan 14, 2016 11:08 am
Forum: Support and Development
Topic: Huge map and memory use
Replies: 11
Views: 5104

Re: Huge map and memory use

According to my calculations (300*300*10=900 000, 1 gigabyte / 900k ~= 1kb per tile), i'd like you to post some code since i don't know how you use that much space per tile. Just want to check for common errors, you know. :3