Search found 384 matches

by Santos
Fri May 05, 2017 3:13 am
Forum: General
Topic: A written piece about my disorder - "Slaying Dragons - Autistic Dream"
Replies: 1
Views: 2069

Re: A written piece about my disorder - "Slaying Dragons - Autistic Dream"

Thank you for sharing. Your animations are cool!
by Santos
Sun Feb 19, 2017 6:21 pm
Forum: General
Topic: Drawing lines using a table (why doesn't it work?)
Replies: 2
Views: 2260

Re: Drawing lines using a table (why doesn't it work?)

Hi sdeban, love.graphics.line and love.graphics.points are inconsistent in the table structure they accept. A table with alternating x/y positions will work for both, like your manually created table and this random table: for i = 1, 10, 2 do x = math.random(5, 500) y = math.random(5, 500) coords[i]...
by Santos
Sun Feb 19, 2017 6:06 pm
Forum: Support and Development
Topic: Tiling a space background in all directions.
Replies: 5
Views: 4234

Re: Tiling a space background in all directions.

Hi Annabelle, One way would be to: Make the the quad one tile bigger in each direction. "Wrap around" the quad's x/y position when it passes the width/height of a tile. Draw the quad up/left one tile. bgQuad = love.graphics.newQuad(0, 0, 896 + bgImg:getWidth(), 600 + bgImg:getHeight(), bgI...
by Santos
Sun Feb 19, 2017 9:43 am
Forum: General
Topic: Only Lua
Replies: 3
Views: 3254

Re: Only Lua

Hi JYinc! Different people are going to say different things I think, so be sure to think critically and research and experiment to find out what you think is true. :) Knowing C or C++ is absolutely not required for making a game with LOVE, it requires knowledge of only Lua. Knowing algorithms and d...
by Santos
Sun Feb 19, 2017 8:04 am
Forum: Support and Development
Topic: Creating an "endless runner" that isnt random?
Replies: 3
Views: 3290

Re: Creating an "endless runner" that isnt random?

Try thinking about "what makes each level different?" and then storing that information in tables. For example... (I'm thinking of a Canabalt style game here) "The only difference between each platform the runner jumps on is its height, everything else is the same or random (width of ...
by Santos
Sun Feb 12, 2017 11:15 am
Forum: General
Topic: trying 2 set up walking animation with sprite sheets and tables. will this work?
Replies: 6
Views: 4652

Re: trying 2 set up walking animation with sprite sheets and tables. will this work?

The "cleanliness" of code is an interesting thing... I think it's important to think of what kinds of things make code "clean", and what the actual practical benefits are. (I used to think that splitting programs up into lots of different files and having classes for everything a...
by Santos
Sat Feb 11, 2017 12:42 pm
Forum: Support and Development
Topic: Problem with "Tutorial:Efficient Tile-based Scrolling" Tutorial
Replies: 2
Views: 2421

Re: Problem with "Tutorial:Efficient Tile-based Scrolling" Tutorial

Hi SentientPotato, Try changing: map_x = math.max(math.min(map_x + dx, map_w - map_display_w), 1) map_y = math.max(math.min(map_y + dy, map_h - map_display_h), 1) to (note the "+ 1"s) map_x = math.max(math.min(map_x + dx, map_w - map_display_w + 1), 1) map_y = math.max(math.min(map_y + dy,...
by Santos
Sat Feb 11, 2017 10:10 am
Forum: General
Topic: trying 2 set up walking animation with sprite sheets and tables. will this work?
Replies: 6
Views: 4652

Re: trying 2 set up walking animation with sprite sheets and tables. will this work?

Hi yougetagoldstar, The code won't run as is because there are syntax errors in it, which LOVE will let you know when you try to run it (tip: run stuff you're not sure of, error messages are useful!). You might be wanting something like this: -- test table char_anims = { playerImage = love.graphics....
by Santos
Wed Feb 08, 2017 12:18 pm
Forum: General
Topic: Want to make a 2d top-down or angled RPG. Starting out, could use some advice.
Replies: 15
Views: 13757

Re: Want to make a 2d top-down or angled RPG. Starting out, could use some advice.

Hi yougetagoldstar, It seems obvious to me that one shouldn't take advice from people who haven't done the thing that one is looking for advice on how to do. I have never made a proper game, so you shouldn't read this post any further. ;) However, your post resonated with me, so I'd like to share so...