Search found 26 matches

by Volgoza
Thu Nov 21, 2013 11:02 am
Forum: Support and Development
Topic: Delete chunk - love.filesystem.load
Replies: 14
Views: 9809

Re: Delete chunk - love.filesystem.load

Yes, i now.
But my code "require (file)" itself contains again it tables.

Code: Select all

table = {}
Nope. Again error.
by Volgoza
Thu Nov 21, 2013 10:50 am
Forum: Support and Development
Topic: Delete chunk - love.filesystem.load
Replies: 14
Views: 9809

Re: Delete chunk - love.filesystem.load

I delete all tables from 2 location and run again this and i take error what can't read table, but when i entered in location 2 i use require ( file ) where i keep all tables.

Maybe i need use love.filesystem.load instead of require?
by Volgoza
Thu Nov 21, 2013 10:35 am
Forum: Support and Development
Topic: Delete chunk - love.filesystem.load
Replies: 14
Views: 9809

Re: Delete chunk - love.filesystem.load

Good.

Can i delete all table in one moment?

table = {
img 1 = love.graphics.newImage( 'someImage1.png' )
img 2 = love.graphics.newImage( 'someImage2.png' )
}

Can i make it through "for"?

And this:

Code: Select all

 img = nil
dosn't work
by Volgoza
Thu Nov 21, 2013 10:16 am
Forum: Support and Development
Topic: Delete chunk - love.filesystem.load
Replies: 14
Views: 9809

Delete chunk - love.filesystem.load

Hello again. :) How i can delete chink from code : chunk = love.filesystem.load ( name )? My game spends more RAM and i want delete graphics with RAM after exit from locations. Example: I have 2 locations: I entered in 1 location and i load graphics and code for this location. -> i left 1 location a...
by Volgoza
Wed Nov 20, 2013 3:41 pm
Forum: Support and Development
Topic: Help with output text from table
Replies: 3
Views: 1196

Re: Help with output text from table

Yes, it work.
Thank you!

How i can give "y"-coordinate for start position?
by Volgoza
Wed Nov 20, 2013 3:26 pm
Forum: Support and Development
Topic: Help with output text from table
Replies: 3
Views: 1196

Help with output text from table

Hello all! Can someone help me with one function. I have table in which i have text: t = {"hi", "hello", "etc"} how i can display it in love.draw ()? for k, v in pairs (t) do love.graphics.print(key, value) end Doesn't work. And as i can create indent next text from pre...
by Volgoza
Tue Nov 19, 2013 3:07 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 185884

Re: Love2D WebPlayer (WebGL)

Hello!

See please at my site. I can't understand whats wrong with this webGL. :(
http://lazysquid.bl.ee/index.php
by Volgoza
Thu Aug 15, 2013 10:03 am
Forum: General
Topic: "Loading" screen
Replies: 5
Views: 4330

Re: "Loading" screen

Thx. I see. Keep in mind that if you're just loading a few images this proces wil be really, really fast and you probably won't even see it happening. So don't use it unless you really have considerable amounts of loading to do. Good remark. I think, what i can create function with timer and show th...
by Volgoza
Thu Aug 15, 2013 9:49 am
Forum: General
Topic: "Loading" screen
Replies: 5
Views: 4330

"Loading" screen

Hi all!
You know how i can create "loading" screen?

When game started or game resources loading i want show for users screen where text "Please wait, loaging"

Sorry for my english :awesome:
by Volgoza
Fri Jul 13, 2012 9:39 pm
Forum: Support and Development
Topic: Trouble with map and create objects.
Replies: 13
Views: 2980

Re: Trouble with map and create objects.

Good, it works! Big thx.

But more trouble...
If wrote "love.graphics.draw (wall, x*64-64, y*64-64)" as you advised, then the coordinates bend and do not correspond to the table ...
Almost all the pictures go to 64 pixels and can not properly make the collision: (