Wow, really cool.evilpaul wrote:Playing around with some ray marching in Processing. It's a form of ray tracing that is fast enough to run in real-time, even in a browser.
Go here to run it in your browser: http://www.openprocessing.org/visuals/?visualID=25016
Make sure you play around with m/M and f/F keys to step forwards/BACKWARDS through the various scenes and lighting modes
Source code is up there on OpenProcessing.org too
Show us yer programming projects!
Re: Show us yer programming projects!
- korruptor
- Baaaaaa!

- Posts: 4291
- Joined: Sun Sep 22, 2002 10:35 am 0
- Location: Under The Northern Lights
- Contact:
Re: Show us yer programming projects!
andy_h wrote:
This is something I've been working on for the past month or so in my spare time, it's a remake of arguably the best game ever made for the Sinclair Spectrum, Chaos.
The twist here is that I'm playing inbetween two browsers with HTML5 websocket connections, and updating the screen with the canvas element. The game's not yet complete, there's a few spells which are missing, but there's a working game there already, albeit a sub-set of the original.
Ooo, that could be the best thing ever!
"Don't go into a trance boys..." :: DJ Mixes
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Show us yer programming projects!
Wow! Very coolandy_h wrote:
This is something I've been working on for the past month or so in my spare time, it's a remake of arguably the best game ever made for the Sinclair Spectrum, Chaos.
The twist here is that I'm playing inbetween two browsers with HTML5 websocket connections, and updating the screen with the canvas element. The game's not yet complete, there's a few spells which are missing, but there's a working game there already, albeit a sub-set of the original.
looking forward to this!
Cheers
Charlie
Visit my website here to have a look at my game.
Re: Show us yer programming projects!
Hi,
My first post, be gentle.
I've been working on a Geometry Wars style game in HTML5:
http://www.kevs3d.co.uk/dev/arena5
- this is only my second game so I'm still getting the hang of it - my first was an Asteroids clone (yes, yes I know, Asteroids, but apparently it's a good one to start with!)
http://www.kevs3d.co.uk/dev/asteroids
Any comments appreciated as I'm basically making this up as I go along hah. At the moment the biggest issue I see is trying to come up with a control mechanism for what should really be a "dual-stick" shooter that runs in the browser...
Cheers!
Kev
My first post, be gentle.
I've been working on a Geometry Wars style game in HTML5:
http://www.kevs3d.co.uk/dev/arena5
- this is only my second game so I'm still getting the hang of it - my first was an Asteroids clone (yes, yes I know, Asteroids, but apparently it's a good one to start with!)
http://www.kevs3d.co.uk/dev/asteroids
Any comments appreciated as I'm basically making this up as I go along hah. At the moment the biggest issue I see is trying to come up with a control mechanism for what should really be a "dual-stick" shooter that runs in the browser...
Cheers!
Kev
Re: Show us yer programming projects!
Those are very nice. I don't think you should worry about anyone taking you apart. You did good work.
Re: Show us yer programming projects!
I'm after people to playtest my chaos server, so if anyone here is familiar with the original game and interested in taking part then send me a PM with your email address and I'll reply back.
Nintendo Switch: SW-5294-9905-6499
Re: Show us yer programming projects!
This might be the start of some thing .... if doesn't die in a wad of no avail time. My baby steps at blitz-max, use left or right keys to scroll, esc to exit.
Code: Select all
' Basic Fractal landscape
'-------------------------
Strict
Graphics 1024,768
Global FracDPS:Int = GraphicsWidth() ' detail per screen
Global FracScnNo:Int = 1 ' number of screen to render
Global FracLen:Int = (FracDPS * FracScnNo)
Global NormalisedHeightMap1:Float[FracLen+1] ' heightmap, range is 0.0 - 1.0
Global NormalisedHeightMap2:Float[FracLen+1] ' heightmap, range is 0.0 - 1.0
Global RenderScnXPos = 0;
SeedRnd MilliSecs()
' ----------------------------------------------------------------------------------
Function buildMap (normHighMap:Float[], startPos:Int, endPos:Int)
Local xIdx:Int = (endPos - startPos) ' mid point in fractal array
Local diff:Float = normHighMap[startPos] - normHighMap[endPos];
If (xIdx > 1) Then
xIdx = startPos + (xIdx / 2)
Else
xIdx = startPos;
End If
Local r:Float = RndFloat#()
Local normRndDiff:Float = r / (1 / diff)
normHighMap[xIdx] = normHighMap[startPos] - normRndDiff;
If (xIdx <> startPos) Then
' construct the left side
buildMap (normHighMap, startPos, xIdx)
' construct the right side
buildMap (normHighMap, xIdx, endPos)
End If
End Function
' -------------------------------------------------------------------------------
Local idx:Int
For idx = 1 To FracLen Step 1
NormalisedHeightMap1[idx] = 0
Next
' ----------------------------------------------------------------------------------
' Init fractal
NormalisedHeightMap1[1] = RndFloat#()
NormalisedHeightMap1[FracLen] = RndFloat#()
buildMap (NormalisedHeightMap1, 1, FracLen)
NormalisedHeightMap2[1] = NormalisedHeightMap1[FracLen]
NormalisedHeightMap2[FracLen] = RndFloat#()
buildMap (NormalisedHeightMap2, 1, FracLen)
Local height:Int = GraphicsWidth()
Local nhm1_xPos = 1
Local nhm2_xPos = 0
Local stepSpeed = 1
While Not KeyHit( KEY_ESCAPE )
Cls
SetColor 0,0,255
If (nhm1_xPos > 0) Then
Local plotPos2:Int = (FracLen - nhm1_xPos)
For idx = 0 To plotPos2 Step 1
DrawLine idx, (NormalisedHeightMap1[nhm1_xPos+idx] * height), idx, height
Next
For idx = 1 To nhm1_xPos-1 Step 1
DrawLine plotPos2+idx, (NormalisedHeightMap2[idx] * height), plotPos2+idx, height
Next
Else If (nhm2_xPos > 0) Then
Local plotPos1:Int = (FracLen - nhm2_xPos)
For idx = 0 To plotPos1 Step 1
DrawLine idx, (NormalisedHeightMap2[nhm2_xPos+idx] * height), idx, height
Next
For idx = 1 To nhm2_xPos-1 Step 1
DrawLine plotPos1+idx, (NormalisedHeightMap1[idx] * height), plotPos1+idx, height
Next
EndIf
If (nhm1_xPos > 0) Then
nhm1_xPos = nhm1_xPos + stepSpeed
If (nhm1_xPos > FracLen) Then
nhm1_xPos = 0
nhm2_xPos = 1
NormalisedHeightMap1[1] = NormalisedHeightMap2[FracLen]
NormalisedHeightMap1[FracLen] = RndFloat#()
buildMap (NormalisedHeightMap1, 1, FracLen)
Else If (nhm1_xPos < 1) Then
nhm1_xPos = 0
nhm2_xPos = FracLen
NormalisedHeightMap2[FracLen] = NormalisedHeightMap1[1]
NormalisedHeightMap2[1] = RndFloat#()
buildMap (NormalisedHeightMap2, 1, FracLen)
End If
Else If (nhm2_xPos > 0) Then
nhm2_xPos = nhm2_xPos + stepSpeed
If (nhm2_xPos > FracLen) Then
nhm1_xPos = 1
nhm2_xPos = 0
NormalisedHeightMap2[1] = NormalisedHeightMap1[FracLen]
NormalisedHeightMap2[FracLen] = RndFloat#()
buildMap (NormalisedHeightMap2, 1, FracLen)
Else If (nhm2_xPos < 1) Then
nhm1_xPos = FracLen
nhm2_xPos = 0
NormalisedHeightMap1[FracLen] = NormalisedHeightMap2[1]
NormalisedHeightMap1[1] = RndFloat#()
buildMap (NormalisedHeightMap1, 1, FracLen)
End If
End If
If KeyDown (KEY_RIGHT) Then
stepSpeed = stepSpeed + 1
Else If KeyDown (KEY_LEFT) Then
stepSpeed = stepSpeed - 1
End If
Flip
Wend
- Attachments
-
- frac.zip
- (526.08 KiB) Downloaded 83 times
Re: Show us yer programming projects!
I have was playing this puzzle game, that has been driving me nuts.
http://www.gamedesign.jp/flash/slidingb ... block.html
I'm crap at this sort of thing, but I hate being beaten. So I did the obvious thing and got the machine to do it for me.
Sources, windows binary and solutions here:
http://www.spectral3d.co.uk/misc/block_puzzle.zip
Now it is done I never have to think about it again!
http://www.gamedesign.jp/flash/slidingb ... block.html
I'm crap at this sort of thing, but I hate being beaten. So I did the obvious thing and got the machine to do it for me.
Sources, windows binary and solutions here:
http://www.spectral3d.co.uk/misc/block_puzzle.zip
Now it is done I never have to think about it again!
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Show us yer programming projects!
Trying to get some feedback on this: http://www.charliesgames.com/wordpress/?p=583
Should work on Mac OS, Windows and Linux.
Gratuitous pic:

Cheers
Charlie
Should work on Mac OS, Windows and Linux.
Gratuitous pic:

Cheers
Charlie
Visit my website here to have a look at my game.
Re: Show us yer programming projects!
looks like a pretty awesome procedural generate graphical bullet hell game.super charlie wrote:Trying to get some feedback on this: http://www.charliesgames.com/wordpress/?p=583
Should work on Mac OS, Windows and Linux.
Re: Show us yer programming projects!
Looks great here (2006 Mac Pro with Radeon X1900) solid 60 fps.super charlie wrote:Trying to get some feedback on this: http://www.charliesgames.com/wordpress/?p=583
Should work on Mac OS, Windows and Linux.
Cheers
Charlie
Plays very nicely with the Magic Trackpad too. 0.95 sensitivity suited me well.
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Show us yer programming projects!
Trackpad thing is good to know, thanksfritx wrote:Looks great here (2006 Mac Pro with Radeon X1900) solid 60 fps.super charlie wrote:Trying to get some feedback on this: http://www.charliesgames.com/wordpress/?p=583
Should work on Mac OS, Windows and Linux.
Cheers
Charlie
Plays very nicely with the Magic Trackpad too. 0.95 sensitivity suited me well.
Cheers
Charlie
Visit my website here to have a look at my game.
Re: Show us yer programming projects!
Bullet hell stuff isn't really my bag, but that's frickin' beautiful. A solid 60fps on my iMac (2.8 Ghz core 2 duo, 10.6.7). Needed to boost the mouse speed for my trackball, but I always do.
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Show us yer programming projects!
Cheers, glad you like ittufty wrote:Bullet hell stuff isn't really my bag, but that's frickin' beautiful. A solid 60fps on my iMac (2.8 Ghz core 2 duo, 10.6.7). Needed to boost the mouse speed for my trackball, but I always do.
The mouse control is pretty much just to make things easier to control, thus, in theory, lower the barrier of entry to less hardcore players. Plus, i'd like to have a go at an iOS game, and mousey stuff tends to transfer better to touchscreen.
Cheers
Charlie
Visit my website here to have a look at my game.
Re: Show us yer programming projects!
To take my mind off my car licence related problems I've spent this afternoon almost completing a Qix/Zolyx clone in C++.
I'll finish it off just as soon as I've sorted out my car woes!
I'll finish it off just as soon as I've sorted out my car woes!
- Attachments
-
- qix.zip
- (6.25 KiB) Downloaded 53 times







