Shop OBEX P1 Docs P2 Docs Learn Events
New game basic demo!! — Parallax Forums

New game basic demo!!

RavenkallenRavenkallen Posts: 1,057
edited 2011-02-27 12:25 in Propeller 1
Well, i have been working on a game that uses OBC's retrotext object. It is called SpaceACE! and this is just a basic demo of the functionality and is NOT finished yet. The full version will have better graphics/audio and boss battles. You will need a keyboard using on pins 26 and 27 and a TV starting on pin 12.
Controls:
Arrows: move up, down, left, right
Spacebar: Fire guns
You can only fire three bullets a time for now. If you crash your ship into the enemies, you will blow up.

Any suggestion are appreciated. If anybody wants to make a catchy background tune that would also be helpful. Well, tell what you think:)

Comments

  • HumanoidoHumanoido Posts: 5,770
    edited 2011-02-26 00:45
    What must I do to make it run on a propeller demo board? I just get a blank screen.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-02-26 07:08
    Runs on a demoboard here.

    Nice job!! Looking forward to seeing another finished game. :)

    OBC
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-02-26 08:23
    Ravenkallen,
    Cool, it's working - I had to adjust the screen on the small tv and then the two objects appeared.
    I look forward to seeing more bells and whistles. Keep up the good work!
    Sometimes the spacecraft leaves the screen and not sure how to get it back. It must be in hyperwarp. :)
    I also want the Tie Fighter to blow up when I hit it. :)
  • RavenkallenRavenkallen Posts: 1,057
    edited 2011-02-26 09:49
    Thanks guys.....
    @Humanoido...Uh, i also thought that the retrotext would stop the sprite from leaving the screen, but i guess it didn't. Your craft is supposed to blow up when you hit it! It does on mine. It's not a really graphic explosion, but it should work?... come to think of it, it does kinda look like a Tie fighter:)
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-02-27 05:14
    Ravenkallen, my guess is the difference in appearance is a result of the disparity of the TV monitors. I'm using a Parallax 3.5-inch 240x320 pixel screen TV where things look like a tiny grain of salt. When you wrote the program, how many pixels did you work with? Objects may look different on your big screen TV! The Tie Fighter game is my favorite from the original Star Wars. So everything I see looks like a Tie Fighter. :)
  • RavenkallenRavenkallen Posts: 1,057
    edited 2011-02-27 08:37
    Mine is not much bigger. Its only 7 inches and i have noticed a similar problem... I will have to fix it
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-02-27 09:00
    It's an easy fix.. Just start using more than 1 character for your "sprite". Say, a 4x4 square.

    Then when you need to move the group of characters, just do something like this..
    (I think I'm doing this right, it's from memory.)
    PUB DRAWENEMY(X,Y)
    
      ''AB
      ''CD
    
        text.drawtextat(x,y, string("a")) 
        text.drawtextat(x+1,y, string("b")) 
        text.drawtextat(x,y+1, string("c")) 
        text.drawtextat(x+1,y+1, string("d")) 
    
    
  • RavenkallenRavenkallen Posts: 1,057
    edited 2011-02-27 12:19
    @OBC... cool, i was planning on making a better looking sprite anyway... I have one question, is it possible to make a sprite have multiple colors by rapidly alternating between different colors beyond the human persistence of vision? Like could you have a 8X8 square that has both red and blue? Or is there a easier way to do it?
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-02-27 12:25
    How about replacing your single color/character text driver with a four color version?

    http://www.savagecircuits.com/forums/showthread.php?74-Introduction-to-the-Propeller-with-ORE-(unfinished-preview-chapter-1)

    Or you could do what I'm doing, and jump over to VGA.

    http://www.savagecircuits.com/forums/showthread.php?529-VGA-Spyhunter-test-using-Tile-Driver

    OBC
Sign In or Register to comment.