Hey guys! I need help with my windows game :(

  1. namesbob456
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.Xna.Framework;
    using Microsoft.Xna.Framework.Graphics;
    using Microsoft.Xna.Framework.Input;

    namespace Platform_Test
    public class Player
    private float health;
    private Vector2 velocity;

    public Player(Texture2D texture, Vector2 position, float health = 100f)
    :base(texture, position)
    this.health = health;
    this.velocity = Vector2.Zero;

    public override void Update(GameTime gameTime)


    ================================================== ================================================== ================================================== ==========

    I need help because the console says there are errors on base.Update(gameTime); and :base(texture, position)
    Please help, i'm pretty sure this is right.
  2. JohnH
    This is a VB.Net forum, for a C# community try for example C# Developer Forums
    You will probably also get better feedback posting in the mains forums rather than these social groups.
Results 1 to 2 of 2