Search found 6 matches

by noegddgeon
Fri Oct 20, 2017 10:21 pm
Forum: General
Topic: Jittery 2D Scrolling
Replies: 4
Views: 3782

Re: Jittery 2D Scrolling

You do a wonderful job math.floor-ing the camera position with which you translate the coordinate system by... then fail to do so here: -- ExploreState.lua#L326 -- render the map around the player center self.map:render(self.player.x, self.player.y) Now if your rebuttal would be that you already fl...
by noegddgeon
Fri Oct 20, 2017 10:06 pm
Forum: General
Topic: Jittery 2D Scrolling
Replies: 4
Views: 3782

Re: Jittery 2D Scrolling

Hi erasio, Thanks so much for the reply! I implemented using an average delta time and turned on vsync per your suggestions, as well as fine-tuned the movement speed of the player, and that actually did help! However, I'm noticing that now the problem has gotten a little more refined: smooth scrolli...
by noegddgeon
Thu Oct 19, 2017 7:35 pm
Forum: General
Topic: Jittery 2D Scrolling
Replies: 4
Views: 3782

Jittery 2D Scrolling

Hello all, I've noticed that simple 2D scrolling in my various projects seems to be a bit jittery on my Macbook Pro (which has decent specs; 2.8 GHz i7, 16 GB RAM, Intel Iris 1.5 GB). I'll link a couple of the files from GitHub here on a simple RPG engine I'm working on that are pertinent to the ren...
by noegddgeon
Sun May 14, 2017 1:49 am
Forum: General
Topic: Texturing Meshes at an Angle
Replies: 17
Views: 16328

Re: Texturing Meshes at an Angle

Thanks so much for replying, everyone; sorry I was crap at responding. I've been working full force on a renderer using what Davidobot proposed, which I found shortly after posting this topic. Here's a screenshot of what it looks like now. Thanks again for your replies! Oh cool, a raycaster, I look...
by noegddgeon
Sat May 13, 2017 2:03 am
Forum: General
Topic: Texturing Meshes at an Angle
Replies: 17
Views: 16328

Re: Texturing Meshes at an Angle

Thanks so much for replying, everyone; sorry I was crap at responding. I've been working full force on a renderer using what Davidobot proposed, which I found shortly after posting this topic. Here's a screenshot of what it looks like now. Thanks again for your replies! Screen Shot 2017-05-12 at 10....
by noegddgeon
Mon May 08, 2017 6:30 pm
Forum: General
Topic: Texturing Meshes at an Angle
Replies: 17
Views: 16328

Texturing Meshes at an Angle

Hello all! In trying to create a little floor perspective thingy using a Mesh, I've encountered an issue; seems that it's rendering it a bit odd, showing the seam between the mesh's triangles and also skewing the UV mapping? Screen Shot 2017-05-08 at 2.21.33 PM.png Here's the source for the bit that...