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

Pages: [1]
1
General / Poll event vs GetInput()
« on: August 24, 2011, 07:59:36 pm »
Hello, i'm curious about something regarding player input.
I understand both polling events and doing a .GetInput().IsKeyDown can work for detecting when a key is pressed, and I seem to be using both in my current project.
Polling events handles going through a door (W key) and i usec getinput to incorporate a yoyo item when return is pressed, i guess because i did that later on in the programming progress. movement is also with GetInput (A and D keys).

Is there a big difference here, is it recommendable to stick with one of these methods?

I have seen poll event be applied for closing the screen a lot but directional movement seems to work with GetInput() is many programs, to cite an example of both being in the same program. i guess thats my question. my program is functional and i seem to be becoming more efficient at debugging so i might as well work out the minor details. by the way i just organized all my code which was a little scrambled up, which is why i got to this question in the first place

2
General / Building SFML2 Workspace(Codeblocks) error
« on: June 13, 2011, 03:10:58 am »
_On windows
_downloaded cmake / sfml2 and followed tutorial

had some trouble with the configuration step, fixed that with the PATH variable (included ....mingw\bin)

selected codeblocks makefile in generator option

OK, finished configuring, didnt change the check boxes (that is, build_shared_libs check, cmake_build_type Release, static_std_libs not checked)

configured properly, generated properly

then i opened the workspace, which i rooted to SFML/SFML2-build

it was there, but building workspace (target: all) brings up this:

Code: [Select]
-------------- Build: all in SFML ---------------

Using makefile: Makefile
Execution of 'make.exe -s -f Makefile all' in 'C:\SFML\SFML 2-build' failed.
Nothing to be done.


not fun!

it seems pretty straightforward (to anyone with half a brain for this kind of error), but i dont even know where to start. make.exe, if somewhere in my sfml2, is pretty well hidden. i googled and checked the forums but i couldnt find a similar case

this irritated me to the point of giving up my sfml forum lurking and registering, which will probably have been a good idea anyway when i get to more difficult projects that simple tutorials or guides or practice cant help with

so can someone help me out?  :(

Pages: [1]