Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Nathan

#31
I agree, what a great looking Amiga site!  Ahhhh, brings back the memories.
I haven't tried it myself yet, but apparently is very good, here you can generate your own sounds...

http://www.superflashbros.net/as3sfxr/
#32
Sperm monster?!   :S
Just slightly off topic, this does seem a really good quality project, have you released any other games in the past?
#33
Superb work!  Don't use for spam, LOL.
#34
I added the SLEEP command so all four sounds don't play at once and I so I can physically hear it working or not on the devices I was trying, but for this testing example it's not necessary and can be removed, as it's not in my main program anyway, all four sounds should then play instantly together, but returning a different channel number each time.  But it doesn't on iOS.

The length of the sound is longer than 200ms.
There's some good thoughts there, but on iOS you can phyiscally hear the sound cut off.
#35
In the game I'm currently writing, I wish to play a sound effect, which could be played more than once at the same time, therefore I'm make use of the buffers% parameter of LOADSOUND, which is all well and good.  When compiling for win32 this works fine, when the project is compiled on the iPod however, the sound is cut off, each new PLAYSOUND iteration stops the present iteration playing.

In the game I've used DEBUG/STDOUT statements to see what channel% number is generated from each PLAYSOUND, on win32 it correctly increments, on the iPod it always uses the same number, hence the sound cut off.

To test further and to demonstrate I've written a small program ...
Code (glbasic) Select
// --------------------------------- //
// Project: SoundTests
// Start: Wednesday, January 04, 2012
// IDE Version: 10.209

SETCURRENTDIR("Media") // go to media files
LOCAL channel%
LOADSOUND "smallSound.wav", 0, 4

FOR i = 0 TO 3
channel = PLAYSOUND(0, 0.0, 1.0)
STDOUT channel + "\n"
SLEEP 200
NEXT
SHOWSCREEN
MOUSEWAIT
END


Win32 output gives ...

Code (glbasic) Select
Channel number = 0
Channel number = 1
Channel number = 2
Channel number = 3


... and the iPod gives ...

Code (glbasic) Select
Channel number = 0
Channel number = 0
Channel number = 0
Channel number = 0


Does anyone else have experience with this, is it a bug or does iOS not support this sort of functionality?  I've tried other GLB  iPhone games and they seem to be playing the same sounds without cut off, so I'm just not sure what I'm doing wrong?
#37
Quote from: Kitty Hello on 2011-Dec-21
Seriously, what colour is it?
I think it's a bright cyan. Maybe with a gradient to dark blue. I'm uncertain.
:S
#38
Is that game similar to Laser Squad?  I had it on my Amiga 500, it was a superb game, and multiplayer was really good fun.
#39
Great stuff, but is there an advantage to using this over the standard GLB commands?
#40
The standard windows convention CTRL-Tab works in the GLB IDE and switches between open files.
Although for some reason, it doesn't always work for me.
#41
Looks great!  What sort of game is it, I'm guessing an RPG maybe?
#42
I agree, that sheeps looks great!  Did you previously say you use GIMP for drawing sprites?
#43
Nope, I've never heard of this, is it Samsung's version of iPod Touch?  (Not that Samsung copy Apple of course).
Looks really good, but if there's an equivalent phone with similar specs then is it really worth buying one.
The iPod Touch is significantly cheaper than the iPhone so it is worth it.
#44
Congratulations!  Looks really good.
#45
Looks great.  And create apps for phones too, superb, it's a mini-glb.  :)