Where to get sound effects and music

Updated 18.6.2018

In my early times I’ve used FreeSFX for example in Ball Shooter. The sound effects and musics from FreeSFX can also be used in commercial software products. In the credits for the sound effects and musics FreeSFX must be mentioned as follows: http://www.freesfx.co.uk, when using their library.

One of the probably finest sites for free music and sound effects is Soundimage.org. There are simply amazing compositions for free, you only need to put attribution information to your product.

There are also many sites, that sell royalty free music and sound effects. Personally I like very much the music collection of Shockwave-Sound.com. There is also fine collection of sound effects at Shockwave-Sound. The customer service of Shockwave-Sound is also excellent. Remember to choose the right kind of a license when buying.

Also great site for music to YouTube videos!

Link: Shockwave-Sound

HTML5 3D Stars

The 3D stars are again embedded in this blog post and source code with old mojo is simplified.

The code is written in Monkey X Pro, which is nowadays available on itch.io.

Here’s the code:

Import mojo

Function Main:Int()
	New MyApp
	Return 0

Class MyApp Extends App

	Const STARS:Int = 200
	Field devWidth:Float, devHeight:Float, scaleX:Float, scaleY:Float
	Field x:Float[STARS],y:Float[STARS],z:Float[STARS]

	Method OnCreate()

		scaleX = DeviceWidth() / 640
		scaleY = DeviceHeight() / 480
		For Local i:Int = 0 To STARS - 1
			x[i] = Rnd(-50,50)
			y[i] = Rnd(-50,50)
			z[i] = Rnd(50,200)

	Method OnUpdate()

	Method OnRender()
		Local shade:Float

		For Local i:Int = 0 To STARS - 1
			z[i] = z[i] - 1
			If z[i] < 10 Then z[i] = Rnd(50,200)
			shade = 255 - (z[i] / 200) * 255
			SetColor shade,shade,shade
			' Projection from 3D space to 2D screen	
			DrawOval(x[i] / z[i] * 200 + 320,y[i] / z[i] * 200 + 240,2,2)


End Class

Do use my code as you wish.