1
Graphics / Re: Where can i find a tutorial on how to draw sprite characters from scratch?
« on: July 25, 2012, 05:31:03 pm »
That feels so unoriginal .____.
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.
We like to discuss game related topics in this forum, but keep in mind that this forum is actually for support on the SFML library. So I'm not quite sure if you're question really fits in here and less sure if many of us (programmer) can give advice on art creation (usually done by artists)...What do most noobie game developers do for sprites and characters, ect than? Im not very artistic, i can do a little bit of pixel stuff but nothing on paper...sadly :/
Maybe you should check out an art community and asked there, also to me it doesn't look like such a trivial task and I guess there are many diffrent ways to do it, so don't except a guid that will walk you through step by step. Art creation is a process that has to be learned or be given.
But hey maybe someone knows about stuff like this in here.
if(//cutscene is playing)
{if (sf::Keyboard:: isKeyPressed(sf::Keyboard::Up, Down, Right, Left))
{character.move(0,0);} // Obviously thats wrong syntax but i do that 4 times for each direction.
if(//Whatever actions the character can do)
{//Set everything to 0 manually. }
is there a quicker way or command to cut everything out? while two characters are talking? Like a pause during text display some how?
Thanks
Laser.setFillColor(sf::Color::Red);
Laser.setSize(sf::Vector2f(700, 10));
Laser.setOutlineColor(sf::Color::Transparent);
Laser.setOutlineThickness(4);
sf::RectangleShape enemy;
enemy.setFillColor(sf::Color::Magenta);
enemy.setSize(sf::Vector2f(10,10));
enemy.setPosition(300, 300);
else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Space))
Laser.setPosition(sf::Vector2f(snakebody.getPosition()));
if(sf::Vector2f(Laser.getPosition()) == (sf::Vector2f(enemy.getPosition())))
window.close(); // Window Close is just to test and see if its
I want to make it so that if any part of Laser(including the transparent outline) touches (enemy) than the window will shut down...What i have runs fine and is syntactically correct. But the way im doing it. I believe Laser and enemy's position and size would have to be exactly the same for the window to close. The close is just a test by the way, ill add what i actually want it to do after i figure this out. Thanks for any help. Snakebody is a 10x10 rectangle moveable "character". and the laser shoots from the right side. So whereve the character is the laser will shoot from that place. My style is disgusting, i know. I hope its not too hard to read those few lines.