SFML community forums

Help => General => Topic started by: Christopher Jozwiak on March 22, 2013, 01:11:28 am

Title: New Square from old square...
Post by: Christopher Jozwiak on March 22, 2013, 01:11:28 am
Not really related to sfml per say... But more to my project using sfml.  I want to draw a new square everytime my mouse is clicked.  Not sure how to do it though. My code is at www.cjozwiak.com (http://www.cjozwiak.com). 
Title: AW: New Square from old square...
Post by: eXpl0it3r on March 22, 2013, 02:20:37 am
Are you now waiting for people to write your code? How much do you pay an hour? ;D

On a serious note there's the documentation, which is probably the best you'll ever see, then there's the search function of the forum, which holds hundreds of examples, and if that didn't help google quickly.

A vector you push back a new element everytime an event is fired, maybe?
Title: Re: New Square from old square...
Post by: Christopher Jozwiak on March 22, 2013, 02:24:26 am
Your Probably right.  Should think about things on my own instead of asking for others to give me advice.  Otherwise I'll get addicted to doing it.. ??? Thanks though.