Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - JacobHofer

Pages: [1]
1
General / Issue with rendering textures to the screen
« on: November 29, 2018, 07:14:01 am »
So, I have a tile game that I am working on. This is a very odd bug, and I'm not sure if it is due to my own code, or something in SFML. I've looked all over my code, and don't think that's where it is originating from.
 
Anyways, the bug is a small visual glitch. Some of my tiles seem to be rendered as a solid color from time to time, but for only a frame. In addition, the color seems to match somewhat with the base texture of the tile. I have attached a short video showing the bug in it's entirety.

https://www.youtube.com/watch?v=93n_V0vjkHI&feature=youtu.be

If you need to see any code, ask and I'll be happy to provide it

2
Network / Sending Game Info Over UDP Is Very Slow
« on: August 05, 2018, 10:01:28 pm »
Hey everyone! So, I am new to the networking side of SFML, so to practice, I created a simple game. Basically users join and each control a square that moves around the screen. So far, it works fine, but sending and receiving data is very slow. Inputs take 1-2 seconds to register from one computer to another. Any ideas as to how I could fix it? Code is available below:

CLIENT CODE: https://hastebin.com/oviqiwajev.php
SERVER CODE: https://hastebin.com/xomolokabi.cpp

Thanks!

Pages: [1]
anything