Search found 83 matches
- Wed Jun 07, 2023 11:16 am
- Forum: Libraries and Tools
- Topic: table to lua file
- Replies: 9
- Views: 5046
Re: table to lua file
The worst problem i encounterd with a library that uses json is this. You convert a table to a json string. It could be big, that means it will be slower to get that string the more size the table has. Then you store it on disk as json. That is cool and i do not say "don't do it". If you n...
- Wed Jun 07, 2023 8:59 am
- Forum: Libraries and Tools
- Topic: string building
- Replies: 6
- Views: 3733
string building
I present here some solution. First i gonna write about the slow string appending method i needed to replace with something faster. The slowdown is when you use : local str="hello".." ".."world".."!" To replace this with a faster solution you need just a table...
- Wed Jun 07, 2023 8:39 am
- Forum: Libraries and Tools
- Topic: table to lua file
- Replies: 9
- Views: 5046
table to lua file
Ok here is the thing. I thought about using json and other types of serialization of a typical table that i needed to be stored as data table only (this means no functions, no special data or pointers on images etc) into a .lua file. I looked at the serialization libraries and they were huge around ...
- Wed Jun 07, 2023 4:24 am
- Forum: General
- Topic: What is the best game!!
- Replies: 7
- Views: 3329
Re: What is the best game!!
The one you create. The one others admire for the effort you made. The one where you löver löves to play. Just choose one.
- Tue May 30, 2023 3:52 am
- Forum: Games and Creations
- Topic: earth shaker
- Replies: 3
- Views: 2406
Re: earth shaker
The last screen shows only the whole map from editor view. In the gameplay you will see only o around 1/2 of the screen.
- Sat May 27, 2023 3:06 pm
- Forum: Games and Creations
- Topic: earth shaker
- Replies: 3
- Views: 2406
Re: earth shaker
Most of the things are done. Added level editor and made level 01-08. Here is a screenshot of level 01.
- Thu May 25, 2023 7:01 pm
- Forum: Games and Creations
- Topic: earth shaker
- Replies: 3
- Views: 2406
earth shaker
Trying to work on a zx spectrum game remake called Earth Shaker. A nice 32 level speed running game. Is in a development stage.
- Thu May 25, 2023 9:32 am
- Forum: Libraries and Tools
- Topic: polygon terrain editor
- Replies: 1
- Views: 2466
Re: polygon terrain editor
Also a nice way to store created levels into a file is to have only a table with values and no functions. And then write that into a lua file! If you have a lua file you can require it or use love.filesystem.load function to import the script as whatever you need (level, definitions, texts etc...) a...
- Wed May 24, 2023 7:39 pm
- Forum: Support and Development
- Topic: how can i access x and y love.touch.getPosition variables?
- Replies: 6
- Views: 1571
- Wed May 24, 2023 4:40 am
- Forum: General
- Topic: Just had a question
- Replies: 16
- Views: 6654
Re: Just had a question
I prefer hypnotoad *likes*