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.


Topics - OdraEncoded

Pages: [1]
1
SFML projects / [LD48 #31] Dodge Pong (made with DSFML)
« on: December 08, 2014, 06:28:53 pm »
I'm participating Ludum Dare this month with a game made in DSFML (D programming language binding of SFML)

You should check it out! There seems to be a consensus that it's fun, addicting, and hard, and the only critique I got so far is that it doesn't feature highscores. The game was made entirely with DSFML. No other library was used for graphics/audio/physiscs/collision detection/etc.



Windows binaries: https://dl.dropboxusercontent.com/u/35494429/DodgePong.zip
Ludum Dare page: http://ludumdare.com/compo/ludum-dare-31/?action=preview&uid=8754

You should be able to run it in linux/mac and I actually got it running in Ubuntu, but I don't have experience packaging/distributing software in those platforms so I don't have an archive for you :(

If I figure out how to make a package for them I'll post them here, meanwhile you can still download the source code and try to get it running yourself. (you'll need DUB, DMD and DSFML)

2
D / I need help with DSFML
« on: July 02, 2014, 08:40:08 pm »
Hello, I'm picking up D this month to make a game with DSFML. I think the language is neat so far but I'm having problems using DSFML and I need help with some things.

For starters, how do I remove the console window?

I tried using the linker flag SUBSYSTEM:WINDOWS, but now my program crashes on exit with the error

Quote
core.exception.InvalidMemoryOperationError

It seems that this is related to the "Destroying X" messages that were written on the console when there was a console. Since now there is no console, it is an error to print. :/

Furthermore, the code to print those messages are after a "debug" condition, so I tried building my program using "releaseMode" as a building option in my dub package but it didn't have any effect. It only had effect on the code that was after a debug condition in my program, does that mean I have to somehow build the DSFML wrapper in release mode?

Besides that I'm worried that those "Destroying X" messages only ever appeared when my program exited. I heard D is garbage collected, but should I be destroying anything manually in DSFML? How? If not why stuff is only ever destroyed when the program exits?

Source code of my worries: https://github.com/Jebbs/DSFML/wiki/Building-Your-First-DSFML-Program%28DUB%29

3
Hey, I've been trying to download the library, but my downloads keep failing and the download speed is horribly slow(10~ KB/s).



Is it just me who is having this problem?

4
Window / Mouse scroll wheel input
« on: March 09, 2011, 01:58:13 pm »
Hi, is there a built in implementation of mouse scroll wheel values in sf::Input? I found out you can use sf::Event but I couldn't find it in sf::Input. Thanks.

Pages: [1]
anything