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
sdetoni
Baaaaa!
Baaaaa!
Posts: 1368
Joined: Tue Jun 18, 2002 4:14 am 0
Location: New Sheepland

Re: Show us yer programming projects!

Post by sdetoni »

super charlie wrote: There's a demo up on RPS this weekend if you fancy having a go: http://www.rockpapershotgun.com/2011/08 ... sive-demo/
Looks very nice Charlie, tried this on my work computer that has a ati 4550. The speed is fine,
but the main ship's shooty sprites are not displaying. I've attached a screen shot of the issue... hope it helps.
Attachments
Image2.zip
(330.42 KiB) Downloaded 76 times
User avatar
super charlie
Baaaaa!
Baaaaa!
Posts: 1809
Joined: Wed Mar 31, 2004 7:53 pm 0
Location: Ipswich, suffolk
Contact:

Re: Show us yer programming projects!

Post by super charlie »

sdetoni wrote:
super charlie wrote: There's a demo up on RPS this weekend if you fancy having a go: http://www.rockpapershotgun.com/2011/08 ... sive-demo/
Looks very nice Charlie, tried this on my work computer that has a ati 4550. The speed is fine,
but the main ship's shooty sprites are not displaying. I've attached a screen shot of the issue... hope it helps.
Looks like on ATI there's some weirdness going on with the sprites. On the latest Catalyst (11.8 ), resetting the options to factory defaults via the preferences button fixes this, and possibly on previous versions too.

Cheers
Charlie
Visit my website here to have a look at my game.
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 »

Running under linux (kubuntu, can't remember version off the top of my head).

I noticed that the game will crash on startup if it can't get exclusive access to the sound card. I noticed because I tried running it when I had a DVD paused in the background.

I'm not running pulseaudio as I have never managed to get anything more than crackling noises when I last tried it.

Give me a shout and I will do some digging and find out more about the exact configuration.
User avatar
super charlie
Baaaaa!
Baaaaa!
Posts: 1809
Joined: Wed Mar 31, 2004 7:53 pm 0
Location: Ipswich, suffolk
Contact:

Re: Show us yer programming projects!

Post by super charlie »

GoatFoam wrote:Running under linux (kubuntu, can't remember version off the top of my head).

I noticed that the game will crash on startup if it can't get exclusive access to the sound card. I noticed because I tried running it when I had a DVD paused in the background.

I'm not running pulseaudio as I have never managed to get anything more than crackling noises when I last tried it.

Give me a shout and I will do some digging and find out more about the exact configuration.
Actually, Linux audio is making me cry a little. I'm using BASS for audio, which i may need to update. There's been a new flag added recently to get round the exclusive audio thing.

Also, the pulse thing seems to be a bone of contention with many people, who remove it completely. I think BASS uses ALSA, which is common, but i still get grumbling from those who have only got OSS installed. I'm just not winning this one!

If you can do some digging, and manage to find anything, that would be super amazing!

Cheers
Charlie
Visit my website here to have a look at my game.
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 »

I was wrong. Looks like my last upgrade reinstalled pulseaudio, but I didn't notice as it there is finally a version that works.

Code: Select all

davidb@mirage:~$ pulseaudio  --version
pulseaudio 0.9.22-24-g67d18
davidb@mirage:~$ uname -a
Linux mirage 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
davidb@mirage:~$ pulseaudio  --dump-conf
### Read from configuration file: /etc/pulse/daemon.conf ###
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
cpu-limit = no
enable-shm = yes
flat-volumes = no
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-0.9.22/modules
default-script-file = /etc/pulse/default.pa
load-default-script-file = yes
log-target = auto
log-level = notice
resample-method = speex-float-1
enable-remixing = yes
enable-lfe-remixing = no
default-sample-format = s16le
default-sample-rate = 44100
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 8
default-fragment-size-msec = 10
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 1000000
User avatar
super charlie
Baaaaa!
Baaaaa!
Posts: 1809
Joined: Wed Mar 31, 2004 7:53 pm 0
Location: Ipswich, suffolk
Contact:

Re: Show us yer programming projects!

Post by super charlie »

@goatfoam, thanks for that :)

Anyway, i'm launching this next friday, wish me luck!

[youtube]UTEYVxLr0os?hd=1[/youtube]

More info here: http://www.charliesgames.com/wordpress/?p=725

Cheers
Charlie
Visit my website here to have a look at my game.
User avatar
super charlie
Baaaaa!
Baaaaa!
Posts: 1809
Joined: Wed Mar 31, 2004 7:53 pm 0
Location: Ipswich, suffolk
Contact:

Re: Show us yer programming projects!

Post by super charlie »

My game is out now! http://www.scoregasm-game.com

Video in above post.

Cheers
Charlie
Visit my website here to have a look at my game.
User avatar
skip
Baaaaaa!
Baaaaaa!
Posts: 2455
Joined: Mon Sep 02, 2002 1:23 pm 0
Yahoo Messenger: oz_skip
Location: Adelaide, South Australia

Re: Show us yer programming projects!

Post by skip »

Looks great. :)

Any chance of an iOS port?
User avatar
pogo
Sheepie Whore
Sheepie Whore
Posts: 14180
Joined: Tue Sep 10, 2002 8:28 pm 0
Yahoo Messenger: BrassSparrow
Location: County Durham

Re: Show us yer programming projects!

Post by pogo »

Just downloaded the demo and, well, look at the screenshot. Jaggies from the start then big white rectangles on game mission start. OSX 10.6.8, 2.16 Core 2 Duo, Nvidia GeForce 7600 GT (5 year old iMac).
Attachments
Screen shot 2011-10-09 at 20.31.10.png.zip
Screenshot
(498.53 KiB) Downloaded 59 times
User avatar
super charlie
Baaaaa!
Baaaaa!
Posts: 1809
Joined: Wed Mar 31, 2004 7:53 pm 0
Location: Ipswich, suffolk
Contact:

Re: Show us yer programming projects!

Post by super charlie »

Probably a no on an iOS port. I don't think i've got it in me at the moment. Sorry.

@pogo, well, it looks like some of the textures aren't loading properly for you. I'll have a look at how those ones are loaded in, and see what could be going wrong. The particle texture is loading ok, as are the ones for the 2d overlay and the meshes, so i guess it should be fixable.


Cheers
Charlie
Visit my website here to have a look at my game.
User avatar
korruptor
Baaaaaa!
Baaaaaa!
Posts: 4291
Joined: Sun Sep 22, 2002 10:35 am 0
Location: Under The Northern Lights
Contact:

Re: Show us yer programming projects!

Post by korruptor »

Congrats Charlie!
"Don't go into a trance boys..." :: DJ Mixes
User avatar
super charlie
Baaaaa!
Baaaaa!
Posts: 1809
Joined: Wed Mar 31, 2004 7:53 pm 0
Location: Ipswich, suffolk
Contact:

Re: Show us yer programming projects!

Post by super charlie »

korruptor wrote:Congrats Charlie!
Thanks :) It's really been an epic amount of work getting it finished! If you haven't tried it yet, grab a copy from the links below.

Demo links:

Windows installer http://www.charliesgames.com/scoregasm/demos/ScoregasmDemoSetup.exe
Windows zip http://www.charliesgames.com/scoregasm/demos/ScoregasmWindowsDemo.zip

Mac OS X http://www.charliesgames.com/scoregasm/demos/ScoregasmMacDemo.zip

Linux http://www.charliesgames.com/scoregasm/demos/ScoregasmLinuxDemo.tar.gz
Visit my website here to have a look at my game.
User avatar
Orangy Tang
Baaaaa!
Baaaaa!
Posts: 1794
Joined: Sun Apr 25, 2004 5:25 pm 0
Location: My secret lab
Contact:

Re: Show us yer programming projects!

Post by Orangy Tang »

I've been doing this:

Image

It's a very un-fancy software renderer, but it's keeping me amused/frustrated in equal measures. I've finally figured out the maths for line clipping so wireframe mostly works now. Next up is triangle clipping, once I figure out how to do that...

Oh, and it's distinguishing feature is that it's very, very slow. :lol:
[ Triangular Pixels.net - play Snowman Village, Rescue Squad, NiGHTS 4k and more ] [ Development Journal ]
User avatar
venusian
Baaaaaaa!
Baaaaaaa!
Posts: 6655
Joined: Wed Nov 06, 2002 2:22 pm 0
Location: South Gloucestershire

Re: Show us yer programming projects!

Post by venusian »

Good one. Getting 3D stuff spinning aound on the screen is always a thrill. At least it is for me.
User avatar
Orangy Tang
Baaaaa!
Baaaaa!
Posts: 1794
Joined: Sun Apr 25, 2004 5:25 pm 0
Location: My secret lab
Contact:

Re: Show us yer programming projects!

Post by Orangy Tang »

Yeah, it's nice to see it working. I've been surprised how simple it's been to get this up, but then most of the complexity seems to come from trying to make it fast. :)

Also, I'm struggling with perspective correct texturing, so maybe I shouldn't say it's simple too quickly...
[ Triangular Pixels.net - play Snowman Village, Rescue Squad, NiGHTS 4k and more ] [ Development Journal ]
Post Reply