Forms – Should I hide the Continue button until the tasks are completed?

In a multi-level wizard, some steps show the user a list of tasks that must be performed before the next step can be performed.

Each task in the list opens a popup where the user completes the task.

I have three possible solutions for the Next button:

a) Show it all the time. If the user clicks on it before all tasks are completed, the user will be shown information about what to do before he can proceed.

b) Display a disabled button that activates when all tasks are completed. When disabled, the button has a general message that all tasks must be completed before you can continue.

c) Hide the button and do not show it until all tasks have been completed.

Unit – Ensuring that a recursive method is completed in an update tick?

OK, I have a method that invokes itself, as this is the only way I can think to achieve the behavior I need. It's a Tetris clone I'm doing, and this method is for checking for complete lines along the X axis.

                void CheckForFullLine (int starting_Y)
{
for (int y = starting_Y; y <frozenCells.GetLength (1); y ++)
{
for (int x = 0; x <frozenCells.GetLength (0); x ++)
{
if (! frozenCells[x, y]is filled)
{
CheckForFullLine (starting_Y + 1);
Return;
}

if (x == CELL_COUNT_X - 1)
{
tetrisLinesThisTick ++;
Debug.Log ("draws this checkmark:" + tetrisLinesThisTick + "at check mark:" + check mark);
ClearLine (y);
}
}
}
}

But when I test the game (more than 9/10 times), if you get multiple lines, the debug log says that we only have one line in that & # 39; check mark & ​​# 39; to have.

Here's the update method, where I set tetrisLinesPerTick to 0 at the beginning of each frame.

                private void update ()
{
tick ++;
// reset the Tetris lines to this tick value:
tetrisLinesThisTick = 0;

ClearScreen ();
CheckForFullLine (0);
HandleMovementAndBlockCreation ();
DrawFallingPiece ();
DrawFrozenBricks ();
}

For example, if I get two lines at once, the debug log will be displayed twice in quick succession with the message "… linesPerTick 1".

Oddly, I occasionally get the 2 or even 3 lines and it's the right amount, but that's rare and I still do not know how to reproduce that.

Another very strange thing (the relevant code might not be here for this part ..) … quite seldom does one of the frozen blocks gray after falling, then I can still use it in the game to make more lines, but it does not disappear like the others, then make a few more lines with this gray block and it disappears as usual: S (well, just in case you want to help me with this part, it is more code: P):

                void ClearLine (int line)
{
// TODO: add score

// remove complete line
for (int x = 0; x <frozenCells.GetLength (0); x ++)
{
frozen cells[x, line].isFilled = false;
}

// move all lines down // todo: find out if it's a multi-line Tetris for better results ...
for (int y = line; y <frozenCells.GetLength (1); y ++)
{
for (int x = 0; x < frozenCells.GetLength(0); x++)
        {
            if (frozenCells[x, y].isFilled)
            {
                if (y > 0)
{
frozen cells[x, y].isFilled = false;
frozen cells[x, y - 1].isFilled = true;
}
}
}
}

}

For some reason, I believe that it's the recursive method that I've done, and the fact that the & # 39; linesPerTick & # 39; value is reset to zero before the other lines are removed (in the same turn) , that's what causes my problem, but i could be completely wrong!

The entire project is just a .cs file and a block texture I created in GIMP. I could put the entire script here if you want to try it. Please let me know. Cheers for any help!

[WTS] 35% DISCOUNT for 3 months on dedicated Centohost.com servers + Ready for IPv6 + Free setup!

Are you interested in Hosting services for dedicated high-end servers?

Cento host was one of the leading web hosting service providers since 2002, We use the latest Dell server technology in our own data center to ensure that our customers get the best performance from their websites. Our wide range of web hosting services will meet your hosting needs, whether you are building a small, simple website or a high-performance, high-traffic website. Our main goal is to provide the best available technology with exceptional customer support. With a large customer base comes a variety of web hosting requirements. We have tailored our business to these needs by offering flexible and scalable services.

SPECIAL OFFER: First 3 MONTHS – 35% DISCOUNT

Our dedicated servers are located in own data center in Europe – Bosnia and Herzegovina, You get serial console access with performance servers. You can also install and customize applications.

Our features:

  • Unmeasured bandwidth
  • Free DDoS protection
  • IPv6 ready
  • Free setup
  • Free hardware RAID
  • Fast setup
  • Dell PowerEdge server
  • DDR3 ECC RAM
  • Guaranteed resource
  • server monitoring
  • Remote reboot
  • Single and double CPUs

Take a look at Centohost Dedicated server for beginners:
Start with a dedicated server in your budget – (Unmeasured Bandwidth + Free DDoS Protection + IPv6 Capable + Free Setup)

PE-R320 server package
Six Core Xeon E5-2420v2
Speed ​​- 6 cores x 1.9 GHz
Memory – 16GB DDR3
Hard disk – 2 TB (2 x 1 TB SATA3)
Bandwidth – unmeasured
PRICE – 129 USD / month – 83.85 USD / month – ORDER NOW

PE-R320 Server Package – 2
Six Core Xeon E5-2440
Speed ​​- 6 cores x 2.4 GHz
Memory – 16GB DDR3
Hard disk – 2 TB (2 x 1 TB SATA3)
Bandwidth – unmeasured
PRICE – $ 144 – $ 93.60 / month (3 months 35% off) – ORDER NOW

You can also try Centohost Performance-specific servers:
More powerful servers for medium and large projects – (Unmeasured Bandwidth + Free DDoS Protection + IPv6 Capable + Free Setup)

PE R610 Server Package – 1
2 x 6 Core Xeon X5650
Speed ​​- 12 cores x 2.7 GHz (+ HT)
Memory – 32 GB DDR3
Hard disk – 2 TB SAS (2 x 1 TB SATA) Optional
Bandwidth – unmeasured
PRICE – $ 243 – $ 157.95 / month (3 months 35% off) – ORDER NOW

PE R610 server package – 2
2 x 6 Core Xeon X5670
Speed ​​- 12 cores x 2.93 GHz (+ HT)
Memory – 32 GB DDR3
Hard disk – 2 TB SAS (2 x 1 TB SATA) Optional
Bandwidth – unmeasured
PRICE – $ 259 – $ 168.35 / month (3 months 35% off) – ORDER NOW

PE-R710 server package – 3
2 x 6 Core Xeon X5670
Speed ​​- 12 cores x 2.93 GHz (+ HT)
Memory – 32 GB DDR3
Hard disk – 2 TB SAS (2 x 1 TB SATA) Optional
Bandwidth – unmeasured
PRICE – 274 USD – 178.10 USD / month (3 months 35% discount) – ORDER NOW

PE-R620 server package
2 x 8 Core Xeon E5-2670
Speed ​​- 16 cores x 2.60 GHz (+ HT)
Memory – 64 GB DDR3
Hard disk – 2 TB SAS (2 x 1 TB SATA) Optional
Bandwidth – unmeasured
PRICE – $ 369 – $ 239.85 / month (3 months 35% off) – ORDER NOW

Included in the dedicated server:
Fast setup (In most cases our servers will be ready for use within 4 hours of your order.)
IPv4 and IPv6 network (All dedicated servers contain both IPv4 and IPv6 network connections and addresses.)
Undisturbed traffic (All our dedicated servers are shipped with unmetered data transfer.)
No set-up price (All our dedicated servers are FREE, even if you pay monthly.)
Free DDoS protection (All dedicated servers in our offering are protected with an advanced DDoS protection system.)
Free hardware RAID (We offer FREE Hardware Raid Controler for all our Performance Servers.)

=== >> Write us:
Centohost LLC
7260 W. Azure Dr Ste 140-796
Las Vegas, NV 89130, United States
E-mail: info@centohost.com
phone: 1-702-323-3802
fax: 1-702-323-3844

You are not sure which plan is best for you?
No problem. Send us a ticket with your questions and we will contact you with an offer. Free.

,

4/4 Jazz Pattern Section – More than half completed | Forum Promotion

More than half of all samples are advertised. Basically, this stuff is known as Jazz Comping Patterns. It's the little things that are done on the snare and bass drum while the jazz song is playing. Anyway, I've planned more than 4/4 – since I also want to have a totally free 3/4 jazz pattern – and maybe it's 3/4 ready.

Here is an example in 4/4:

Here is an example of the 3/4 stuff:

Completed – for the fireside chats | Forum Promotion

Your Obsidian Package is in progress



Overall progress
Notes: 10/10


Packager work

Shole (Srdjan Solkotovic) (5/5 comments)
* PTM * (5/5 comments)



In case you do not want to get any further

Last edited by a moderator: