1
SFML projects / :o
« on: October 13, 2011, 04:16:57 pm »
Ooooh, I love it! I'm just a huge fan of 8bit graphics and music . The combo system is also really cool
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.
Quote from: "David"I came back to C++ a week ago after seeing that my favorite game closed due to "financial problems" (it's in quotes because the company that made the game is extremely rich).May I ask which game?
The code will probably run faster if you implement it yourself (assuming you won't mess up ). On the other hand, if you implement it yourself, you have to prevent tunneling yourself (if it is an issue), you have to figure out how to respond to the collision etc. I would do it myself if I was you, unless I needed to simulate physics.
Box2D and Chipmunk is more for simulating some kind of physics if you ask me. If you only need collision detection and not forces then do it yourself is my opinion. Also those engines do use bounding boxes too, among other things.
Quote from: "David"
Some stuff:
-A "Delete" button for every file and image
-Thumbnail crops image
-Temporarily saving the account/remembering the username/account (although you're probably working on that right now)
1. Already on it , as stated.
2. Thumbnail will always crop images, its meant to be. The imageupload is for screenshots and cropped thumbnails is always fancier than shrunk for screenshots. As stated.
3. Already fixed, will take some time to take effect tho.
Quote from: "lakunar"I found a display bug: just search for " " or "ksks" and you see it.
And to make the search box a bit more user friendly:Code: [Select]
<form method="post" action="index.php?page=search">
<input id="searchbar" value="Search.." type="text" name="q"
onfocus="if (this.value == 'Search..') {this.value = '';}"
onblur= "if (this.value == '') {this.value = 'Search..';}"/>
</form>
Thanks! Fixed the searchbar, also the display error. Gotta fix empty querys when i have time. EDIT: Fixed, apparently i dont have a lot of stuff to do this very evening
Cheers
What about GIFs and other graphics? Are you sure you need to restrict files by extensions? I mean, one could still upload "virus.exe" as "virus.png" without a problem, so such a restriction isn't helpful IMHO.
Bounding boxes are pretty common and a simple way. Actually you can do it with SFML without writing any collision detection code yourself.
Here's some info for you: http://tinyurl.com/43he9wf
Quote from: "David"I think I tried WAMP at some point. I might've lost it somehow
I'll try again. Someday I'll get it to work :twisted:
Hehe, fixed the share thing, hope its enough.
Testing if it works properly: