Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Demo of project in early stages.
#7
Make might make coding the engine a bit easier Tongue Awesome though. It crashed on me eventually, and I'm assuming it's because of an array/pointer problem...

Wonder what other problems there could possibly be.

EDIT: Problem List (with possible fixes):
  • You have the following pointers dimmed as integers:

    SOff, WOff1, WOff2, PtrVPage, Ptr1, Ptr2, VPageOff

    Sound.Col, Sound.Engine, Sound.Thunder, Sound.Rain

    Code:
    TYPE SoundType
        Enabled AS BYTE
        Col AS INTEGER ptr
        Engine AS INTEGER ptr
        Thunder AS INTEGER ptr
        Rain AS INTEGER ptr
    END TYPE

    DIM SHARED AS INTEGER YOff, XOff, XT, YT, YLut(ScrnWid -1)
    Dim shared as ubyte ptr SOff, WOff1, WOff2, PtrVPage, Ptr1, Ptr2
    Dim shared as ubyte ptr VPageOff


  • FPS2 was never dimmed, therefor it's an implicit variable location

    Code:
    DIM SHARED FpsTimer AS DOUBLE, FPS2 as integer

  • x and y were never dimmed, so redimming using them shouldn't work too well.

    Code:
    FUNCTION Collision.Objects (X1 AS SHORT, Y1 AS SHORT, Spr1() AS SHORT , Index1 AS USHORT, X2 AS SHORT, Y2 AS SHORT, Spr2() AS SHORT, Index2 AS USHORT) AS BYTE
    DIM AS INTEGER So, x, y

  • Aborting due to runtime error 6 (out of bounds array access) at line 209

    Code:
    dim shared/dim as integer tile

  • Aborting due to runtime error 6 (out of bounds array access) at line 465

Couldn't find all the sources of the last one. Tongue This is a really awesome looking project. Keep it up!
Reply


Messages In This Thread
Demo of project in early stages. - by QbBasta - 06-08-2006, 12:55 AM
Demo of project in early stages. - by shockwave - 06-08-2006, 01:24 AM
Demo of project in early stages. - by QbBasta - 06-08-2006, 01:41 AM
Demo of project in early stages. - by Rattrapmax6 - 06-08-2006, 03:22 AM
Demo of project in early stages. - by Phydaux - 06-08-2006, 03:32 AM
Demo of project in early stages. - by Mr Match - 06-10-2006, 03:10 AM
Demo of project in early stages. - by TheAdventMaster - 06-10-2006, 03:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)