Skip to content

Commit 6827f82

Browse files
committed
Adding text to game screen.
1 parent ee7461f commit 6827f82

File tree

4 files changed

+31
-6
lines changed

4 files changed

+31
-6
lines changed

css/main.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ nav {
2020
box-shadow: 0 0 10px #111;
2121
}
2222

23-
section.game h1 {
24-
margin-bottom: 60px;
23+
section.game h2 {
24+
padding-top: 25px;
2525
}
2626

2727
section.game {
@@ -30,7 +30,14 @@ section.game {
3030
text-align: center;
3131
}
3232

33-
section.text {
33+
section.game p.summary {
34+
margin-bottom: 40px;
35+
margin-left: auto;
36+
margin-right: auto;
37+
width: 600px;
38+
}
39+
40+
section.text, section.game {
3441
margin-bottom: 40px;
3542
}
3643

games/osgcc_6-monastery.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@
3030
<script src='/js/swfobject.js' type='text/javascript'></script>
3131
<script src='/js/flash.js' type='text/javascript'></script>
3232
<section class='game'>
33-
<h1>Monastery</h1>
33+
<h2>Monastery</h2>
34+
<ul class='participants'>
35+
Creators:
36+
<li class='participant'>Andrea Della Corte, Rob Filippi, Mike Minella</li>
37+
</ul>
38+
<p class='summary'>In this game you are the chef of the Monastery, a huge spaceship where food is running scarce! But, when everything seemed lost, the Monastery landed on a wonderful planet full of vegetables! Bad thing is... The plants on this planet walk and are invading your space kitchen!! Can you restore the botanic order by bringing the invaders to the cooking hearth and keeping your comrades from starvation? WAD to move, S will pick up the plant.</p>
3439
<div id='alt-content'>
3540
<a href='http://www.adobe.com/go/getflashplayer'>
3641
Requires Flash

games/osgcc_6-spectrum.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@
3030
<script src='/js/swfobject.js' type='text/javascript'></script>
3131
<script src='/js/flash.js' type='text/javascript'></script>
3232
<section class='game'>
33-
<h1>Spectrum</h1>
33+
<h2>Spectrum</h2>
34+
<ul class='participants'>
35+
Creators:
36+
<li class='participant'>Chelsea Bodnar</li>
37+
<li class='participant'>Christian Stewart</li>
38+
<li class='participant'>Mark Sewell</li>
39+
</ul>
40+
<p class='summary'>You are Visible Light and you are tasked to defeat the three, normally dormant, foes: Radio, Microwave, and the skeletal X-Ray. This is a very challenging Boss Battler designed with appropriately colorful original graphics done in a Zelda-like style. Arrow keys to move, Z to swing the light sword.</p>
3441
<div id='alt-content'>
3542
<a href='http://www.adobe.com/go/getflashplayer'>
3643
Requires Flash

layout/game.haml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
%script{:type => "text/javascript", :src => "/js/swfobject.js"}
66
%script{:type => "text/javascript", :src => "/js/flash.js"}
77
%section.game
8-
%h1 #{game["name"]}
8+
%h2 #{game["name"]}
9+
%ul.participants
10+
Creators:
11+
- game["participants"].each do |participant|
12+
%li.participant #{participant}
13+
- if game["summary"]
14+
%p.summary #{game["summary"]}
915
#alt-content
1016
%a{:href => "http://www.adobe.com/go/getflashplayer"}
1117
Requires Flash

0 commit comments

Comments
 (0)