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

Pages: 1 2 3 [4] 5 6
46
Graphics / SubRect
« on: September 09, 2011, 01:42:26 am »
Hi. I dont know if this is a bug on my part or yours, but there a problem with sprite.setsubrect(). When ever I change the subrect of the sprite, the whole image pops up on the screen. This is very brief, but Im changing the subrect constantly, so I pretty much see an opaque version of the whole image. Thanx in advance.

47
General discussions / Who Are You? (the obligatory interview thread)
« on: September 08, 2011, 11:07:04 pm »
really? is it that bad? I like it. Its pretty easy and stuff...

48
General / better tutorial for SFML?
« on: September 08, 2011, 07:59:37 pm »
Just some tips:
Code: [Select]

ship.SetScale(0.f,0.f);
ship.Rotate(0.f);

These are not needed. All sprites, when loaded have a scale of 0, and a rotation of 0. Also, the second line adds on degrees from what the rotation already is. You should be using SetRotation() to set the rotation to a set amount.

I have a question, though. When checking for what type an event is, should you use a if else or just if, because an event cant be both Closed and Mouse clicked(right?)

49
General discussions / Who Are You? (the obligatory interview thread)
« on: September 08, 2011, 07:44:01 pm »
wow.... so many languages

50
General / SFML 2 include
« on: September 08, 2011, 07:42:50 pm »
I thought the install only moved the stuff to a specified directory? Or does it also make a source?

51
Graphics / GetEvent() Deprecated? - SFML 2
« on: September 08, 2011, 04:59:30 am »
hi guys. I just started using vs 2010 with sfml 2, and I use VassistX becuase I pretty much cant code without it. Anyway, the code completion shows App.GetInput, but not PollEvent. However only PollEvent compiles. Is there some knid of doc that you guys have to update for VAssistX to see the real functions?

52
General discussions / my turn
« on: September 08, 2011, 04:35:34 am »
yay! my turn.
Before I start, though, I wanna ask: why are their so many indie game programmers? Mojang, you guys, alot of people on the internet..

Anyway, about me: I'm 15 years old in high school. The reason I started programming is because of a calculator. Seriously. Theres this brand of calculators called TI-84s(I dont know if u guys have them where ure from), and a nice feature in them is the ability to code. They have their own language called TI-Basic, and its pretty cool, Anyway, I had to do a project for school and I had to take a bunch of numbers and do things to them, like multiply and subtract and add and stuff. It wouldve taken forever, but my partner put a code on my calulator and made it so that i only had to type the number, and it would output the result. Afterwards, I tried to find out how it worked, so I looked online and there was a nice little website for that. I made a few of my own programs. This was my first programming, ever.

It's been about ten months since that. After ti-basic, I went to liberty basic, mostly because it had a really nice set of tutorials. When I finished the tutorials, I tried c++, for about 10 minutes, and then java. I couldnt do that either, so then I tried VB. Thats about the best programming language ever.Seriously, its really nice. Just a little slow. I used that for a while, and it really clicked for me. I tried making my own browser, and got pretty far, but then there was this one bug that i just couldn't fix. That made me stop programming for a few months. After that i learned the basics of java, and  then c++.That was about 3 weeks ago. I looked for a graphics lib, found sfml. C++ has rellay good for me, because ive been learning it practically using sfml. Ive probably learned more in the last three weeks than in the past year.

So, thats it. :lol:

53
General / SFML 2 include
« on: September 08, 2011, 01:39:37 am »
Ive compiled SFML 2 as per the tutorial, but I cant find where Im supposed to put the include dirctory. I know theres supposed to be a graphics.cpp, system.cpp, etc, but I cant find those in any of the folders. Thanks in advance

54
Graphics / Debug version works fine, release desn't (Tic Tac Toe)
« on: September 07, 2011, 04:52:21 am »
Im not a code expert, so I cant tell you about your actual problem, but about the debug vs release thing here: http://haacked.com/archive/2004/02/14/difference-between-debug-vs-release-build.aspx

55
General discussions / Bump
« on: September 07, 2011, 04:40:06 am »
Im gonna bump this topic cuz Id like to see how the results have changed after three years. Can you run the test again?

56
Graphics / Frame Buffer
« on: September 05, 2011, 06:03:14 pm »
ok thanks. Another question: does changing the window's framelimit change how many times the main loop is gone through, or just how many times its rendered?

57
Graphics / err...sorry
« on: September 05, 2011, 05:23:21 pm »
I just found out that what Im looking for is called a doublebuffer. Sorry. Is there a doublebuffer in SFML?

58
Graphics / Frame Buffer
« on: September 05, 2011, 05:19:59 pm »
Quote from: "Laurent"
But how would it remove tearing?

I dunno, I thought that was what framebuffers were for. What is the renderTexture used for?

59
Graphics / Frame Buffer
« on: September 05, 2011, 04:57:59 am »
Is there a framebuffer objectin sfml?If not, can someone show me how to remove tearing from an application? Thanks.

60
Graphics / Animation......again
« on: September 04, 2011, 05:30:10 pm »
but if i have multiple animations in that holder, can i do animations.SetX();?

Pages: 1 2 3 [4] 5 6