My Stage Selection code

What do you think of my created difficult and stage select code? Let me know what you think.


Source Code:

[[Stage Difficulty]]:
Very Easy: 4 Stages
[[Dif-001-ver]]

Easy: 5 Stages
[[Dif-002-eas]]

Normal: 7 Stages
[[Dif-003-nor]]

Hard: 9 Stages
[[Dif-004-har]]

Very Hard: 11 Stages
[[Dif-005-vhd]]

[[Dif-001-ver]]:
@set difficulty = 1
Very Easy!
[[Character Select]]

[[Dif-002-eas]]:
@set difficulty = 2
Easy!
[[Character Select]]

[[Dif-003-nor]]:
@set difficulty = 3
Normal!
[[Character Select]]

[[Dif-004-har]]:
@set difficulty = 4
Hard!
[[Character Select]]

[[Dif-005-vhd]]:
@set difficulty = 5
Very Hard!
[[Character Select]]

[[Character Select]]:
@set stagefinal = true
Character picked!!

[[Proceed to Game]]

[[Proceed to Game]]:
@set stage1 = true
{gamestage1}

[[gamestage1]]:
@set stage2 = true
{if stage1=true:{stage1}}{else:{gamestage2}}

[[stage1]]:
Stage 1!

[[stage1result]]

[[stage1result]]:
@set stage1 = false
Stage 1 complete!

[[gamestage1]]

[[gamestage2]]:
@set stage3 = true
{if stage2=true:{stage2}}{else:{gamestage3}}

[[stage2]]:
Stage 2!

[[stage2result]]

[[stage2result]]:
@set stage2 = false
Stage 2 complete!

[[gamestage2]]

[[gamestage3]]:
@set stage4 = true
{if stage3=true:{stage3}}{else:{gamestage4}}

[[stage3]]:
Stage 3!

[[stage3result]]

[[stage3result]]:
@set stage3 = false
Stage 3 complete!

[[gamestage3]]

[[gamestage4]]:
@set stage5 = true
{if difficulty=1: {stagefinal} } {else: {if stage4=true:{stage4}}{else:{gamestage5}} }

[[stage4]]:
Stage 4!

[[stage4result]]

[[stage4result]]:
@set stage4 = false
Stage 4 complete!

[[gamestage4]]

[[gamestage5]]:
@set stage6 = true
{if difficulty=2: {stagefinal} } {else: {if stage5=true:{stage5}}{else:{gamestage6}} }

[[stage5]]:
Stage 5!

[[stage5result]]

[[stage5result]]:
@set stage5 = false
Stage 5 complete!

[[gamestage5]]

[[gamestage6]]:
@set stage7 = true
{if stage6=true:{stage6}}{else:{gamestage7}}

[[stage6]]:
Stage 6!

[[stage6result]]

[[stage6result]]:
@set stage6 = false
Stage 6 complete!

[[gamestage6]]

[[gamestage7]]:
@set stage8 = true
{if difficulty=3: {stagefinal} } {else: {if stage7=true:{stage7}}{else:{gamestage8}} }

[[stage7]]:
Stage 7!

[[stage7result]]

[[stage7result]]:
@set stage7 = false
Stage 7 complete!

[[gamestage7]]

[[gamestage8]]:
@set stage9 = true
{if stage8=true:{stage8}}{else:{gamestage9}}

[[stage8]]:
Stage 8!

[[stage8result]]

[[stage8result]]:
@set stage8 = false
Stage 8 complete!

[[gamestage8]]

[[gamestage9]]:
@set stage10 = true
{if difficulty=4: {stagefinal} } {else: {if stage9=true:{stage9}}{else:{gamestage10}} }

[[stage9]]:
Stage 9!

[[stage9result]]

[[stage9result]]:
@set stage9 = false
Stage 9 complete!

[[gamestage9]]

[[gamestage10]]:
@set stagefinal = true
{if stage10=true:{stage10}}{else:{gamestagefinal}}

[[stage10]]:
Stage 10!

[[stage10result]]

[[stage10result]]:
@set stage10 = false
Stage 10 complete!

[[gamestage10]]

[[gamestagefinal]]:
{if stagefinal=true:{stagefinal}}

[[stagefinal]]:
Final Stage!

[[stagefinalresult]]

[[stagefinalresult]]:
@set stagefinal = false
Final Stage complete!

[[gameover]]

[[gameover]]:
You win!!


This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums