Search found 48 matches

by Sarcose
Sun Jul 10, 2022 11:59 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730494

Re: Simple Tiled Implementation - STI v1.2.3.0

There is no permanent canvas or the likes. Are you using collisions at all? Perhaps they are being added to your bump/box2d world and then they are being drawn using those plugins' draw calls (usually only used for debugging)? I just was coming back to edit/post that I figured it out. It was the Sp...
by Sarcose
Sun Jul 10, 2022 9:59 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730494

Re: Simple Tiled Implementation - STI v1.2.3.0

Hi! I'm not sure if this question has been asked previously but if I have an object layer with tiles indicating entities (for visibility), is it possible to remove or hide those tiles after the entities have been loaded? Looking through the exported raw lua of the map, I can see these are contained ...
by Sarcose
Wed Mar 03, 2021 7:53 pm
Forum: General
Topic: Apps for Animation?
Replies: 5
Views: 4895

Apps for Animation?

Hi! Wondering what everyone's preferred apps for art assets are right now? I'm currently looking for a phone app that can easily preview an already-made spritesheet, e.g. you define a framesize and select frames for animations. It can be done on graphicsgale, which is my preferred desktop app, but I...
by Sarcose
Thu Feb 25, 2021 12:58 am
Forum: Support and Development
Topic: Assign a 'require' to an index arbitrarily?
Replies: 2
Views: 2682

Re: Assign a 'require' to an index arbitrarily?

Nothing simpler to solve, just put a return block_normal at the very end of your block_normal.lua file, that will return the table itself through require, not just whether the file was successfully required in or not. (filename and table name doesn't need to correlate necessarily, but here, it does...
by Sarcose
Sun Feb 21, 2021 10:23 pm
Forum: Support and Development
Topic: Assign a 'require' to an index arbitrarily?
Replies: 2
Views: 2682

Assign a 'require' to an index arbitrarily?

Hi. I definitely tried to find a good answer to this but forgive me if this has been answered elsewhere and I'll gladly hop onto that thread if so. So let's say I want a *simple* table like this in an external file, where the following is the entire file: --block_normal.lua block_normal = { name = '...
by Sarcose
Fri Nov 25, 2016 7:02 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730494

Re: Simple Tiled Implementation - STI v0.16.0.3

Hi. Did not see this in the feature set. Can STI access and, on that note, can Tiled export, the information about the rotation value of individually placed tiles? As in, to which degree relative to its original position the tile's been rotated/flipped?
by Sarcose
Sun Nov 20, 2016 4:01 am
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 123640

Re: [library] bump.lua v3.1.4 - Collision Detection

I will probably just standardize my ramps to two different angles and use foreground tiles to make the world look more organic (Metroid: Zero Mission does this). With first-pass in a tiled map, you can collide with the sloped tile as if it were a rectangle and have the slope's filter response finish...
by Sarcose
Sat Nov 19, 2016 9:48 pm
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 123640

Re: [library] bump.lua v3.1.4 - Collision Detection

Isn't Bump still basically the most gameist lib for collision though? That's why I'm interested in it. Especially for traditional sidescrolling platformers.

Haven't read the Sonic slopes implementation I don't think. If it's in this thread I might have missed it.
by Sarcose
Sat Nov 19, 2016 7:59 pm
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 123640

Re: [library] bump.lua v3.1.4 - Collision Detection

Been a while since I've read this thread. Was the slopes problem ever solved? I don't remember if this method was floated around, but wouldn't it be trivial to, in your own game engine, define a separate movement type for cells with sloped tiles? As long as each tile entity has a straight line you c...
by Sarcose
Wed Apr 27, 2016 8:20 pm
Forum: General
Topic: Ok maybe i'm stupid
Replies: 9
Views: 9335

Re: Ok maybe i'm stupid

Isn't love.draw() the only function that will put anything on the screen when love.graphics functions such as rectangle() are called?

Further emphasizing the organization aspect.