using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Popping_animals { public partial class Form1 : Form { private int totalGameTime = 0; private int radius = 2; public Form1() { InitializeComponent(); } private void Update_Tick(object sender, EventArgs e) { UpdateScreen(); totalGameTime += 2; } private void UpdateScreen() { pictureBox1.Left = (int)Math.Sin(totalGameTime) * radius; pictureBox1.Top = (int)Math.Cos(totalGameTime) * radius; } } }