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

Pages: 1 ... 609 610 [611] 612 613 ... 720
9151
Window / Re: Mouse/Keyboard Event issue
« on: November 26, 2012, 07:50:07 pm »
Yes, but its not W but D... But I think you get the point.
So you compiled and ran my code?
If you did so and got the output when you move your mouse, then there's something strange going on with your mouse or it's something in a code piece you didn't show us.

I would also like to show the full source code but its kinda funky looking.
Okay my bad, don't show the full source, but a minimal and complete example, like the one I showed above. But as I said if the example above produced the error, then there's something wrong with your system/mouse. ;)

9152
SFML projects / Re: My new Project
« on: November 26, 2012, 07:42:03 pm »
So its a top down minecraft? Cool! Notch had a cool entry for the lundumdare, it was called minicraft.
It's sad to see that people only see Minecraft everywhere... :(
It's a survival game and so is Minecraft (at least in the survival mode) but there's no other connection and even before Minecraft there were hundreds of survival games.

I would also like to know when you are going to work on world generation? and how? Noise maps and random numbers?
Who says he will implement a world generator? ;)

9153
Window / Re: Mouse/Keyboard Event issue
« on: November 26, 2012, 07:12:59 pm »
So you're saying that the following code constantly prints out 'W pressed' whenever you move the mouse over the window?

#include <SFML/Graphics.hpp>
#include <iostream>

int main()
{
    sf::RenderWindow window(sf::VideoMode(1024, 765), "Keyboad Events");
    window.setFramerateLimit(60);

    while(window.isOpen())
    {
        sf::Event event;
        while(window.pollEvent(event))
        {
            if(event.type == sf::Event::Closed)
                window.close();
            else if(event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::W)
                std::cout << "W pressed" << std::endl;
        }

        window.clear();
        window.display();
    }
}
 

Btw you should always post a complete example. ;)

9154
General discussions / Re: Installing SFML 2.0 on linux for dummies
« on: November 26, 2012, 07:08:23 pm »
Maybe you want to put that (also) in the official tutorial wiki section on GitHub. ;)

9155
SFML projects / Re: My new Project
« on: November 26, 2012, 07:06:36 pm »
you can see them all the time in the inventory? no just if you click it whit your cursor?
Yes, like this:

9156
SFML projects / Re: My new Project
« on: November 26, 2012, 06:20:19 pm »
Normally you can see the picked up Objects in the Inventory and the Items are counted.
I do see them, not sure what you did on the other system you tried. ;)

9157
SFML projects / Re: My new Project
« on: November 26, 2012, 05:42:02 pm »
What can i do?
Give a proper description of the problem and look what the console output says.

Maybe you've misplaced the images and fonts so the application can't load them properly...
How do you load the resources and where do you put the resources?

9158
SFML projects / Re: Open Hexagon - challenging fast paced game
« on: November 26, 2012, 03:05:45 pm »
Open Hexagon 1.3a is now available!
http://www.mediafire.com/?41z2ybz7gawy5rx
https://dl.dropbox.com/u/3724424/OpenHexagonV1.3a.zip
Man you're fast! I wasn't even able to play with the 1.2 version. :D

Btw what's the best way to upgrade to a new version while still keeping the old scores?

9159
Graphics / AW: Re: Shape not placing properly
« on: November 26, 2012, 11:12:12 am »
setPosition sets the top left corner, not the center.
You can use setOrigin to change how things get drawn.

9160
General / Re: 2D First Person Dungeon Crawler
« on: November 26, 2012, 01:46:26 am »
I'm not at all familiar with the topic either, but I've come up with quite a few more or less useful links and more important terms (Googling is all about finding the best terms).

But before I post them let me say that the 'old methods' where mostly used because there was no other way and most of them are very hacked or use some special mode (e.g. on the NES 'model 7'). So if you want to enter this area, good luck. ;)
As second side note, you could always write your own software 3D renderer, but let me tell you it's not easy and would kind of defeat your purpose... :)

With the term 'fake 3d' I came across this, which also lists different ways of doing things and links to other sites.
With the same term I also found this, which is kind of short and the source is down...
While searching for 'model 7', I came across the well known and often used term '2.5D' and covers mostly all ways to fake some depth, see this wiki article.
That article should give you quite a few other things to read and look into. ;)

As addition maybe you can hope for an answer from Groogy, who's been doing something similar (but in Ruby), see here.

Btw. if the scene is quite static and simply, you could also just use an image and scale the player as he moves and introduce some 'fake' boundaries. This is probably the easiest way to achieve a fake depth feeling and has been used in mostly all adventure games (King/Police/Space Quest but also Runaway (afaik) etc.). ;)

9161
General / Re: Visual Studio 2012 and SFML 2.0
« on: November 25, 2012, 10:23:53 pm »
The tutorial for building SFML is not really that complete. Any ideas?
Why shouldn't it be complete?
What is missing in your opinion?

9162
General / Re: Visual Studio 2012 and SFML 2.0
« on: November 25, 2012, 10:04:38 pm »
I am new to the windows platform. My quick question is, how do you install the SFML for the VS2012 running on windows 8?
The same way as it's explained in the official tutorials for Visual Studio.

Also note that you'll have to build SFML on your own with VS 2012 (or use my nightly builds). ;)

9163
General discussions / AW: Re: SFML 2.0?
« on: November 24, 2012, 06:53:07 pm »
However what is not apparent is what 'soon' means? Weeks? Months?
Do you think if there was a degined time we'd still be using the term 'soon'?
It basically means what the link above says.

9164
General discussions / AW: Re: SFML 2.0?
« on: November 24, 2012, 03:02:03 pm »
I'm sure you get a lot of this...
If you're so sure, why didn't use the search function...?

No there's no ETA other than 'soon'.
The tutorials seem to be the last thing (see milestone on GitHub).
But you can easily build from source or use my nightly builds.

9165
SFML projects / Re: Open Hexagon - challenging fast paced game
« on: November 23, 2012, 01:05:31 pm »
EDIT: small bug: escape key does not always work in menu. Did you use multiple times while (window.pollEvent())?
It's actually a feature! ;)
The reaction is delayed by 25 (something), so you don't accidentally quite the game, I'd guess.

Pages: 1 ... 609 610 [611] 612 613 ... 720