Search found 1097 matches

by ivan
Fri Oct 13, 2017 5:15 am
Forum: General
Topic: I Need Lua Metatable Tutorials for NOOBs
Replies: 5
Views: 128

Re: I Need Lua Metatable Tutorials for NOOBs

What do you plan to use the metatables for?
If it's for OO, you might want to check out my minimalist lib:
https://bitbucket.org/itraykov/oo.lua/src
by ivan
Thu Oct 05, 2017 9:11 am
Forum: Games and Creations
Topic: Super Chains
Replies: 21
Views: 2958

Re: Super Chains

Nixola wrote:
Tue Oct 03, 2017 6:51 pm
Still Windows-only?
Yep, unfortunately it's still Windows-only.
by ivan
Wed Oct 04, 2017 5:18 am
Forum: General
Topic: How can i upload my game on steam?
Replies: 3
Views: 312

Re: How can i upload my game on steam?

Now, as far as i know, it may be possible for the submitted game to not use their API at all, if you don't need/want functions like achievements, workshop support and the like, but don't quote me on this. True, Steamworks integration is optional. Nevertheless, Steam customers have high standards an...
by ivan
Tue Oct 03, 2017 6:34 pm
Forum: Games and Creations
Topic: Super Chains
Replies: 21
Views: 2958

Re: Super Chains

The new prototype of Super Chains is out,
Would appreciate any type of feedback.
Image

Download (Prototype 2017.10.03)

Steam Group: SteamCommunity.com/groups/superchains
by ivan
Sun Oct 01, 2017 6:13 pm
Forum: Support and Development
Topic: Stacking Objects on other Objects
Replies: 3
Views: 166

Re: Stacking Objects on other Objects

The way that Box2D deals with stacking and jitter is through “sub-stepping“ and “positional correction“. It does a fairly decent job when it comes to stacking. It's typically stable, as long as you don't have a very massive object on top of light ones. Please keep in mind that Box2D is a sophisticat...
by ivan
Thu Sep 28, 2017 5:23 am
Forum: Support and Development
Topic: Physics world recreation
Replies: 2
Views: 123

Re: Physics world recreation

Your code uses variable dt. So you are running the simulation for a different amount of time. The longer you run the simulation the more the object will accelerate due to gravity. You need to use a constant time step if you want perfectly consistent behavior. For things like replays (with variable t...
by ivan
Sun Sep 24, 2017 5:37 am
Forum: General
Topic: DT and Dropping Frames
Replies: 5
Views: 319

Re: DT and Dropping Frames

dizzykiwi3 wrote:
Sun Sep 24, 2017 3:38 am
Doesn't returning from love.draw just cause it to draw nothing though, rather than draw the same frame?
Yep, you're probably right. To be honest I don't really use love2d that much,
but the technique should still work if you render the frame to canvas.
by ivan
Sat Sep 23, 2017 8:34 am
Forum: General
Topic: [Suggestion] Allowing people to access OpenGL/SDL functions
Replies: 5
Views: 377

Re: [Suggestion] Allowing people to access OpenGL/SDL functions

love2d already has a nice api (namely, love.graphics) that allows you to access OGL using a efficient Lua interface. Direct access to the low-level OGL/SDL functions in Lua would be missing the point. Like erasio said, you're really looking for a different kind of tool.
by ivan
Sat Sep 23, 2017 8:22 am
Forum: General
Topic: DT and Dropping Frames
Replies: 5
Views: 319

Re: DT and Dropping Frames

Small correction, it should be "while accum >= interval" Out of the box, this method is less smooth than using variable dt. It is more stable though if you plan to use love.physics. You can play around with the interval variable: interval = 1/targetfps So if any frame takes longer than 1/targetfps t...
by ivan
Fri Sep 22, 2017 6:05 am
Forum: General
Topic: Should you ever disclose the fact that a game is made with love2d when releasing a game?
Replies: 10
Views: 738

Re: Should you ever disclose the fact that a game is made with love2d when releasing a game?

kicknbritt wrote:
Fri Sep 22, 2017 3:53 am
So then what were the challenges your talking about? Is it just making the UI, stat Balancing, etc. ?
Depends on the type of game you are trying to make, action games are generally more difficult.
If you've never made a multiplayer game before I suggest starting with local multiplayer.