Search found 3591 matches

by Jasoco
Wed Aug 12, 2009 2:17 am
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

My findings with loading large files via love.filesystem.lines(): Characters Time in Seconds 1,000 0.00103759765625 10,000 0.01397705078125 100,000 0.12103271484375 1,000,000 1.2219848632812 10,000,000 12.185974121094 A 250x250 map has about 1.3 million characters. Currently. Using 22 chars per tile.
by Jasoco
Wed Aug 12, 2009 1:34 am
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

Doesn't quite work that way. Once it enters the for lines in file loop it won't return control until it's done. function loadMap(m) local mFile = "maps/" .. tostring(m) .. ".map" if love.filesystem.exists(mFile) then local i = 0 local mD = {} for line in love.filesystem.lines(mFi...
by Jasoco
Tue Aug 11, 2009 10:39 pm
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

It seems that when the FileSystem functions are running, the game freezes until it's done. There's no multi-tasking or way to show like a progress bar because it does it and doesn't stop until it's done during which point you end up with a blank screen, or the last frame shown before the load started.
by Jasoco
Tue Aug 11, 2009 7:50 pm
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

GTA and Oblivion aren't built with Lua and have much more powerful backends. I don't know whether the bottleneck is in the loading function or the part where it transfers the data into the arrays. I want to say loading though. The part where it actually opens the file and reads it that is. After som...
by Jasoco
Tue Aug 11, 2009 4:37 am
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

Well, testing done on a 500x500 map. Don't do it. Use smaller maps. One big map split into multiple smaller areas is much better. Well, there is both good news and bad news. I created a map, just a plain map of 500 tiles in both directions with no extra decorations. Just a green grass map. It takes ...
by Jasoco
Tue Aug 11, 2009 12:42 am
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

Weather effects and time are two factors I plan on incorporating into whatever the game ends up being.
by Jasoco
Mon Aug 10, 2009 11:59 pm
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

In layman's terms. REAL memory is using the RAM sticks, it is stored on the physical sticks. VIRTUAL is RAM that was passed to the Hard Drive and is stored in a sort of "RAM swap" that is deleted at shutdown. It is slower to load from the HD, but allows you to run more without needing more...
by Jasoco
Mon Aug 10, 2009 10:30 pm
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

700MB? Is that Real memory or Virtual memory? The maps take like a millisecond to load. In fact, to put in a fade down and up would actually make it take longer. But I do want to put in some sort of fad down, load, fade up quick just to give the player visual feedback that the map has changed. I hav...
by Jasoco
Mon Aug 10, 2009 5:07 pm
Forum: Libraries and Tools
Topic: Tile "buffering" (?)
Replies: 3
Views: 2839

Re: Tile "buffering" (?)

You should probably take a look at my thread.
by Jasoco
Thu Aug 06, 2009 11:09 pm
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147344

Re: My Zelda style adventure engine progress thread

Eventually I will provide Löve to you forum members. But not yet. It is 1MB+ right now also, so it's not like I can upload it as an attachment. Eventually I'll put it on MediaFire or something. I changed the color of a standard Link sprite for the prototype because I always thought a blue tunic woul...