Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411430 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 19, 2024, 03:53:49 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)C++/sfml
Pages: [1]
Print
Author Topic: C++/sfml  (Read 1005 times)
Code_Black
TIGBaby
*


View Profile
« on: May 09, 2017, 02:07:33 PM »

Yes hi my name is chris. I've been working on my game for a while and made no progress. This is my first attempt at making something. You see . I've been teaching myself c++ off & on for 8 yrs. I remember looking at my first c++ book, Beginning C++ Game Programming by Michael Dawson, and going theirs no way I could do this. Fast foward 8, and it's like I can read any c++ code and be like O. I don't think I'm at the point where I can write alot of code by myself, but I'm closer than I was when I started. Back to my problem when I try to update player pos with setpos, she flies off screen. My other problem is with translating map pos to player pos for collsion. I have 2d int array to represent different blocks. Any help eoulde be great. Thanks https://pastebin.com/mihFbL9X .
Logged
Whiteclaws
Level 10
*****


#include <funny.h>


View Profile
« Reply #1 on: June 06, 2017, 08:11:26 PM »

You'd have more luck explaining your life less and your game more, also, isolate the problem to a few lines of code, there's a lot of code that has nothing to do with your problem and I'm not deciphering it all
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic