Search found 1363 matches

by ivan
Sat Dec 08, 2018 3:54 pm
Forum: Games and Creations
Topic: Super Chains
Replies: 33
Views: 8102

Re: Super Chains

Last call for anybody would like to playtest Super Chains:
https://steamcommunity.com/games/968300 ... 1603214151
The game will enter Steam Early Access on December 18th 2018.
by ivan
Thu Nov 29, 2018 9:42 pm
Forum: General
Topic: LÖVE 11.2 released!
Replies: 13
Views: 3583

Re: LÖVE 11.2 released!

Thank you for including Body:setTransform and Body:getTransform.
This reduces my function calls notably when drawing!
pgimeno wrote:
Thu Nov 29, 2018 9:29 pm
vsync is now a number. Try setting it to 1.
I don't see this in the documentation/changelog. :huh:
by ivan
Thu Nov 29, 2018 9:22 pm
Forum: Support and Development
Topic: Removing items from table doesn't work
Replies: 3
Views: 358

Re: Removing items from table doesn't work

If you want to remove elements during iteration, you have to iterate in reverse:

Code: Select all

for i=#cubes.cube, 1, -1 do
  local v = cubes.cube[i]
Otherwise you get "gaps" in the table.
by ivan
Thu Nov 29, 2018 1:37 pm
Forum: Games and Creations
Topic: Aeon of Sands - The Trail - a retro, post-apocalyptic RPG coming 4 Dec. 2018
Replies: 17
Views: 2838

Re: Aeon of Sands - The Trail - a retro, post-apocalyptic RPG coming 4 Dec. 2018

Have you shown the game to Matt Barton, as you probably know he's very well respected in the dungeon crawler community.
by ivan
Wed Nov 28, 2018 4:54 pm
Forum: Support and Development
Topic: Efficent way to Draw a screenshot as a Background
Replies: 7
Views: 509

Re: Efficent way to Draw a screenshot as a Background

Jaston wrote:
Tue Nov 27, 2018 7:34 pm
This approach is very laggy as it has to create a image. Save an image then load and draw an image.
Why not just draw the screen to canvas?
by ivan
Sun Nov 25, 2018 10:50 pm
Forum: Games and Creations
Topic: Super Chains
Replies: 33
Views: 8102

Re: Super Chains

Thanks Steve, yes this is a bug that should be fixed in the following updates.
The game saves your progress but doesn't display the unlocked level correctly.
Please try restarting your game and the next level should be unlocked.
by ivan
Sat Nov 24, 2018 6:30 am
Forum: Support and Development
Topic: Move object to mouse (stuttering)
Replies: 7
Views: 395

Re: Move object to mouse (stuttering)

While Pgimeno is correct, assuming you are moving at a constant speed, I think the "overshoot" problem could be described in a simpler way: local step = player.speed*dt if step >= distance then -- arrive else -- keep moving end Also, don't forget the formula: time = distance/speed Further reading: h...
by ivan
Fri Nov 23, 2018 7:48 am
Forum: Games and Creations
Topic: Super Chains
Replies: 33
Views: 8102

Re: Super Chains

Sent you a Steam key, just note that the game does not have a Steam Store page yet.
Nevertheless, the game should appear in your library as "Super Chains".
Would love any feedback!
by ivan
Fri Nov 23, 2018 5:38 am
Forum: Support and Development
Topic: How to calculate a coordinate on an arc?
Replies: 2
Views: 260

Re: How to calculate a coordinate on an arc?

From what I understand you want to convert polar coordinates to Cartesian? local offsetX = love.graphics.getWidth()/2 local offsetY = love.graphics.getHeight()/2 local angle = math.rad(45) local radius = 100 local x = math.cos(angle)*radius + offsetX local y = math.sin(angle)*radius + offsetY Note t...
by ivan
Wed Nov 21, 2018 10:17 pm
Forum: Support and Development
Topic: Turn Based Games
Replies: 4
Views: 315

Re: Turn Based Games

The most realistic way is to start small - board representation and moves validation in the console using pure Lua. Then user interface and AI. Not easy to implement this well.