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
Whiteball
Baaaaa!
Baaaaa!
Posts: 1811
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: Show us yer programming projects!

Post by Whiteball »

PaulCunningham wrote:I made this a while back for the Xbox - it's basically Defender with a bit of Iridis Alpha thrown in.
Sounds interesting and looks good, I' ll give it a go....

Unfortunately, installs OK, but will not run.

Details:
Spoiler: show
PC - Win7 - 16GB ram - Intel i7 3820

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Xna.Framework.Audio.AudioCategory.SetVolume(Single volume)
at Doppelganger.DoppelgangerGame.OnActivated(Object sender, EventArgs args)
at Microsoft.Xna.Framework.Game.HostActivated(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnActivated()
at Microsoft.Xna.Framework.WindowsGameHost.GameWindowActivated(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameWindow.OnActivated()
at Microsoft.Xna.Framework.WindowsGameWindow.mainForm_ApplicationActivated(Object sender, EventArgs e)
at Microsoft.Xna.Framework.WindowsGameForm.OnActivateApp(Boolean active)
at Microsoft.Xna.Framework.WindowsGameForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
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 »

Ah, ok. I'll have little look at that later tonight.
Cheers,
Paul Cunningham
Pumpkin Games
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 »

Here's attempt 2. No idea why you were getting that error and I can't recreate it but I've added a few null checks to see if I can trick it into working :-)

I've tidied up a few control things too, added keyboard hints and keys in the controls menu.

Next I need to figure out what to do about Xbox profiles - you can sign in with a 360 pad fine but I guess I need to handle local style profiles for folks without one.

Anyway, here's the link...

Download
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1811
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: Show us yer programming projects!

Post by Whiteball »

Still no go I'm afraid.
Log file in installation directory says:

18/08/2013 23:14:47 Error running 'XnaLiveProxy.exe'.
at Microsoft.Xna.Framework.GamerServices.KernelMethods.ProxyProcess..ctor(UserPacketBuffer packetBuffer)
at Microsoft.Xna.Framework.GamerServices.KernelMethods.Initialize(UserPacketBuffer packetBuffer)
at Microsoft.Xna.Framework.GamerServices.GamerServicesDispatcher.Initialize(IServiceProvider serviceProvider)
at Microsoft.Xna.Framework.GamerServices.GamerServicesComponent.Initialize()
at Microsoft.Xna.Framework.Game.Initialize()
at Doppelganger.DoppelgangerGame.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Doppelganger.Program.Main(String[] args)\n
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 »

Ah, it's the GamerServices stuff - apparently this is dev only functionality...

http://xboxforums.create.msdn.com/forum ... 33444.aspx

Looks like I need to rip out all the profile stuff anyway.

Sorry for wasting your time.
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1811
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: Show us yer programming projects!

Post by Whiteball »

No problem.

Hope you get it working as it looks like it would be a fun little game.
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 »

Ok, 3rd time lucky?

I've installed it on another machine that doesn't have XNA GS on it and it installs and runs - it does have Visual Studio however but that's all I have to test it on.

So here goes...

Download
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1811
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: Show us yer programming projects!

Post by Whiteball »

Yay, working ok now.

I like the clean crisp look it has and from a quick spin seems like it will be good fun. Haven't had a chance to play to much and away now for a few weeks.
First impressions are good though.
User avatar
defsdoor
Baaaaaa!
Baaaaaa!
Posts: 3909
Joined: Fri Jan 30, 2004 12:26 am 0
Location: Sunny Beduff

Re: Show us yer programming projects!

Post by defsdoor »

Inspired by Tufty's javascript perlin noise generator I started my Zarch attempt from scratch on Sunday.

Impressed that I got as far as I did but I must confess I cheated and used libnoise to generated the landscape.



I wish I understood opengl better though - I'm still mostly poking it with a stick. Anyone up for pair programming ? :)
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: Show us yer programming projects!

Post by Firefox »

Image

:wink:
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
User avatar
defsdoor
Baaaaaa!
Baaaaaa!
Posts: 3909
Joined: Fri Jan 30, 2004 12:26 am 0
Location: Sunny Beduff

Re: Show us yer programming projects!

Post by defsdoor »

That's actually the chair I am sitting on now - but the solo version :)
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: Show us yer programming projects!

Post by Firefox »

I'm glad you added the qualifier at the end! :)

(Nice chair, BTW. [Solo version.])
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
User avatar
gumboot
Baaaaaaa!
Baaaaaaa!
Posts: 7652
Joined: Sun Aug 26, 2007 3:42 am 0
Location: trumpstain!

Re: Show us yer programming projects!

Post by gumboot »

I'd probably buy one [solo], but they don't make them for tall people so it's actually horribly uncomfortable for me.
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 »

Doppelganger 1.9.2 released
---------------------------------------
Viewport / Projection Matrix fix for non 16:9 aspect ratios
Added sprite sheet for game graphics
SFX volume tweaks
Particle Systems for 'expired' game entities
Made astronauts bounce a little when dropped
Astronauts affected by gravity when rescued
Astronauts can fall any height without dying
Changed scanner graphic
Randomised bombs and bullet timings
Tweaked homing system for mutants and hunter to enable them to target an offset from the player to reduce 'bunching'

Download

I have an experimental Mac version too using MonoGame but I'm unsure exactly how to package it all up :-) - plus there's a MonoGame/SDL2 lib that is supposedly much better than the current imp so may wait for that.
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Re: Show us yer programming projects!

Post by GoatFoam »

defsdoor wrote:Inspired by Tufty's javascript perlin noise generator I started my Zarch attempt from scratch on Sunday.

Impressed that I got as far as I did but I must confess I cheated and used libnoise to generated the landscape.



I wish I understood opengl better though - I'm still mostly poking it with a stick. Anyone up for pair programming ? :)
For someone who doesn't understand OpenGL you seem to be doing OK :)

I'm assuming you are using immediate mode rather than things like VBOs? If so then the easiest speedup is probably to use tri strips rather than triangles, but I would suggest not bothering with optimisations etc. until you have a game in there. It's way too easy to waste your life tweaking the engine and not writing the game.
Post Reply