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 - Sanction

Pages: 1 2 [3] 4 5
31
General / Tutorial switch help?[SOLVED]
« on: August 10, 2015, 02:01:15 pm »
I'm sure this is a no brainer for some..

I'm getting a syntax error with: case sf::Event::KeyPressed: 'A';
Error says: case label value has already appeared in the switch

Is there a way to change the switch around to have multiple cases?
Thanks in advance!

CODE:
(click to show/hide)

32
General / Re: window.clear()?
« on: August 06, 2015, 04:03:03 pm »
Woa.. that was quick! I will give that a try Thankyou! ;D

33
General / window.clear()?[SOLVED]
« on: August 06, 2015, 03:59:48 pm »
What I'm using: VS2013, SFML2.3

I'm learning the basics off of the website. and for some reason window.clear() method does not exists?
Is this because the tutorial is out of date?

CODE:
(click to show/hide)

34
General / Re: How to set Valocity with Frame rate?
« on: December 05, 2014, 05:19:15 am »
I did it! it Works! I also included SFGUI so let the learning begin!

35
General / Re: How to set Valocity with Frame rate?
« on: December 03, 2014, 12:20:48 am »
Yes, Thanks, I will go back and have another go at it after I finish my assignments in Java. I really do appreciate all your help.

36
General / Re: How to set Valocity with Frame rate?
« on: December 01, 2014, 10:40:36 pm »
No I understand you guys get newbie questions all the time and trust me I try not to ask questions on the forums because its almost a slap in the face every time.

37
General / Re: How to set Valocity with Frame rate?
« on: December 01, 2014, 12:48:06 pm »
Quote
Use the nightly build just like an offical SDK, thus all the offical tutorials apply.
I've never used a SDK that is self install.. only Android Development Kit for Java, some more information would be helpful.

I guess I'm confused on how to combine the two Libs.. I thought I could just take a nightly build and throw it into my current SFML build and link and go.. but the program wont link to that lib (#include "Thor" )

38
General / Re: How to set Valocity with Frame rate?
« on: December 01, 2014, 03:34:08 am »
There is no tutorial on how to use the nightly builds there. I did how ever try to build thor with cmake and got this error:

error C2679 : Binary '/' : no operator found which takes a right - hand operand of type 'sf::Time'

I'm still a newbie :(

39
General / Re: How to set Valocity with Frame rate?
« on: November 30, 2014, 08:30:03 pm »
I'm following the SFML Game Development Book as I go, now I think I got my Fixed Delta Time correct this time. I think I might be able to finish this.

I just finished "C++ Through Game Programming" book(fourth Edition) about a month ago.. Working on SFML Game Development Book Learning and trying things as I go.

but how do I link to Thor Lib and also SFML Lib? & Will I have to make my own Thor Build with Cmake?

I have also seen SFGUI Will this work with SFML2.1? The forums seemed a little old.

Here is my Current code:
(click to show/hide)

 its a little messy right now but once I figure it out I can clean it up

40
General / How to set Valocity with Frame rate?
« on: November 30, 2014, 08:29:13 am »
I'm trying to move mPlayer to Mouse Position when Clicked witch I have done..
but Now I'm trying to make the mPlayer move at a set speed over time.

How would do this with time? I can find my distance (MouseX - PlayerX) (MouseY - PlayerY) and set speed?
I'm new to game coding

My Code
(click to show/hide)

41
General / Re: Help with Static Build
« on: October 11, 2014, 09:38:06 am »
Okay so I got my book in the mail today so I decided to give static build another shot.
I started with fresh Project and I'm using your Nightly Build(SFML-Visual_Studio2013x32)

*now I also tried including the dll files even with static build*
*I have no problem setting up Dynamically so that is what I'm resorting too in the mean time*

Linker | Input: Debug config
sfml-system-s-d.lib
sfml-window-s-d.lib
sfml-graphics-s-d.lib
sfml-network-s-d.lib
sfml-audio-s-d.lib

Linker | Input: Release config
sfml-system-s.lib
sfml-window-s.lib
sfml-graphics-s.lib
sfml-network-s.lib
sfml-audio-s.lib

My Errors: LNK2019: unresolved external symbol ..
(click to show/hide)

42
General / Re: Help with Static Build
« on: October 09, 2014, 08:52:13 pm »
Alright I will give it a shot Thanks a lot!

43
General / Re: Help Compling 'SFML Game Development' book source code
« on: October 09, 2014, 08:41:22 pm »
alright thx

44
General / Re: Help Compling 'SFML Game Development' book source code
« on: October 09, 2014, 03:31:39 am »
It seemed to skip a step.. I redone everything and this is what I get:

(click to show/hide)

45
General / Re: Help with Static Build
« on: October 09, 2014, 12:28:33 am »
Is that why I keep getting the same error every time I redo the whole build?

Well I deleted everything and did it all from scratch.. I still can't build the STATIC libs..
when I open the INSTALL.. in the solution manager it shows
sfml-audio(failed to load)
sfml-graphics(failed to load)
sfml-main
sfml-network(failed to load)
sfml-systems
sfml-windows(failed to load)

Pages: 1 2 [3] 4 5