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.


Messages - jamesL

Pages: 1 ... 4 5 [6] 7 8 9
76
Network / Re: Packet Errors
« on: November 19, 2016, 08:56:50 am »
what compiler are you using ?

total guess here, but maybe you have to go to the project settings and check the box for C++11

77
you probably won't get an answer

they're pretty strict about keeoping this an SFML forum and not a generic C++ or generic game dev forum

you could try some of these
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=game%20dev%20forums

78
General discussions / another SFML book -- Beginning C++ Game Programming
« on: October 20, 2016, 05:01:55 am »
I have a subscription to packtpub.
So I get to download pdf versions of their books.

I just a new SFML book that was just released.

https://www.packtpub.com/game-development/beginning-c-game-programming

from a quick look it seems to be geared towards new C++ programmers (explains variables, loops and so on - but doesn't seem very focused on the "newer" C++ stuff - smart pointers and the like - so it's more of a C with objects book)

you build a clone of
http://store.steampowered.com/app/398710/

and a very basic version of
http://store.steampowered.com/app/273500/

and also
http://store.steampowered.com/app/220780/

they get a little into shaders towards the end of the book

and here's the
Table of Contents

1: C++, SFML, VISUAL STUDIO, AND STARTING THE FIRST GAME
2: VARIABLES, OPERATORS, AND DECISIONS – ANIMATING SPRITES
3: C++ STRINGS, SFML TIME, PLAYER INPUT, AND HUD
4: LOOPS, ARRAYS, SWITCH, ENUMERATIONS, AND FUNCTIONS – IMPLEMENTING GAME MECHANICS
5: COLLISIONS, SOUND, AND END CONDITIONS – MAKING THE GAME PLAYABLE
6: OBJECT-ORIENTED PROGRAMMING, CLASSES, AND SFML VIEWS
7: C++ REFERENCES, SPRITE SHEETS, AND VERTEX ARRAYS
8: POINTERS, THE STANDARD TEMPLATE LIBRARY, AND TEXTURE MANAGEMENT
9: COLLISION DETECTION, PICKUPS, AND BULLETS
10: LAYERING VIEWS AND IMPLEMENTING THE HUD
11: SOUND EFFECTS, FILE I/O, AND FINISHING THE GAME
12: ABSTRACTION AND CODE MANAGEMENT – MAKING BETTER USE OF OOP
13: ADVANCED OOP – INHERITANCE AND POLYMORPHISM
14: BUILDING PLAYABLE LEVELS AND COLLISION DETECTION
15: SOUND SPATIALIZATION AND HUD
16: EXTENDING SFML CLASSES, PARTICLE SYSTEMS, AND SHADERS
17: BEFORE YOU GO...


79
he says she's trying to create his own, but its failing

he's asking for help creating a template

I don't use VS so I can't help

80
Graphics / Re: LoadFromFile undefined reference problem
« on: September 27, 2016, 06:21:59 pm »
yeah, if you're using this one
codeblocks-16.01mingw-setup.exe
"The codeblocks-16.01mingw-setup.exe file includes additionally the GCC/G++ compiler and GDB debugger from TDM-GCC (version 4.9.2, 32 bit, SJLJ)."
from
http://www.codeblocks.org/downloads/binaries

then you want
GCC 4.9.2 TDM (SJLJ) - 32-bit
from
http://www.sfml-dev.org/download/sfml/2.4.0/

81
SFML projects / Re: Let's make 16 classic game in C++ video series
« on: September 16, 2016, 07:46:37 pm »
great videos

a really great display of incremental programming


82
Audio / Re: Few questions before I start
« on: August 28, 2016, 01:38:06 am »
"visual studio 2005"

you know you can get VS 2015 community edition for free
https://beta.visualstudio.com/vs/community/

you can use C#, Visual Basic, F#, C++, R, Python, HTML, JavaScript, TypeScript, Python

83
your compiler says
C:\TDM-GCC-32

where did you get that compiler ?

I'm using the one that came with codeblocks

I installed this codeblocks
codeblocks-16.01mingw-nosetup.zip
but this one should work too
codeblocks-16.01mingw-setup.exe

both come a compiler in the codeblocks\MinGW folder

so my compiler is set to the one that came with codeblocks
D:\Programs\CodeBlocks-16.01_TDM-GCC-4.9.2-32-bit-SJLJ\MinGW

http://imgur.com/a/H43Ga

(click to show/hide)

84
I just tried it with this font
http://www.1001freefonts.com/28_days_later.font

and this SFML
http://www.sfml-dev.org/download/sfml/2.4.0/
GCC 4.9.2 TDM (SJLJ) - 32-bit

and this codeblocks
http://www.codeblocks.org/downloads/binaries
codeblocks-16.01mingw-nosetup.zip

and your code worked fine (other than a warning about setcolor being depricated)

85
are you pressing both the S and the A key at the same time ?

because that's the only way it should work

86
General / Re: Cannot compile finished project pulled from GitHub!
« on: August 18, 2016, 10:58:30 pm »
are you sure your "additional includes" in VS are correct ?

go here
http://www.sfml-dev.org/tutorials/2.4/start-vc.php 

and find
The path to the SFML headers (<sfml-install-path>/include) to C/C++ » General » Additional Include Directories

87
Window / Re: Black screen in fullscreen mode when updating windows 10
« on: August 16, 2016, 10:31:56 am »
what version of SFML ?

what video card and drivers ?

88
are you doing C++ or C# ?

if C++ then go here
http://www.sfml-dev.org/download/sfml/2.4.0/

and get
Visual C++ 14 (2015) - 32-bit

get the 32 bit version even if you have a 64 bit version of Windows

then follow the instructions here
http://www.sfml-dev.org/tutorials/2.4/start-vc.php


89
General / Re: Is there a console?
« on: August 12, 2016, 12:21:25 am »
I know codeblocks provides a console window

I'm sure other IDEs do too

with codeblocks I can compile an sfml program and run it from codeblocks

codeblocks will open open a console window where all my couts will go to and it will of course open my sfml program


90
General / Re: Spike lag
« on: August 10, 2016, 10:44:43 pm »
start by moving
window.setFramerateLimit(60);
outside the loop

Pages: 1 ... 4 5 [6] 7 8 9
anything