Show us yer programming projects!

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
evilpaul
Baaaa!
Baaaa!
Posts: 811
Joined: Wed Sep 29, 2004 2:01 pm 0
Location: #ukscene, helsinki branch
Contact:

Re: Show us yer programming projects!

Post by evilpaul »

sack wrote:My desktop PC isn't so just a collection of what i could carry in my luggage without breaking the weight allowance (no PSU, case or monitor) and only the 2D textures from the corners of the screen show on my laptop for some reason
Oh.. it's probably worth pointing out that that's all you'll see for the first seven or eight seconds. Should have mentioned that earlier really ;D
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

evilpaul wrote:Ah.. interesting :(

If one of you who is having problems with it could run it from the command line with "debug" as an option and then PM me the resulting "debug.log" file that would be super ace. I've now got a horrible feeling that it runs fine on NVidia but not on ATI... ;(

I'll see if I can get a video done too..
X:\Ate Bit - Ribbons, Tunnels and Techno>"Ribbons, Tunnels and Techno.exe" -debug

ERROR - "Failed to parse the command line"

X:\Ate Bit - Ribbons, Tunnels and Techno>"Ribbons, Tunnels and Techno.exe" debug

ERROR - "Failed to parse the command line"

X:\Ate Bit - Ribbons, Tunnels and Techno>"Ribbons, Tunnels and Techno.exe" /debug

ERROR - "Failed to parse the command line"

*shrug*
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Re: Show us yer programming projects!

Post by failrate »

Istar wrote:I'll stop posting progress if it's getting boring.
Wouldn't have asked if I thought it was boring. One of these days, I have to bear down and write a virtual machine.
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

I just finished writing some tiny web app. It's a single file and less than 8kb in size. It's basically some thingy to store answers for guess-the-whatever threads.

E.g.

What's the fluffiest forum in town?

http://riddler.kaioa.com/#4F2px2FORLWPS ... Ald5i-pPfw

The possible answers are:
yakyak
yak yak
yakyak.org
www.yakyak.org
http://www.yakyak.org
User avatar
Istar
Baaaaaa!
Baaaaaa!
Posts: 4869
Joined: Mon Apr 22, 2002 4:42 pm 0
Location: London, UK.

Re: Show us yer programming projects!

Post by Istar »

failrate wrote:
Istar wrote:I'll stop posting progress if it's getting boring.
Wouldn't have asked if I thought it was boring. One of these days, I have to bear down and write a virtual machine.
Cool. It certainly lacks the panache and glitz of the games-coding maestros around here, but as an exercise in finite-domain problem solving, it's a really interesting challenge. I've started the project, what, three or four times over the last five years, each time getting the emulator to a stable state, and each time not being quite satisfied with either the result or the implementation. It's all C# and properly object-y now, and is running about 4000 cycles per millisecond tick (which equates to roughly 4MHz) so I now have headroom to return to the microcode-interpreter model I talked about a couple of years ago.
User avatar
evilpaul
Baaaa!
Baaaa!
Posts: 811
Joined: Wed Sep 29, 2004 2:01 pm 0
Location: #ukscene, helsinki branch
Contact:

Re: Show us yer programming projects!

Post by evilpaul »

oNyx wrote:....
*shrug*
Ah.. oops.. sorry, it's "log" not "debug"

Code: Select all

"X:\Ate Bit - Ribbons, Tunnels and Techno>"Ribbons, Tunnels and Techno.exe" log
If the thing is actually running though (and you still don't have anything more after 10 seconds) then I doubt that the log will show up anything useful since it obviously thinks everything is working fine ;(
User avatar
sack
Baaaaaaa!
Baaaaaaa!
Posts: 7077
Joined: Fri May 10, 2002 4:13 pm 0
XBL Gamertag: evilgopher
PSN: sixFiveOhTwo
Location: Rijswijk, The Netherlands
Contact:

Re: Show us yer programming projects!

Post by sack »

didn't see anything useful in the logs but looking through your data and shaders it could be a problem with trying to run v3 shaders on a card that doesn't support them and not picking this up as a problem maybe?
User avatar
evilpaul
Baaaa!
Baaaa!
Posts: 811
Joined: Wed Sep 29, 2004 2:01 pm 0
Location: #ukscene, helsinki branch
Contact:

Re: Show us yer programming projects!

Post by evilpaul »

sack wrote:didn't see anything useful in the logs but looking through your data and shaders it could be a problem with trying to run v3 shaders on a card that doesn't support them and not picking this up as a problem maybe?
Hmm.. could be. I was assuming that the shader would simply fail to compile if the card couldn't support v3. I don't do any capability checking or anything like that and there are no fallbacks

PS: Yes, I'm sure that I probably don't need v3.. but I'm new to this shader stuff and had a deadline to hit ;)
User avatar
PaulCunningham
Baaaaa!
Baaaaa!
Posts: 1218
Joined: Sun Jan 18, 2004 11:47 pm 0
Location: Walsall, England
Contact:

Re: Show us yer programming projects!

Post by PaulCunningham »

Image

Ultratron XNA on MSN Video

I've been working on converting Puppy Games' Ultratron to the Xbox recently - It's taken about 10 weeks to convert all that nasty Java to XNA :) The usual suspects of garbage collection and less than stellar fpu performance complicated the conversion slightly but generally it was pretty straightforward. I added a few Xbox exclusive features; achievements and a multiplayer coop mode. It should be available at the launch of the XBLCG platform, slated for 'holiday 2008'.

Ultratron is currently available for Windows, Mac and Linux.
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
Mark
Baaaaaa!
Baaaaaa!
Posts: 3611
Joined: Mon Apr 22, 2002 7:53 pm 0
Location: England

Re: Show us yer programming projects!

Post by Mark »

Nice work, Paul.

For some reason UltraTron never clicked with me back when it first came out - from memory I suspect it may have been a tad on the far too easy side at the start, and given my short attention span I probably didn't give it the chance it deserved (but my memory's terrible, so I could be mistaken). However, I really liked Titan Attacks and Droid Assault, so I'll give this another chance when it arrives.
Benevolent Dictator of Bearcat Games
Twitter: #BearcatGames
User avatar
evilpaul
Baaaa!
Baaaa!
Posts: 811
Joined: Wed Sep 29, 2004 2:01 pm 0
Location: #ukscene, helsinki branch
Contact:

Re: Show us yer programming projects!

Post by evilpaul »

evilpaul wrote:I'll see if I can get a video done too..
Finally... there's a "play in yer browser" version up on Capped.tv now:
http://capped.tv/playeralt.php?vid=ate_ ... ls_techno0
User avatar
sack
Baaaaaaa!
Baaaaaaa!
Posts: 7077
Joined: Fri May 10, 2002 4:13 pm 0
XBL Gamertag: evilgopher
PSN: sixFiveOhTwo
Location: Rijswijk, The Netherlands
Contact:

Re: Show us yer programming projects!

Post by sack »

evilpaul wrote:
sack wrote:didn't see anything useful in the logs but looking through your data and shaders it could be a problem with trying to run v3 shaders on a card that doesn't support them and not picking this up as a problem maybe?
Hmm.. could be. I was assuming that the shader would simply fail to compile if the card couldn't support v3. I don't do any capability checking or anything like that and there are no fallbacks

PS: Yes, I'm sure that I probably don't need v3.. but I'm new to this shader stuff and had a deadline to hit ;)
I'm very rough around the edges and a bit new to shader programming, otherwise I'd have done the smartarse thing and posted a working version of the shaders back :)
SiN
Baaaa!
Baaaa!
Posts: 850
Joined: Sat Dec 11, 2004 4:25 am 0
Location: Canada
Contact:

Re: Show us yer programming projects!

Post by SiN »

@Paul (the Cunningham type, not the evil one :)):

Looks ace! :)
PaulCunningham wrote:The usual suspects of garbage collection and less than stellar fpu performance complicated the conversion slightly but generally it was pretty straightforward.
Really, fpu performance? What's the story here? Are floating point operations "interpreted" in the C# VM or what? Also, everyone seems to complain about garbage collection, but I haven't actually hit a problem with it yet ... or have I? I assume garbage collection perf issues are more along the lines of "the fps takes a hit for 2 seconds every 3 minutes-ish" as opposed to "the fps is consistently 23", right?

Oh also (last one, honest :)) how long, on average, does it take to get through the xna community "cert"?

Can you tell I'm gearing up for an XBLCG game of my own yet? ;)

Cheers,

SiN
32x32 . duotrix . geomex . smiley's shooty adventure . by caffeine monster software | my blog
User avatar
PaulCunningham
Baaaaa!
Baaaaa!
Posts: 1218
Joined: Sun Jan 18, 2004 11:47 pm 0
Location: Walsall, England
Contact:

Re: Show us yer programming projects!

Post by PaulCunningham »

Cheers Sin (but all the praise needs to got to Cas and Chaz really - I was just the code monkey)

The XBox .Net framework is based on the Compact .Net Framework and not really designed for a cutting edge console. So when the JITTER hits the Math functions it goes "ooh lets generate some slow code" instead of "Ah, I'm running on the XBox, let's do it fast".

You're right about the garbage - when the GC kicks in your frame rate (may) take a plummet while it's doing the searching / compacting. The XBox GC runs for every 1 meg allocated and it's not generational like the Windows one. This means it has to search through all allocated objects to find ones that can be freed (the Windows one is smarter so chooses which objects to collect based on the age of the object). If your objects can be searched and compacted quick enough you won't see the impact (Shawn Hargreaves has a blog post about GC latency).

No idea how long it will take to pass peer review. I never actually got to review any games during the beta but they passed through that real quick. I'm hoping it will be the same when the system goes live.

Are you porting Geomex to XNA then or something else?
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
nyarla
Baaaaaa!
Baaaaaa!
Posts: 2820
Joined: Tue Jan 14, 2003 1:53 pm 0
Location: i said kiss me you're beautiful these are truly the last days
Contact:

Re: Show us yer programming projects!

Post by nyarla »

Image

New DS thing I'm working on. Early days yet. First thing I've done which actually has sprite animation. And I'm actually happy with how it works (rudimentary animation scripts). Hurrah! Spent lots of time working on the engine so far, though collision isn't done yet. Now just need to make some sprites and start getting into making the actual game. (Player sprite is a ripped placeholder obviously. Backgrounds.............I think I've played too many Mario games.)

I'm making the engine suitable for platformers, because I like platformers, but this isn't going to be one. :)
Post Reply