Skip to content
Snippets Groups Projects
Unverified Commit f3570c0f authored by Louis's avatar Louis :fire:
Browse files

Update graphics

parent 4cbf83bf
No related branches found
No related tags found
No related merge requests found
public/background.png

129 B

public/charles-text.png

128 B | W: | H:

public/charles-text.png

129 B | W: | H:

public/charles-text.png
public/charles-text.png
public/charles-text.png
public/charles-text.png
  • 2-up
  • Swipe
  • Onion skin
public/charles.png

129 B | W: | H:

public/charles.png

129 B | W: | H:

public/charles.png
public/charles.png
public/charles.png
public/charles.png
  • 2-up
  • Swipe
  • Onion skin
public/favicon.png

128 B | W: | H:

public/favicon.png

129 B | W: | H:

public/favicon.png
public/favicon.png
public/favicon.png
public/favicon.png
  • 2-up
  • Swipe
  • Onion skin
public/is-text.png

128 B | W: | H:

public/is-text.png

128 B | W: | H:

public/is-text.png
public/is-text.png
public/is-text.png
public/is-text.png
  • 2-up
  • Swipe
  • Onion skin
public/push-text.png

128 B | W: | H:

public/push-text.png

129 B | W: | H:

public/push-text.png
public/push-text.png
public/push-text.png
public/push-text.png
  • 2-up
  • Swipe
  • Onion skin
public/stop-text.png

129 B | W: | H:

public/stop-text.png

129 B | W: | H:

public/stop-text.png
public/stop-text.png
public/stop-text.png
public/stop-text.png
  • 2-up
  • Swipe
  • Onion skin
public/wall-text.png

128 B | W: | H:

public/wall-text.png

129 B | W: | H:

public/wall-text.png
public/wall-text.png
public/wall-text.png
public/wall-text.png
  • 2-up
  • Swipe
  • Onion skin
public/wall.png

128 B | W: | H:

public/wall.png

129 B | W: | H:

public/wall.png
public/wall.png
public/wall.png
public/wall.png
  • 2-up
  • Swipe
  • Onion skin
public/you-text.png

128 B | W: | H:

public/you-text.png

128 B | W: | H:

public/you-text.png
public/you-text.png
public/you-text.png
public/you-text.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -6,8 +6,8 @@ import testLevel from './data/testlevel1' ...@@ -6,8 +6,8 @@ import testLevel from './data/testlevel1'
class App extends Component<{}> { class App extends Component<{}> {
state = { state = {
margin: 1, margin: 0,
scale: 1, scale: 1.5,
showOptions: false, showOptions: false,
levelData: null levelData: null
} }
......
...@@ -36,7 +36,7 @@ export default class Level extends React.Component<Props> { ...@@ -36,7 +36,7 @@ export default class Level extends React.Component<Props> {
static defaultProps = { static defaultProps = {
scale: 1, scale: 1,
size: 32, size: 32,
margin: 1, margin: 0,
active: false, active: false,
} }
...@@ -93,7 +93,7 @@ export default class Level extends React.Component<Props> { ...@@ -93,7 +93,7 @@ export default class Level extends React.Component<Props> {
<div className="level-container"> <div className="level-container">
{[...range(width)].map(x => {[...range(width)].map(x =>
[...range(height)].map(y => ( [...range(height)].map(y => (
<div className="level-tile" style={{ <img src="/background.png" className="level-tile" style={{
left: (margin * x) + (x * 32 * scale), left: (margin * x) + (x * 32 * scale),
top: (margin * y) + (y * 32 * scale), top: (margin * y) + (y * 32 * scale),
width: size * scale, width: size * scale,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment