Results 1 to 4 of 4

Thread: Space Shooter Example

  1. #1

    Space Shooter Example

    Simple space shooter example made by Afterwarp engine.
    Complier: Delphi 10.3
    https://github.com/Elem8100/2D-SpaceShooter

    Download:
    https://github.com/Elem8100/2D-Space...aceShooter.rar



    Last edited by DraculaLin; 06-08-2020 at 11:23 PM.

  2. #2
    That looks very nice.

  3. #3
    Nice.

    I've taken a look to the sources and seems you're using OBJECTs mixed with CLASSes, and also RECORDs with class methods. Quite an odd way doing things.
    No signature provided yet.

  4. #4
    PGDCE Developer de_jean_7777's Avatar
    Join Date
    Nov 2006
    Location
    Bosnia and Herzegovina (Herzegovina)
    Posts
    281
    Quote Originally Posted by Ñuño Martínez View Post
    Nice.

    I've taken a look to the sources and seems you're using OBJECTs mixed with CLASSes, and also RECORDs with class methods. Quite an odd way doing things.
    I do this too in my code, depending on what I need. RECORDs when I want to save space or have lots of these objects, or global functionality that doesn't need any inheritance, OBJECTs when I want things on stack but that can have inheritance, to avoid unnecessary allocating memory for things, and CLASSes for general object oriented programming. All depends on what it does and if it needs to be instanced ever.
    Existence is pain

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comodo SSL