Search found 59 matches

by MrFariator
Fri Dec 29, 2017 12:51 pm
Forum: Support and Development
Topic: Needing Help- Non Square Collisions - STI and Tiled
Replies: 5
Views: 206

Re: Needing Help- Non Square Collisions - STI and Tiled

In the case all you need to add is slopes, then bump works perfectly fine for that (gif). If interested, I wrote a little breakdown here. For anything more complex than shapes made out of squares and triangles, however, you will have to look elsewhere, like HC as Zorg pointed out.
by MrFariator
Thu Dec 28, 2017 5:21 pm
Forum: Support and Development
Topic: Collision problem
Replies: 3
Views: 186

Re: Collision problem

Perhaps the quickest way to resolve this is to start from the direction the objects are moving towards. Eq. if the objects are moving towards right, update the right-most object first, the second right-most second, etc. Thus if the first one moving to the right gets blocked, it could signal the ones...
by MrFariator
Sat Nov 11, 2017 11:17 am
Forum: Support and Development
Topic: Saving files in game directory
Replies: 12
Views: 774

Re: Saving files in game directory

I also faced this "problem" when developing my game's map editor, and I realized that %appdata% is your friend, not your foe. What I wound up doing was including an additional step in my build script(s): look for the "official" map levels in %appdata%, copy those files into the game's own directory ...
by MrFariator
Sat Oct 28, 2017 9:48 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1598
Views: 279162

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

Did a HUD this week now that my university obligations are not as bad for the rest of the semester.
Image
megalukes wrote:
Wed Sep 20, 2017 7:13 pm
mm.gif
Cool stuff.
by MrFariator
Sat Sep 23, 2017 8:46 pm
Forum: Support and Development
Topic: More scripts than main?
Replies: 2
Views: 268

Re: More scripts than main?

Require is the simplest method, and I'd recommend it when starting out. Let's say you want to create myScript.lua, perhaps inside a subfolder. This subfolder should reside in the same folder as your main.lua file. You'd basically then write the functions and code there like normal, and then in your...
by MrFariator
Fri Aug 25, 2017 8:06 pm
Forum: Support and Development
Topic: Drawing to a canvas with a closed window.
Replies: 4
Views: 438

Re: Drawing to a canvas with a closed window.

This is essentially an OpenGL thing, where it requires a context where to draw the stuff at hand (check the footnotes on this wiki page). Now, there are ways to handle OpenGL without opening a window, but you probably would have to write changes to löve's source code for it to do this exact thing. A...
by MrFariator
Wed Aug 23, 2017 6:20 pm
Forum: Support and Development
Topic: Does anyone use/recommend a standard 2D map editor (not tiled)?
Replies: 4
Views: 541

Re: Does anyone use/recommend a standard 2D map editor (not tiled)?

Just chiming in that I coded a level editor for my game (though I've fixed it a bit since that post), but the difference in my design goal was that I wanted to do as much as possible within the game or its codebase (with the exception of creating and sound). Additionally I wanted to learn how to mak...
by MrFariator
Sat Aug 12, 2017 10:12 pm
Forum: Support and Development
Topic: Problem with using calling values in a table
Replies: 2
Views: 344

Re: Problem with using calling values in a table

changeTimer + dt*1440 Try printing the values that produces. If you're using the default love.run (ie. you haven't defined it yourself), I imagine you're getting non-integer values because of the delta time. This then gives you table indexes that don't exist, thus giving you errors when you end up ...
by MrFariator
Mon Aug 07, 2017 6:13 pm
Forum: Support and Development
Topic: Transparent window with borderless window
Replies: 20
Views: 1799

Re: Transparent window with borderless window

The combination of movement with analog controls and aiming with a lightgun sort of setup might be gimmicky, but it's a very fun gimmick. That very combination brought us Sin & Punishment 2 (Wii), one of my favorite games of all time. More of that, pretty please? :3 In the case of this feature I'd p...
by MrFariator
Mon Aug 07, 2017 5:06 am
Forum: Support and Development
Topic: How do I make the draw function just draw the image and stop?
Replies: 4
Views: 441

Re: How do I make the draw function just draw the image and stop?

Yep, that's the gist of it. The terminology may be confusing, as what table and array are kinda depends on the code language in question. For example C/C++ has arrays but no "table" type as that term is usually reserved for 2D arrays. In lua everything is just a table given it's the sole container t...