Search found 124 matches

by Nelvin
Tue Jul 30, 2019 6:00 pm
Forum: General
Topic: Is it that easy to reverse-engineer a love2d game?
Replies: 22
Views: 17690

Re: Is it that easy to reverse-engineer a love2d game?

Oh while we are in the topic of commercial games made with Love2d, i want to point out that Kingdom Rush: Frontiers and Kingdom Rush Origins for PC are also made with Love2d both part of a very successful tower defense franchise (my personal favorite) will post the links if you want to check them o...
by Nelvin
Mon Jul 29, 2019 10:08 pm
Forum: Libraries and Tools
Topic: Another Lua Vector library
Replies: 14
Views: 15111

Re: Another Lua Vector library

I'd like to repeat what ivan said as it's not only not very efficient, it also wastes a lot of memory. The problem with the code, as it is, is not primarily the closure but whenever you create a vector instance (which, at the moment, you do in almost all core operations) you create a new table and t...
by Nelvin
Mon Jul 29, 2019 7:18 am
Forum: General
Topic: Is it that easy to reverse-engineer a love2d game?
Replies: 22
Views: 17690

Re: Is it that easy to reverse-engineer a love2d game?

So i have got the answer i expected - Don't make a commercial game in Love!! Huh, on what answers is this based? There's no reason for that, you just should not fear the virtually non existing problem of reverse engineering of your code/data first and foremost because nobody who aims to do anything...
by Nelvin
Sun Jul 28, 2019 3:16 pm
Forum: General
Topic: Is it that easy to reverse-engineer a love2d game?
Replies: 22
Views: 17690

Re: Is it that easy to reverse-engineer a love2d game?

Don't make it harder than it is ... your typical tools like 7zip (or even the builtin Windows zip support) happily finds and extracts the zip compatible part of the file - with 7zip you don't even have to change the suffix. So yeah, it's a simply container format and so it's easy to access it's cont...
by Nelvin
Fri Jun 28, 2019 5:38 pm
Forum: Support and Development
Topic: A Question about SpriteBatch and Maxsprites
Replies: 3
Views: 5968

Re: A Question about SpriteBatch and Maxsprites

Pre 11, the size of the batch was a fixed value, quads added beyond the limit were discarded. With the current version, the buffer grows dynamically as required and to still offer good performance it does the same as your typical dynamic array/vector does, i.e. it doubles the size whenever more spac...
by Nelvin
Mon May 20, 2019 5:29 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1483245

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

> of course know and own 1849 and yeah, it's a very similar style. We're aiming a bit for bigger cities as, as far as I played 1849 the maps are really tiny. Lethis is another game in a similar style and pretty good as well. You played it, I KNEW IT. Anno 1602 too? Also yeah, was kind of annoyed ho...
by Nelvin
Sat May 18, 2019 11:39 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1483245

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

Nelvin, looks like 1849 a bit. If you're not familiar it's a resource manager, where you ferry resources between buildings producing more and more complex resources. If you're not familiar look it up. It's a little hard to find on google (owing to how common the number '1849' is), so you'll have to...
by Nelvin
Wed May 15, 2019 9:53 pm
Forum: General
Topic: Depth buffer and slanted sprites?
Replies: 14
Views: 16196

Re: Depth buffer and slanted sprites?

Not sure what you mean with I assume - it's really no new finding that you can't sort iso objects by a single depth value (that's derived from the objects size/position) - if you never had this problem, you've never implemented an iso engine with variable sized objects and you're the one assuming. B...
by Nelvin
Wed May 15, 2019 6:26 am
Forum: General
Topic: Depth buffer and slanted sprites?
Replies: 14
Views: 16196

Re: Depth buffer and slanted sprites?

That's not going to work in my case, as I've written, it's an isometric game and there's no such thing as a simple single Z value you can correctly sort your objects with. Also it's not the sorting that's an issue, it's having dozens of 2k x 2k atlases with no defined sort order. Also, missed to rep...
by Nelvin
Tue May 07, 2019 11:16 pm
Forum: Support and Development
Topic: random number without duplicate [SOLVED]
Replies: 6
Views: 4114

Re: random number without duplicate

Most simple/pragmatic solution local x = love.math.random(1, 4) local y = love.math.random(1, 3) if x == y then y = y + 1 end This isn't uniform. You will only get a 4 in the second number if the first one is a 3, so the pairs (1, 4) and (2, 4) don't appear at all. Good catch, haven't really though...