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

Author Topic: Problems when sending a project to someone else.  (Read 1616 times)

0 Members and 2 Guests are viewing this topic.

broncoian2

  • Newbie
  • *
  • Posts: 2
    • View Profile
Problems when sending a project to someone else.
« on: October 14, 2020, 06:03:31 pm »
Hello I've been working on a project in sfml using c++ with visual studio 15.  The game is a clone of pacman it's incomplete but I'm not here for that. 

On my system the game runs fine pacman can move (thats all you can do at the moment),  however when I send this project to someone else, the game loads but the pac-man does not move.

I've compiled in release, packaged the .exe, all DLL files, and all png files used for sprites all within a zip folder.  When I tested it on a different computer with the same OS, it worked fine.  This guy runs the same OS as me windows 10, but can't seem to get keyboard input.  I've tried looking the problem up but I couldn't find anything useful so I'm asking you guys. 

I don't think this is an issue on my end,  but I could be wrong,  I'm not really sure what to include so if you need anything specific just ask and I'll provide any information.

My question is,  what could be causing this prevention of detecting keyboard input on his end, and if you don't think it's keyboard input detection, what do you think the problem could be?  It's a hard question I know, and I'm sorry it is vague, but I don't have access to his computer so I don't have specific information.

Another hunch I have is that it's some kind of game loop timing issue, so then it would be on my end, however I'm not sure why it would work on a different computer but not his.

Again, I can provide links to anything useful, if you need something let me know.  Thanks you all.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Problems when sending a project to someone else.
« Reply #1 on: October 14, 2020, 06:16:29 pm »
If you send them the example pong application, does it run fine?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

broncoian2

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Problems when sending a project to someone else.
« Reply #2 on: October 14, 2020, 06:23:15 pm »
Not sure, I honestly didn't know sfml shipped with a working version of pong.  Where is this stored? I'll send it to them today.

Kvaz1r

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: Problems when sending a project to someone else.
« Reply #3 on: October 14, 2020, 06:41:35 pm »
In examples folder (located inside main lib folder) or you can get it from Github - https://github.com/SFML/SFML/tree/master/examples/pong

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Problems when sending a project to someone else.
« Reply #4 on: October 14, 2020, 09:02:29 pm »
It's also part of all SFML release packages. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything