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 - The Illusionist Mirage

Pages: 1 2 3 [4] 5 6 ... 8
46
General / Re: Doubt in Thor Library - Animator class
« on: October 02, 2013, 05:21:34 am »
Ok, thanks.

47
General / Doubt in Thor Library - Animator class
« on: October 01, 2013, 09:13:45 pm »
Hello

The following statement produces an error:
thor::Animator animator;

Error:
D:\CodeBlocks\SFML 2.1\DP\svn\trunk\Entity.h|53|error: invalid use of template-name 'thor::Animator' without an argument list|

What's wrong?

I'm using Thor 2.0 with SFML 2.1.

Thanks

48
General discussions / Re: Anyone interested in collaboration
« on: October 01, 2013, 08:45:35 pm »
@Klaim

Well, I guess absence of real life programmer friends and the lack of good teachers around me has forced me to explicitly ask if someone is willing to work on codes with me. My main motive is to work in a group and hone my skills and that's all. Maybe it's too much to ask from the level in which currently I am but it's worth a try if someone's willing.  :D

But I hope that not implementing dynamic allocation concepts and complex data structures in simple games should prevent me from game programming. I didn't say that I'm afraid of pointers or any concept; I'm just not yet completely done with it and am STILL PRACTICING. A programmer afraid of pointers is as good as a pilot who is afraid of his own plane's engine!(pardon my cold humor). And I also didn't brand myself as an expert or neither am I cocky about my skills.

And yes, already someone has contacted me and agreed to work with me, knowing very well my situation, knowledge and skill level. :D

49
General / Re: SFML source and Visual Studio 2013
« on: September 30, 2013, 05:41:54 pm »
To be honest, the CMake GUI sucks. Always has. It's much easier to just use the command line.   

Up to some extent,  I agree with you that the command line is better than GUI. Since I am quite new to CMake myself, whenever a build fails in the command line, I have to revert to the GUI.

50
General discussions / Re: Anyone interested in collaboration
« on: September 30, 2013, 03:22:59 pm »
I actually meant that I have a few concepts still to learn and master thoroughly. I know already a great deal about pointers but I am not yet smooth using it and at the moment I am just practicing. And after that only stacks, queues and the STL remains.

51
General discussions / Anyone interested in collaboration
« on: September 29, 2013, 07:14:29 pm »
Hello

I am an intermediate C++ user(still have to learn pointers, stacks, queues, some parts of arrays and the STL) but I am interested in making a game as a project in school. So I was wondering If anyone wants to collaborate with me and if we make a game, we'll share it equally(credits, code work, etc). I've already made a Pong clone before and I am NOT a very bad programmer.

So, if anyone wants to develop a project for their school or anywhere, please P.M. me or e-mail me(lostsoulofthegeek[at-the-rate]gmail[dot]com)and we'll discuss it further.

CHEERS! :D  8)


52
General discussions / Re: Suggestions regarding using SFML
« on: September 23, 2013, 06:37:09 pm »
Thanks, I got it :D

53
General discussions / Re: Suggestions regarding using SFML
« on: September 23, 2013, 06:01:40 pm »
Even though SFML itself is a multimedia library that can be used for various tasks, it is clearly designed with respect to games and realtime rendering.

You meant to say that libraries like SFML are mainly intended for game developers as it supports fast, realtime rendering?

54
General discussions / [Solved]Suggestions regarding using SFML
« on: September 23, 2013, 04:38:34 pm »
Hello

What I basically see on the internet is that a wide range of games have been developed using SFML. But SFML is a multimedia layer rather than a game engine. So, I was toying with the idea of making a simple calculator using SFML just to hone my skills. What do you think-should I proceed with that sort of stuff or just practice basic games?

Thanks

55
General / Re: Good gameplay recorder
« on: September 22, 2013, 12:10:40 pm »
Thanks sir, very helpful. :D

56
General / [Solved]Good gameplay recorder
« on: September 21, 2013, 06:12:25 pm »
Hello

I was trying to record a gameplay using Camtasia when I discovered that the game is not recording correctly(it is slow). So, which software is the best for recording games, especially the ones using SFML .

Thanks

57
General / Re: Can't figure out how to enable click and move
« on: September 18, 2013, 01:11:15 pm »
The correct algorithm would be....

Thanks sir, it worked perfectly :D.

58
General / Re: Can't figure out how to enable click and move
« on: September 18, 2013, 12:52:06 pm »
Something like that?

Thanks but if I move my rectangle fast by holding it, then the desired effect is not produced.

59
General / Can't figure out how to enable click and move
« on: September 18, 2013, 12:05:47 pm »
Hello

I am trying to move a sf::RectangleShape only when the user clicks the mouse over it and then moves it until the mouse is pressed. I am having some problem with this.

Here's my code
#include <SFML/Graphics.hpp>
#include <iostream>

int main()
{
    sf::RenderWindow window(sf::VideoMode(640, 480, 32), "TEST");

    sf::RectangleShape shape(sf::Vector2f(30.0f, 30.0f));
    shape.setFillColor(sf::Color::Red);
    shape.setPosition(sf::Vector2f(100.0f, 200.0f));

    while(window.isOpen())
    {
        sf::Event event;
        while(window.pollEvent(event))
        {
            switch(event.type)
            {
                case sf::Event::Closed:
                    window.close();
                    break;

                case sf::Event::KeyPressed:
                    if(event.key.code == sf::Keyboard::Escape)
                        window.close();
                    break;
            }
        }

        sf::Vector2f mousePos = (sf::Vector2f)sf::Mouse::getPosition(window);
        sf::Vector2f shapePos = shape.getPosition();

        std::cout << mousePos.x << ", "<< mousePos.y << std::endl;

        if(mousePos.x >= shapePos.x && mousePos.x <= shapePos.x + shape.getGlobalBounds().width
           && mousePos.y >= shapePos.y && mousePos.y <= shapePos.y + shape.getGlobalBounds().height)
            if(sf::Mouse::isButtonPressed(sf::Mouse::Left))
                shape.setPosition(mousePos.x, mousePos.y);

        window.clear();

        window.draw(shape);

        window.display();
    }

    return 0;
}
 

How do I rectify my code to make it work correctly?

Thanks

60
General / Re: Unable to compile SFML program in Ubuntu 12.10
« on: September 15, 2013, 06:17:38 pm »
There's no space between -D and the variable name.

Even after inserting a space it doesn't works.

And the error I am talking about:
libGLEW.so.1.7 needed by /home/user404/Libraries/SFML_2_1/lib/libsfml-graphics.so, not found

Pages: 1 2 3 [4] 5 6 ... 8