GPWiki.org
GPWiki.org
It is currently Tue Jun 18, 2013 6:45 am

All times are UTC




Post new topic Reply to topic  [ 92 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject:
PostPosted: Mon Jan 19, 2009 5:44 pm 
Funky Monkey

Joined: Mon Aug 16, 2004 2:48 pm
Posts: 1604
Location: Minneapolis, MN USA
And you did that all in real-time? Or did you use that process to pre-generate the ball's graphical frames, then swap frames depending on your rotational values?

-Bryk

_________________
www.mwgames.com ... Dicey Curves, Space Mission, Jump Gate, Gem Raider, DareBase, Castle Danger, Keeps & Moats Chess


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 5:51 pm 
Corpse Bride
User avatar

Joined: Tue Jul 01, 2008 11:44 pm
Posts: 2217
Location: England
Brykovian wrote:
And you did that all in real-time? Or did you use that process to pre-generate the ball's graphical frames, then swap frames depending on your rotational values?

-Bryk


no it's all real-time :) It is rather strenuous but if my machine can cope with it, anybodies can :lol

As i said in the readme, I did try pre-generated graphics, but to get enough frames for smooth rotation, it would require hundreds of frames. Remember, there are two dimensions here, so however many frames you'd have for smoothly rotating a top-down asteroids ship (1 dimensional rotation), you'd have to square that number to get a rolling ball animated as smoothly (2 dimensional rotation).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 5:54 pm 
Double Guru
User avatar

Joined: Fri Aug 12, 2005 8:58 am
Posts: 2009
Location: LA, CA
Got my computer back up and running at home, I'll be looking at submissions tonight and hopefully all the judging will be done by Wednesday night.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 6:39 pm 
Mumbo Jumbo
User avatar

Joined: Fri Aug 20, 2004 1:15 pm
Posts: 804
Location: Michigan, USA
Brykovian wrote:
Cool Moglor ...

You game ran just fine on my setup (XP Pro).

What you did for your sound class was how I was originally going to do it, but I got scared off by the Loader-Lock issue and dropped back to irrKlang.

But, since then I've read how to turn off that exception from being thrown ... so, I think I'll use that MDX Sound/Music approach in the future.

As for the game ... it falls into that intense-to-frustration category for me as I blow through pipes trying to find ones that fit nicely into my planned path. ;)

Nicely implemented.

-Bryk


im not really that happy with the sound class because you can only play one instance of the same sound at a time. youll notice it if you press the space bar rapidly to cycle through the pipes. not to mention that my code is on the verge of spagetti.

jasmin, your game rocks! :eek its nice to see something that great come out of vb6 (your explanation on how you got the rolly ball to roll went waaaaayyyy over my head :confused). the only thing missing was a way to save your progress, so that you don't have to start over again.

Bryks game is cool. i really liked the music and sound effects. i think i'll try out irrKlang next time for sounds :spin

_________________
The path to hell is paved with clever code.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 7:40 pm 
Funky Monkey

Joined: Mon Aug 16, 2004 2:48 pm
Posts: 1604
Location: Minneapolis, MN USA
Moglor wrote:
im not really that happy with the sound class because you can only play one instance of the same sound at a time.

I remember having to do something with an array of cloned buffers to allow for the same sound multiple times at the same time.

The thing I'm wondering is which sound style will be easier to support. It's pretty easy to have a Windows user update their DirectX if they are having troubles. But, if you're supplying a 3rd party DLL with your app (like irrKlang) and they have trouble, then I'm usually lost as to how to help.

-Bryk

_________________
www.mwgames.com ... Dicey Curves, Space Mission, Jump Gate, Gem Raider, DareBase, Castle Danger, Keeps & Moats Chess


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 8:49 pm 
Corpse Bride
User avatar

Joined: Tue Jul 01, 2008 11:44 pm
Posts: 2217
Location: England
The bulk of that rolly-ball explanation compresses down quite small with optimisations made from knowing it is a sphere, the nature of the pattern, etc. This is the code which does it:

I've added square brackets [x] to indicate the elements I described above :)

Code:
isisVecX = 0:isisVecY = 0:isisVecZ = 1   ' [1]


Code:
q = isisXv * dt * 64 / 24   ' [2]
isisVecX1 = isisVecX * Cos(q) + isisVecZ * Sin(q)   ' [3]
isisVecZ1 = -isisVecX * Sin(q) + isisVecZ * Cos(q)
isisVecX = isisVecX1: isisVecZ = isisVecZ1

q = isisYv * dt * 64 / 24   ' [2]
isisVecY1 = isisVecY * Cos(q) + isisVecZ * Sin(q)   ' [3]
isisVecZ1 = -isisVecY * Sin(q) + isisVecZ * Cos(q)
isisVecY = isisVecY1: isisVecZ = isisVecZ1


'[4]
For X = 0 To 47
  xa = (X - 23.5): xa2 = 600.25 - xa ^ 2: yc = Sqr(xa2)  ' [5]
For ya = -yc To yc
  z2 = xa2 - ya ^ 2 + 0.1
    z = Sqr(z2)   ' [6]
    e = (isisVecX * xa + isisVecY * ya + isisVecZ * z)   ' [7]
    c = 0
    If e > 22.56 Then c = 48   ' [8]
    If e > 8.8125 And e < 14.6875 Then c = 48
    If e > -2.9375 And e < 2.9375 Then c = 48
    If e > -14.6875 And e < -8.8125 Then c = 48
    If e < -22.56 Then c = 48
    Y = ya + 23.5
    suc& = BitBlt(Picture3.hdc, X + 96, Y, 1, 1, Picture3.hdc, X + c, Y, &HCC0020)   ' [9]
Next: Next


:)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 20, 2009 2:39 am 
Double Guru
User avatar

Joined: Fri Aug 12, 2005 8:58 am
Posts: 2009
Location: LA, CA
Just to make sure I got everyone, here are the entries I've found.

Brykovian - Elemental Reduction
Jasmine - Isis
Moglor - The Plumber


If I missed you (sorry) then point to your post in this thread and I'll judge it. Also thanks to everyone who participated.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 20, 2009 1:22 pm 
Dexterous Droid
User avatar

Joined: Wed Aug 18, 2004 7:40 pm
Posts: 3745
Location: South Africa
Jasmine wrote:
We haven't heard from Sadistic Penguin or Igthorn yet. Both said they wanted to submit something, but both have been scarily tight lipped this week. :P


Argh! I hardly ever check the announcement forum and totally forgot about the compo :( *tear*

Moglor wrote:
(your explanation on how you got the rolly ball to roll went waaaaayyyy over my head :confused).


Ditto :eek


Anyway, gonna spend some time playing the games now. 1 minute remaining on the downloads :)

_________________
Whatever the mind can conceive and believe, it can achieve


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 20, 2009 5:26 pm 
Corpse Bride
User avatar

Joined: Tue Jul 01, 2008 11:44 pm
Posts: 2217
Location: England
wyrmmage wrote:
Two suggestions:
A key for giving your ball short boosts of speed would have cut down on the tedium of running down rather long passageways
Make the blocks move a bit more quickly


moglor wrote:
the only thing missing was a way to save your progress, so that you don't have to start over again.


For those who are interested, [url=ISIS_patch.zip]here's a patch[/url] with requested features implemented:


Last edited by Jasmine on Wed Sep 22, 2010 3:39 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2009 2:23 am 
Super Donkey Monkey Wrestler

Joined: Wed Oct 20, 2004 8:15 pm
Posts: 951
Location: Saskatchewan
Sadly, none work in Linux so I can't try them out :(.

_________________
Ryan

"What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy?" - Gandhi


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2009 9:12 am 
Dexterous Droid
User avatar

Joined: Wed Aug 18, 2004 7:40 pm
Posts: 3745
Location: South Africa
sik0fewl wrote:
Sadly, none work in Linux so I can't try them out :(.


Have you tried running any of them with Wine? (Not that I have, just curious)

_________________
Whatever the mind can conceive and believe, it can achieve


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2009 2:53 pm 
Super Donkey Monkey Wrestler

Joined: Wed Oct 20, 2004 8:15 pm
Posts: 951
Location: Saskatchewan
IGTHORN wrote:
Have you tried running any of them with Wine? (Not that I have, just curious)


Jasmine's started up in wine, but the graphics were a bit jumbly and then it went full screen and blank. Thankfully Esc exited and it didn't crash my computer :-).

The other two were .NET, but Mono choked on them. Both were trying to find some VB libs, so I'm guessing they were written in VB.NET and Mono doesn't have it's own implementation of some VB.NET specific things... of course that's just a guess. I didn't spend too much time trying to figure it, out :-)

_________________
Ryan

"What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy?" - Gandhi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 92 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group