Skip to content

Instantly share code, notes, and snippets.

View timmaffett's full-sized avatar

Tim Maffett timmaffett

View GitHub Profile
import 'dart:ui';
import 'package:flutter/material.dart' hide Gradient;
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/effects.dart';
class SunSegment extends RectangleComponent {
SunSegment(int i)
: super(
@timmaffett
timmaffett / main.dart
Created July 4, 2022 17:00 — forked from immadisairaj/main.dart
Flame Water Wave #FlameEffectsChallenge
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/effects.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
GameWidget(game: FlameWave()),
);
}
@timmaffett
timmaffett / index.html
Last active April 5, 2022 15:48 — forked from jcollins-g/index.html
Sunflower
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sunflower</title>
<link rel="stylesheet" href="styles.css">
<script type="application/dart" src="main.dart"></script>
</head>