Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Creating a qwix game
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Lupin
Neophyte

1 Posts

Posted - Oct 17 2004 :  3:43:35 PM  Show Profile  Visit Lupin's Homepage  Reply with Quote
I think i asked that on luck's Forums a while ago but i forgot to check back for it =.=

Well, i found this game...
http://www.uproar.co.uk/dist/sun/fillit.html

and basically i want to do the same thing... i am looking for a simple way to do it... anyone knows how?

Some opinions pls. My guess would be to use something like a flood fill but that sounds very slow

Eric Coleman
Gladiator

USA
811 Posts

Posted - Oct 17 2004 :  6:47:54 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
Actually, flood fill would work perfectly. Simply create an off screen surface that has the rectangles on it. You don't have to draw them every frame because they're not moving.

  
Do
...  
If RectCompleted Then Draw New Rect on RectDC  
Bitblt RectDC On BackBufferDC  
Draw CurrentShipPath On BackBufferDC  
BitBlt Sprites On BackBufferDC  
BitBlt BackBuffer On FrontBuffer  
...  
Loop
  


Go to Top of Page

maxhamner
Squire

USA
26 Posts

Posted - Nov 04 2004 :  10:08:14 PM  Show Profile  Reply with Quote
I used to love to play QIX... this one was fun for a few plays, but (1) it lacks the great fun of carefully 'seperating' the qix giving bonus points (most of the time completing a space such that ONE of the qix/birds has to be inside a square - it just draws the line and doesn't claim the area) and (2) it got confused over which area to claim several times (it apparently doesn't very accurately track where the birds are...

Hope you get a closer version to the original, let me know so I can play! :D

--
max
There are 10 kinds of people in the world, those that understand binary and those that don't.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.09 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.