www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Dgame 0.3.2

reply "Namespace" <rswhite4 googlemail.com> writes:
A new version of Dgame is ready: 
https://github.com/Dgame/Dgame/releases/tag/0.3.2

Don't forget to visit the website and the tutorials:
http://dgame-dev.de/
http://dgame-dev.de/?page=tutorial

Also there is now a Work in Progress section where games are 
listed which are written with Dgame:
http://dgame-dev.de/?page=show

There is as yet only one (finished) game of me and a fellow 
student, but I'm sure others will follow.
It is intended to show what is possible and how. Currently it 
consists of only one level, but we're working on it.
Feb 18 2014
next sibling parent reply "simendsjo" <simendsjo gmail.com> writes:
On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently it 
 consists of only one level, but we're working on it.
I get errors whet accessing the tutorial page: Warning: include_once(doku/Create_a_Window.html): failed to open stream: No such file or directory in /www/htdocs/w008cef8/dgame4/tutorial/create_win.php on line 8
Feb 18 2014
parent "Namespace" <rswhite4 googlemail.com> writes:
On Tuesday, 18 February 2014 at 12:31:04 UTC, simendsjo wrote:
 On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently it 
 consists of only one level, but we're working on it.
I get errors whet accessing the tutorial page: Warning: include_once(doku/Create_a_Window.html): failed to open stream: No such file or directory in /www/htdocs/w008cef8/dgame4/tutorial/create_win.php on line 8
Fixed. Thank you.
Feb 18 2014
prev sibling next sibling parent reply "Gary Willoughby" <dev nomad.so> writes:
On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently it 
 consists of only one level, but we're working on it.
Have you considered putting this on the Dub registry?
Feb 18 2014
parent "Namespace" <rswhite4 googlemail.com> writes:
On Tuesday, 18 February 2014 at 16:24:56 UTC, Gary Willoughby 
wrote:
 On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently it 
 consists of only one level, but we're working on it.
Have you considered putting this on the Dub registry?
Yes I will make this soon. Currently I have not that much time besides the bachelor thesis (also a D Project). But it is on my list! ;)
Feb 18 2014
prev sibling parent reply "Mengu" <mengukagan gmail.com> writes:
On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently it 
 consists of only one level, but we're working on it.
is this just for windows?
Feb 20 2014
parent reply "Namespace" <rswhite4 googlemail.com> writes:
On Thursday, 20 February 2014 at 11:50:33 UTC, Mengu wrote:
 On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently it 
 consists of only one level, but we're working on it.
is this just for windows?
The Spaceshooter game is only downloadable/direct executable for windows because I'm only on Windows. But you can download the game from Github and compile it by yourself. Or did you mean Dgame?
Feb 20 2014
parent reply "Mengu" <mengukagan gmail.com> writes:
On Thursday, 20 February 2014 at 12:05:49 UTC, Namespace wrote:
 On Thursday, 20 February 2014 at 11:50:33 UTC, Mengu wrote:
 On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently it 
 consists of only one level, but we're working on it.
is this just for windows?
The Spaceshooter game is only downloadable/direct executable for windows because I'm only on Windows. But you can download the game from Github and compile it by yourself. Or did you mean Dgame?
indeed, i meant Dgame.
Feb 20 2014
parent reply "Namespace" <rswhite4 googlemail.com> writes:
On Thursday, 20 February 2014 at 13:53:54 UTC, Mengu wrote:
 On Thursday, 20 February 2014 at 12:05:49 UTC, Namespace wrote:
 On Thursday, 20 February 2014 at 11:50:33 UTC, Mengu wrote:
 On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games are 
 listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently 
 it consists of only one level, but we're working on it.
is this just for windows?
The Spaceshooter game is only downloadable/direct executable for windows because I'm only on Windows. But you can download the game from Github and compile it by yourself. Or did you mean Dgame?
indeed, i meant Dgame.
As you can read in the install turorial, on other plattforms you have to build the needed *.dll files by yourself but that's the only thing you have to do. Dgame was tested on Linux and OSX also. :)
Feb 20 2014
parent reply "ed" <growlercab gmail.com> writes:
On Thursday, 20 February 2014 at 15:12:50 UTC, Namespace wrote:
 On Thursday, 20 February 2014 at 13:53:54 UTC, Mengu wrote:
 On Thursday, 20 February 2014 at 12:05:49 UTC, Namespace wrote:
 On Thursday, 20 February 2014 at 11:50:33 UTC, Mengu wrote:
 On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace 
 wrote:
 A new version of Dgame is ready: 
 https://github.com/Dgame/Dgame/releases/tag/0.3.2

 Don't forget to visit the website and the tutorials:
 http://dgame-dev.de/
 http://dgame-dev.de/?page=tutorial

 Also there is now a Work in Progress section where games 
 are listed which are written with Dgame:
 http://dgame-dev.de/?page=show

 There is as yet only one (finished) game of me and a fellow 
 student, but I'm sure others will follow.
 It is intended to show what is possible and how. Currently 
 it consists of only one level, but we're working on it.
is this just for windows?
The Spaceshooter game is only downloadable/direct executable for windows because I'm only on Windows. But you can download the game from Github and compile it by yourself. Or did you mean Dgame?
indeed, i meant Dgame.
As you can read in the install turorial, on other plattforms you have to build the needed *.dll files by yourself but that's the only thing you have to do. Dgame was tested on Linux and OSX also. :)
I tried it last night for the first time on linux x86_64 and it works. Very nice library and easy to use, good work!. I managed to hack out a small space invaders level in only an hour or so. As for shared libs, I just installed those from the system package manager (SDL, OpenAL etc.) it worked flawlessly :) I did have one build issues though: Window/MessageBox.d(148): Error: cannot implicitly convert expression (this.box_buttons.length) of type ulong to int. Simple cast to int fixed the problem and I've added an issue to github. I'd offer a pull request but it's such a simple change and my github access is very limited at the moment. Cheers, ed
Feb 20 2014
parent reply "Namespace" <rswhite4 googlemail.com> writes:
 I tried it last night for the first time on linux x86_64 and it 
 works. Very nice library and easy to use, good work!. I managed 
 to hack out a small space invaders level in only an hour or so. 
 As for shared libs, I just installed those from the system 
 package manager (SDL, OpenAL etc.) it worked flawlessly :)
That's nice to hear! I would be glad if you could share your level so I can post it on the website. :)
 I did have one build issues though:
 Window/MessageBox.d(148): Error: cannot implicitly convert 
 expression (this.box_buttons.length) of type ulong to int.

 Simple cast to int fixed the problem and I've added an issue to 
 github. I'd offer a pull request but it's such a simple change 
 and my github access is very limited at the moment.

 Cheers,
 ed
Thanks for that, it's already fixed. :)
Feb 20 2014
next sibling parent "ed" <growlercab gmail.com> writes:
On Thursday, 20 February 2014 at 23:42:29 UTC, Namespace wrote:
 I tried it last night for the first time on linux x86_64 and 
 it works. Very nice library and easy to use, good work!. I 
 managed to hack out a small space invaders level in only an 
 hour or so. As for shared libs, I just installed those from 
 the system package manager (SDL, OpenAL etc.) it worked 
 flawlessly :)
That's nice to hear! I would be glad if you could share your level so I can post it on the website. :)
 I did have one build issues though:
 Window/MessageBox.d(148): Error: cannot implicitly convert 
 expression (this.box_buttons.length) of type ulong to int.

 Simple cast to int fixed the problem and I've added an issue 
 to github. I'd offer a pull request but it's such a simple 
 change and my github access is very limited at the moment.

 Cheers,
 ed
Thanks for that, it's already fixed. :)
wow, quick! Keep up the good work :)
Feb 20 2014
prev sibling parent reply "ed" <growlercab gmail.com> writes:
On Thursday, 20 February 2014 at 23:42:29 UTC, Namespace wrote:
[snip]
 That's nice to hear! I would be glad if you could share your 
 level so I can post it on the website. :)

Sorry, missed this. I'd rather not hand it over in its current form, it is pure hack and not exemplary D/Dgame code :D If I get the chance over the next week I'll clean it up and post it. Cheers, ed
Feb 20 2014
parent reply "ed" <growlercab gmail.com> writes:
On Friday, 21 February 2014 at 07:36:46 UTC, ed wrote:
 On Thursday, 20 February 2014 at 23:42:29 UTC, Namespace wrote:
 [snip]
 That's nice to hear! I would be glad if you could share your 
 level so I can post it on the website. :)

Sorry, missed this. I'd rather not hand it over in its current form, it is pure hack and not exemplary D/Dgame code :D If I get the chance over the next week I'll clean it up and post it. Cheers, ed
On second thoughts, it isn't worth cleaning up. It is what it is and I leave it up to you to decide if it's too messy to put up on the website :D I've dumped it on github here: https://github.com/lyrebirdsw/dinvaders Cheers, ed
Feb 21 2014
parent reply "Namespace" <rswhite4 googlemail.com> writes:
On Friday, 21 February 2014 at 14:03:35 UTC, ed wrote:
 On Friday, 21 February 2014 at 07:36:46 UTC, ed wrote:
 On Thursday, 20 February 2014 at 23:42:29 UTC, Namespace wrote:
 [snip]
 That's nice to hear! I would be glad if you could share your 
 level so I can post it on the website. :)

Sorry, missed this. I'd rather not hand it over in its current form, it is pure hack and not exemplary D/Dgame code :D If I get the chance over the next week I'll clean it up and post it. Cheers, ed
On second thoughts, it isn't worth cleaning up. It is what it is and I leave it up to you to decide if it's too messy to put up on the website :D I've dumped it on github here: https://github.com/lyrebirdsw/dinvaders Cheers, ed
Why not, I like it. It gives a nice retro feeling. :) Simple but good images. I had to adjust a few things, to make it work on Windows (you used an ulong for array indexing - dmd 2.064.2 on windows seems not to like it.)
Feb 21 2014
parent reply "ed" <growlercab gmail.com> writes:
On Friday, 21 February 2014 at 14:32:00 UTC, Namespace wrote:
 On Friday, 21 February 2014 at 14:03:35 UTC, ed wrote:
 On Friday, 21 February 2014 at 07:36:46 UTC, ed wrote:
 On Thursday, 20 February 2014 at 23:42:29 UTC, Namespace 
 wrote:
 [snip]
 That's nice to hear! I would be glad if you could share your 
 level so I can post it on the website. :)

Sorry, missed this. I'd rather not hand it over in its current form, it is pure hack and not exemplary D/Dgame code :D If I get the chance over the next week I'll clean it up and post it. Cheers, ed
On second thoughts, it isn't worth cleaning up. It is what it is and I leave it up to you to decide if it's too messy to put up on the website :D I've dumped it on github here: https://github.com/lyrebirdsw/dinvaders Cheers, ed
Why not, I like it. It gives a nice retro feeling. :) Simple but good images.
OK cool, use it however you like :)
 I had to adjust a few things, to make it work on Windows (you 
 used an ulong for array indexing - dmd 2.064.2 on windows seems 
 not to like it.)
Yes, it had very little testing but hopefully you find a use for it. On a side note, the author in the code is Stewart but it is still me :). It is my middle name, which the auto-header vim script grabs from the login. Cheers, ed (stewart)
Feb 21 2014
parent reply "ed" <growlercab gmail.com> writes:
On Friday, 21 February 2014 at 23:26:58 UTC, ed wrote:
 On Friday, 21 February 2014 at 14:32:00 UTC, Namespace wrote:
 On Friday, 21 February 2014 at 14:03:35 UTC, ed wrote:
 On Friday, 21 February 2014 at 07:36:46 UTC, ed wrote:
 On Thursday, 20 February 2014 at 23:42:29 UTC, Namespace 
 wrote:
 [snip]
 That's nice to hear! I would be glad if you could share 
 your level so I can post it on the website. :)

Sorry, missed this. I'd rather not hand it over in its current form, it is pure hack and not exemplary D/Dgame code :D If I get the chance over the next week I'll clean it up and post it. Cheers, ed
On second thoughts, it isn't worth cleaning up. It is what it is and I leave it up to you to decide if it's too messy to put up on the website :D I've dumped it on github here: https://github.com/lyrebirdsw/dinvaders Cheers, ed
Why not, I like it. It gives a nice retro feeling. :) Simple but good images.
OK cool, use it however you like :)
 I had to adjust a few things, to make it work on Windows (you 
 used an ulong for array indexing - dmd 2.064.2 on windows 
 seems not to like it.)
Yes, it had very little testing but hopefully you find a use for it. On a side note, the author in the code is Stewart but it is still me :). It is my middle name, which the auto-header vim script grabs from the login. Cheers, ed (stewart)
I just saw it up on the website, very cool, thanks :)
Feb 21 2014
parent reply "Namespace" <rswhite4 googlemail.com> writes:
 On a side note, the author in the code is Stewart but it is 
 still me :). It is my middle name, which the auto-header vim 
 script grabs from the login.
Yes that I have also seen. Otherwise, I would have used your github name. :)
 Cheers,
 ed (stewart)
I just saw it up on the website, very cool, thanks :)
I have to thank. Another game looks great on the page and it's nice to see that Dgame is used.
Feb 22 2014
parent reply "uri" <uri.grill gmail.com> writes:
On Saturday, 22 February 2014 at 10:00:46 UTC, Namespace wrote:
 On a side note, the author in the code is Stewart but it is 
 still me :). It is my middle name, which the auto-header vim 
 script grabs from the login.
Yes that I have also seen. Otherwise, I would have used your github name. :)
 Cheers,
 ed (stewart)
I just saw it up on the website, very cool, thanks :)
I have to thank. Another game looks great on the page and it's nice to see that Dgame is used.
The Dgame website has been down for a while now ... is it coming back? /uri
Nov 21 2014
parent reply "Namespace" <rswhite4 gmail.com> writes:
On Saturday, 22 November 2014 at 06:49:04 UTC, uri wrote:
 On Saturday, 22 February 2014 at 10:00:46 UTC, Namespace wrote:
 On a side note, the author in the code is Stewart but it is 
 still me :). It is my middle name, which the auto-header vim 
 script grabs from the login.
Yes that I have also seen. Otherwise, I would have used your github name. :)
 Cheers,
 ed (stewart)
I just saw it up on the website, very cool, thanks :)
I have to thank. Another game looks great on the page and it's nice to see that Dgame is used.
The Dgame website has been down for a while now ... is it coming back? /uri
Since I left D a while ago, I quit the domain. But the website itself is still on my webspace: http://rswhite.de/dgame4/
Nov 22 2014
parent reply "uri" <uri.grill gmail.com> writes:
On Saturday, 22 November 2014 at 15:38:35 UTC, Namespace wrote:
 On Saturday, 22 November 2014 at 06:49:04 UTC, uri wrote:
 On Saturday, 22 February 2014 at 10:00:46 UTC, Namespace wrote:
 On a side note, the author in the code is Stewart but it is 
 still me :). It is my middle name, which the auto-header 
 vim script grabs from the login.
Yes that I have also seen. Otherwise, I would have used your github name. :)
 Cheers,
 ed (stewart)
I just saw it up on the website, very cool, thanks :)
I have to thank. Another game looks great on the page and it's nice to see that Dgame is used.
The Dgame website has been down for a while now ... is it coming back? /uri
Since I left D a while ago, I quit the domain. But the website itself is still on my webspace: http://rswhite.de/dgame4/
Cool, thanks :) Sorry to hear you've left D behind! Hopefully it's only temporarily because I'm finding Dgame is great fun to use. Cheers, uri
Nov 22 2014
parent reply "Namespace" <rswhite4 gmail.com> writes:
On Sunday, 23 November 2014 at 01:06:27 UTC, uri wrote:
 On Saturday, 22 November 2014 at 15:38:35 UTC, Namespace wrote:
 On Saturday, 22 November 2014 at 06:49:04 UTC, uri wrote:
 On Saturday, 22 February 2014 at 10:00:46 UTC, Namespace 
 wrote:
 On a side note, the author in the code is Stewart but it 
 is still me :). It is my middle name, which the 
 auto-header vim script grabs from the login.
Yes that I have also seen. Otherwise, I would have used your github name. :)
 Cheers,
 ed (stewart)
I just saw it up on the website, very cool, thanks :)
I have to thank. Another game looks great on the page and it's nice to see that Dgame is used.
The Dgame website has been down for a while now ... is it coming back? /uri
Since I left D a while ago, I quit the domain. But the website itself is still on my webspace: http://rswhite.de/dgame4/
Cool, thanks :) Sorry to hear you've left D behind! Hopefully it's only temporarily because I'm finding Dgame is great fun to use. Cheers, uri
I'm glad to hear that. :) Maybe I will come back but currently I'm absolute happy with C++ (11, 14)
Nov 23 2014
parent reply "Joel" <joelcnz gmail.com> writes:
[snip]

 Sorry to hear you've left D behind! Hopefully it's only 
 temporarily because I'm finding Dgame is great fun to use.


 Cheers,
 uri
I'm glad to hear that. :) Maybe I will come back but currently I'm absolute happy with C++ (11, 14)
I would second that, on having Dgame maintained.
Dec 16 2014
parent reply "Namespace" <rswhite4 gmail.com> writes:
On Tuesday, 16 December 2014 at 08:28:43 UTC, Joel wrote:
 [snip]

 Sorry to hear you've left D behind! Hopefully it's only 
 temporarily because I'm finding Dgame is great fun to use.


 Cheers,
 uri
I'm glad to hear that. :) Maybe I will come back but currently I'm absolute happy with C++ (11, 14)
I would second that, on having Dgame maintained.
That is nice to hear. :) I will try to maintain Dgame in my holidays next week, if you have any questions, you can post them on the github issue page, I will respond as soon as possible.
Dec 16 2014
parent "Joel" <joelcnz gmail.com> writes:
[snip]

 I'm glad to hear that. :) Maybe I will come back but 
 currently I'm absolute happy with C++ (11, 14)
I would second that, on having Dgame maintained.
That is nice to hear. :) I will try to maintain Dgame in my holidays next week, if you have any questions, you can post them on the github issue page, I will respond as soon as possible.
Thanks Namespace.
Dec 16 2014