Realbasic program error

We wrote a program for real time data collection and display real time data of sensors, when I run the program. I got two errors, as mention below.

  1. Location: Windows2.SpriteSurface1.Collision Declaration
    Issue: SpriteSurface1 on Windows2 implements the event “Collision,”
    but its superclass SpriteSurface has already implemented the event
    Sub Collision(s1 as Sprite,s2 as Sprite)

  2. Location: Windows2.SpriteSurface1.NextFrame Declaration
    Issue: SpriteSurface1 on Windows2 implements the event “NextFrame,”
    but its superclass SpriteSurface has already implemented the event
    Sub NextFrame()

I don’t find any superclass SpriteSurface in programming.

I run the program in Realbasic2010r21, Realbasic 2012r21, XOJO 2015 on mac.

Please help me on regarding issues.

Thanks in advance.

SpriteSurface has been removed a long time ago. See the docs: Deprecations. It says:

  • Deprecated in 2008 Release 1
  • Removed in 2012 Release 2