Search found 146 matches

by monolifed
Fri Feb 12, 2021 8:39 pm
Forum: Support and Development
Topic: stutter while scrolling
Replies: 5
Views: 1380

Re: stutter while scrolling

Thanks.
I assume that if it can run smoothly on some system with proper settings, code is not the problem.
I tested it on linux too, so I guess it makes no difference
by monolifed
Fri Feb 12, 2021 6:56 pm
Forum: Support and Development
Topic: stutter while scrolling
Replies: 5
Views: 1380

Re: stutter while scrolling

So it is smooth with speed=240 and vsync on? But it is still the same for me with or without the print()
The print() was there to warn when dt is more than 1/60, And I noticed that it prints even without scrolling

OK this one has speed=240, vsync=1 and no print
by monolifed
Fri Feb 12, 2021 4:02 pm
Forum: Support and Development
Topic: stutter while scrolling
Replies: 5
Views: 1380

stutter while scrolling

If I keep going right non stop I see small stutters. Attached file rather simple. My assumption is it is the video card/driver.
I am just curious that whether anyone else sees the stutter. Use left/right arrow keys to go left/right respectively
by monolifed
Tue Feb 09, 2021 9:30 pm
Forum: Games and Creations
Topic: Box2d based player movement
Replies: 0
Views: 903

Box2d based player movement

Simple player movement with box2d. It is a little wrong but I hope it helps someone.
by monolifed
Fri Feb 05, 2021 3:17 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 850
Views: 354076

Re: Simple Tiled Implementation - STI v1.2.3.0

Tiled added parallax support recently, I modified STI a little to support it. -- Scale map to 1.0 to draw onto canvas, this fixes tearing issues -- Map is translated to correct position so the right section is drawn lg.push() lg.origin() tx, ty = tx or 0, ty or 0 for _, layer in ipairs(self.layers) ...
by monolifed
Fri Feb 05, 2021 3:13 pm
Forum: Games and Creations
Topic: nameless platformer
Replies: 6
Views: 5831

Re: nameless platformer

I dropped ATL. Now it uses STI

https://github.com/monolifed/luvarc -> platformer-sti
by monolifed
Mon Nov 30, 2020 2:00 pm
Forum: Games and Creations
Topic: pixed pixel editor
Replies: 0
Views: 1905

pixed pixel editor

Work in progress pixel editor
by monolifed
Mon Nov 30, 2020 8:30 am
Forum: Games and Creations
Topic: nono: a game based on no
Replies: 17
Views: 8285

Re: nono: a game based on no

Added undo
by monolifed
Mon Nov 30, 2020 8:25 am
Forum: Support and Development
Topic: astar to slow to work with... doing it wrong I guess
Replies: 5
Views: 2071

Re: astar to slow to work with... doing it wrong I guess

https://github.com/monolifed/luvarc -> astar
Since all the others was not really simple, I made this. It may help

A note: returned path is from destination to start