Jump to page: 1 2 3
Thread overview
A new game (Bosskoneun)
Nov 10, 2006
Will DeVore
Nov 10, 2006
clayasaurus
Nov 10, 2006
clayasaurus
Nov 10, 2006
Tydr Schnubbis
Nov 10, 2006
Will DeVore
Nov 10, 2006
clayasaurus
Nov 10, 2006
%u
Nov 10, 2006
Kyle Furlong
Nov 10, 2006
Kyle Furlong
Nov 10, 2006
Will DeVore
Nov 10, 2006
Endea
Nov 10, 2006
Will DeVore
Nov 13, 2006
Bill Baxter
Nov 13, 2006
Jesse Phillips
Nov 13, 2006
Will DeVore
Nov 13, 2006
clayasaurus
Nov 13, 2006
Bill Baxter
Nov 13, 2006
John Reimer
Nov 10, 2006
Walter Bright
Nov 10, 2006
Will DeVore
Nov 10, 2006
John Reimer
Nov 11, 2006
Will DeVore
Nov 12, 2006
John Reimer
Nov 12, 2006
Stewart Gordon
Nov 13, 2006
Will DeVore
Nov 14, 2006
Bill Baxter
Nov 16, 2006
Walter Bright
Nov 24, 2006
Stewart Gordon
November 10, 2006
Hello fellow D programmers,

I thought I would announce the completion of the next game in my series written in D called bosskoneun. :)

It is a 2D top-down shootem-up. Pictures, binaries and source are available at:

http://distanthumans.info/programming/D/bosconian/bosconian.php

D is so efficient that the game sleeps 98% of the time even under the most graphically intensense levels.

Thanks Walter for creating an easy and powerful language. Hint: Look at the
default high scores. ;) The credits list DigitalMars.com
If you like the game, could it be posted to the "dlinks" section?

My next assignment, on the horizon, is evaluating how D can be utilized on the PS3 for games. Gee Walter what do you think those chances are, wink wink. :)

P.S. Posting this message didn't like the fact that I have a .info TLD. Hmmm... -Will.
November 10, 2006
Will DeVore wrote:
> Hello fellow D programmers,
> 
> I thought I would announce the completion of the next game in my series
> written in D called bosskoneun. :)
> 
> It is a 2D top-down shootem-up. Pictures, binaries and source are available at:
> 
> http://distanthumans.info/programming/D/bosconian/bosconian.php
> 
> D is so efficient that the game sleeps 98% of the time even under the most
> graphically intensense levels.
> 
> Thanks Walter for creating an easy and powerful language. Hint: Look at the
> default high scores. ;) The credits list DigitalMars.com
> If you like the game, could it be posted to the "dlinks" section?
> 
> My next assignment, on the horizon, is evaluating how D can be utilized on the
> PS3 for games. Gee Walter what do you think those chances are, wink wink. :)
> 
> P.S. Posting this message didn't like the fact that I have a .info TLD. Hmmm...
> -Will.

Cool! You need to include SDL.dll in there too though. I'm going to give it a spin.

~ Clay
November 10, 2006
clayasaurus wrote:
> Will DeVore wrote:
>> Hello fellow D programmers,
>>
>> I thought I would announce the completion of the next game in my series
>> written in D called bosskoneun. :)
>>
>> It is a 2D top-down shootem-up. Pictures, binaries and source are available at:
>>
>> http://distanthumans.info/programming/D/bosconian/bosconian.php
>>
>> D is so efficient that the game sleeps 98% of the time even under the most
>> graphically intensense levels.
>>
>> Thanks Walter for creating an easy and powerful language. Hint: Look at the
>> default high scores. ;) The credits list DigitalMars.com
>> If you like the game, could it be posted to the "dlinks" section?
>>
>> My next assignment, on the horizon, is evaluating how D can be utilized on the
>> PS3 for games. Gee Walter what do you think those chances are, wink wink. :)
>>
>> P.S. Posting this message didn't like the fact that I have a .info TLD. Hmmm...
>> -Will.
> 
> Cool! You need to include SDL.dll in there too though. I'm going to give it a spin.
> 
> ~ Clay

Tried it a little bit, I enjoy the game but it would be nice if you supported the arrow keys for movement and space for fire, the controls were a little difficult for me to manage :)



November 10, 2006
clayasaurus wrote:
> clayasaurus wrote:
> 
> Tried it a little bit, I enjoy the game but it would be nice if you supported the arrow keys for movement and space for fire, the controls were a little difficult for me to manage :)
> 
Easier controls would be nice, yes.  Would be nice to be able to select between arrow keys, numeric keypad, and maybe the current keyset for laptop users.  Then I promise I will give it another shot. :)
November 10, 2006
== Repost the article of clayasaurus (clayasaurus@gmail.com) == Posted at 2006/11/09 20:52 to digitalmars.D.announce

clayasaurus wrote:
> Will DeVore wrote:
>> Hello fellow D programmers,
>>
>> I thought I would announce the completion of the next game in my series written in D called bosskoneun. :)
>>
>> It is a 2D top-down shootem-up. Pictures, binaries and source are available at:
>>
>> http://distanthumans.info/programming/D/bosconian/bosconian.php
>>
>> D is so efficient that the game sleeps 98% of the time even under the
>> most
>> graphically intensense levels.
>>
>> Thanks Walter for creating an easy and powerful language. Hint: Look
>> at the
>> default high scores. ;) The credits list DigitalMars.com
>> If you like the game, could it be posted to the "dlinks" section?
>>
>> My next assignment, on the horizon, is evaluating how D can be
>> utilized on the
>> PS3 for games. Gee Walter what do you think those chances are, wink
>> wink. :)
>>
>> P.S. Posting this message didn't like the fact that I have a .info
>> TLD. Hmmm...
>> -Will.
>
> Cool! You need to include SDL.dll in there too though. I'm going to give it a spin.
>
> ~ Clay

Tried it a little bit, I enjoy the game but it would be nice if you supported the arrow keys for movement and space for fire, the controls were a little difficult for me to manage :)




Oops. You are right. I did forget the SDL.dll.

Speaking about the arrow keys, I tried them but couldn't figure out how to get SDL to recognize two arrow keys for diagonals. The fire key is easy enough though. :)
November 10, 2006
Will DeVore wrote:
> == Repost the article of clayasaurus (clayasaurus@gmail.com)
> == Posted at 2006/11/09 20:52 to digitalmars.D.announce
> 
> clayasaurus wrote:
>> Will DeVore wrote:
>>> Hello fellow D programmers,
>>>
>>> I thought I would announce the completion of the next game in my series
>>> written in D called bosskoneun. :)
>>>
>>> It is a 2D top-down shootem-up. Pictures, binaries and source are
>>> available at:
>>>
>>> http://distanthumans.info/programming/D/bosconian/bosconian.php
>>>
>>> D is so efficient that the game sleeps 98% of the time even under the
>>> most
>>> graphically intensense levels.
>>>
>>> Thanks Walter for creating an easy and powerful language. Hint: Look
>>> at the
>>> default high scores. ;) The credits list DigitalMars.com
>>> If you like the game, could it be posted to the "dlinks" section?
>>>
>>> My next assignment, on the horizon, is evaluating how D can be
>>> utilized on the
>>> PS3 for games. Gee Walter what do you think those chances are, wink
>>> wink. :)
>>>
>>> P.S. Posting this message didn't like the fact that I have a .info
>>> TLD. Hmmm...
>>> -Will.
>> Cool! You need to include SDL.dll in there too though. I'm going to give
>> it a spin.
>>
>> ~ Clay
> 
> Tried it a little bit, I enjoy the game but it would be nice if you
> supported the arrow keys for movement and space for fire, the controls
> were a little difficult for me to manage :)
> 
> 
> 
> 
> Oops. You are right. I did forget the SDL.dll.
> 
> Speaking about the arrow keys, I tried them but couldn't figure out how to get SDL
> to recognize two arrow keys for diagonals. The fire key is easy enough though. :)

---------

You might be interested in my input wrapper for SDL.
http://arcgames.dsource.org/arc/arc/input.html
http://dsource.org/projects/freeuniverse/browser/trunk/freeuniverse/arc/io/input.d

With it, all you have to do to get it to work is...

if (arc.io.keyDown(SDLK_LEFT) && arc.io.keyDown(SDLK_UP))
{
   /// left up diagonal
}

I do have a 2D game library in D that I'm working on that uses SDL, OpenGL (rendering), OpenAL (sound), and has a sprite class. Outdated tutorials for it can be found here

http://www-users.mat.uni.torun.pl/~h3r3tic/dmedia/?n=Tutorials.ArcIntro
http://www-users.mat.uni.torun.pl/~h3r3tic/dmedia/?n=Tutorials.ArcAsteroids

--------

Or, just set a bool that is true if key is down and false if key is up, then with your two key bools use

if (key_down && key_left)
{
   /// diagonal down-left
}

~ Clay

November 10, 2006
Hi Clay,

I have seen the Arcgames library and was thinking of using it but I got carried away figuring out pixel collision that I couldn't help myself. ;)

Thanks for the suggestion. The code snippet gave the clue that I needed. I should have arrows working.

I added the missing sdl.dll. I didn't know if it would work because I don't have windows. I created that zip guessing at which dlls to include. A friend compiled it for windows.

I think the game engine you are doing is great for D. You know I thought about using OpenAl because it worked well for me in Java.

Tks for the info.

-Will.
November 10, 2006
Will DeVore wrote:
> Hello fellow D programmers,
> 
> I thought I would announce the completion of the next game in my series
> written in D called bosskoneun. :)
> 
> It is a 2D top-down shootem-up. Pictures, binaries and source are available at:
> 
> http://distanthumans.info/programming/D/bosconian/bosconian.php
> 
> D is so efficient that the game sleeps 98% of the time even under the most
> graphically intensense levels.
> 
> Thanks Walter for creating an easy and powerful language. Hint: Look at the
> default high scores. ;) The credits list DigitalMars.com
> If you like the game, could it be posted to the "dlinks" section?
> 
> My next assignment, on the horizon, is evaluating how D can be utilized on the
> PS3 for games. Gee Walter what do you think those chances are, wink wink. :)
> 
> P.S. Posting this message didn't like the fact that I have a .info TLD. Hmmm...
> -Will.

Windows binary silently fails on loading a new 1 player game. (Windows XP SP2, Athlon64)
November 10, 2006
Kyle Furlong wrote:
> Will DeVore wrote:
>> Hello fellow D programmers,
>>
>> I thought I would announce the completion of the next game in my series
>> written in D called bosskoneun. :)
>>
>> It is a 2D top-down shootem-up. Pictures, binaries and source are available at:
>>
>> http://distanthumans.info/programming/D/bosconian/bosconian.php
>>
>> D is so efficient that the game sleeps 98% of the time even under the most
>> graphically intensense levels.
>>
>> Thanks Walter for creating an easy and powerful language. Hint: Look at the
>> default high scores. ;) The credits list DigitalMars.com
>> If you like the game, could it be posted to the "dlinks" section?
>>
>> My next assignment, on the horizon, is evaluating how D can be utilized on the
>> PS3 for games. Gee Walter what do you think those chances are, wink wink. :)
>>
>> P.S. Posting this message didn't like the fact that I have a .info TLD. Hmmm...
>> -Will.
> 
> Windows binary silently fails on loading a new 1 player game. (Windows XP SP2, Athlon64)

Hmmm, works now. Strange.
November 10, 2006
Kyle Furlong wrote:
> Will DeVore wrote:
>> Hello fellow D programmers,
>>
>> I thought I would announce the completion of the next game in my series written in D called bosskoneun. :)
>>
>> It is a 2D top-down shootem-up. Pictures, binaries and source are available at:
>>
>> http://distanthumans.info/programming/D/bosconian/bosconian.php
>>
>> D is so efficient that the game sleeps 98% of the time even under the
>> most
>> graphically intensense levels.
>>
>> Thanks Walter for creating an easy and powerful language. Hint: Look
>> at the
>> default high scores. ;) The credits list DigitalMars.com
>> If you like the game, could it be posted to the "dlinks" section?
>>
>> My next assignment, on the horizon, is evaluating how D can be
>> utilized on the
>> PS3 for games. Gee Walter what do you think those chances are, wink
>> wink. :)
>>
>> P.S. Posting this message didn't like the fact that I have a .info
>> TLD. Hmmm...
>> -Will.
>
> Windows binary silently fails on loading a new 1 player game. (Windows
> XP SP2, Athlon64)

> Hmmm, works now. Strange.

Hi Kyle,

That silent error you got is one of the bugs I think can be fixed if I upgrade from 0.160 to the lastest dmd compiler. If you had run it from a console it would have said something like "can't load... explosion.png$%?". The garbage tacked on the end of the string is something I can't figure out what D/phobos is doing. I have rewritten that section of code a few different ways but it does the same thing each time. The problem occurs each time the game is first loaded onto a 3D card, after that it loads fine. It happens both on windows and linux. I am guessing it is something to do with phobos (I think). Anyway I am hoping the issue goes away when I upgrade to the latest dmd compiler and phobos. Of course it could be something else entirely. I haven't investigated to deep yet, there are so many variations to consider.

-Will
« First   ‹ Prev
1 2 3