Jump to content

RHillFake

Members
  • Posts

    74
  • Joined

  • Last visited

Everything posted by RHillFake

  1. That is fun! It is best (IMO) to have at least one difficulty switch on. Now I know what it is like to be a magical flying poo stick.
  2. All the info I could find on PF0 says that it only does vertical borders. Is there a way to do horizontal?
  3. While the thing SpiceWare posted worked, with the game I have it makes it kind of unfair, so is their a way that I can make it were there are borders that you can't see outside the visible playfield.
  4. Traffic Stop! is now version 0.85! With this update, I added and fixed some things such as: both player's difficulties switch now work, the color/black and white switch makes the cars and health-bar black or white, cop-car now flashes red and blue, now you don't run into walls but rather slow you down like mud puddles, changed some levels, AND LAST BUT NOT LEAST 2 LEVELS HAVE AI! I'm pretty sure I missed some stuff but that's all the major changes. Thanks to everyone that helped me along with programming! Please leave some feedback and suggestions below! Thanks. RHillFake traffic_stop!_v0.85.bin
  5. Thanks, but your line only works as p1_orientation = rand/2 : p1_orientation=(p1_orientation/2 + p1_orientation)/16 + 1
  6. I found out that the score is affecting it. I had score=score-1 (6000-1) and when I changed the score to rand then it would affect the first 2 numbers and leave the 6000 in the four on the right. If I put score=score-1 and then score=rand beneath that it will work how I want it but the first two score numbers will randomly change while only the four on the right will be affected by the score=score-1. I will post source code later.
  7. In my code, I have an internal timer that when it runs out will gosub to what is supposed to be something that will change what direction player 2 is pointing and then reset the timer. The problem with my code is that the rand will only work once. The timer setup: dim Timer1=f.g dim Timer2=h.j Timer1=20 Timer2=1 main Timer1=Timer1-Timer2 if Timer1=2 then gosub randomgenerator:Timer1=20 The random selector: randomgenerator if rand<20 && rand>0 then p1_orientation=1 if rand<40 && rand>19 then p1_orientation=2 if rand<60 && rand>39 then p1_orientation=3 if rand<80 && rand>59 then p1_orientation=4 if rand<100 && rand>79 then p1_orientation=5 if rand<120 && rand>99 then p1_orientation=6 if rand<140 && rand>119 then p1_orientation=7 if rand<160 && rand>139 then p1_orientation=8 if rand<180 && rand>159 then p1_orientation=9 if rand<200 && rand>179 then p1_orientation=10 if rand<220 && rand>199 then p1_orientation=11 if rand<240 && rand>219 then p1_orientation=12 return Thanks!
  8. So there is no black and white command that will change it to black and white screen other than the changing of the sprite and playfield colors? Thanks for the help.
  9. How do I program in the black and white switch?
  10. Sorry, I always mean to but forget.
  11. I made a new game called Traffic Stop! with is v0.7 right now. Player one's goal (the cop) is to ram player's two's (the criminal) hot-rod 6 times in a certain amount of time. The time is kept by the score which is 6000 if player one's difficulty switch is B and 4500 if it is A. Player two must avoid player one until the time runs out to win. There is a map select with 4 maps (which I will make the maps better) in the beginning. I made this game in 7 days because I asked most of my questions before I started programming the game. Thanks to Bogax for helping with sprite tables and the timer, and SpiceWar for the left-to-right character change thing Please leave some feedback and suggestions below! Thanks. RHillFake EDIT: Forgot to upload the file traffic_stop!_v0.7.bin
  12. Thanks for all the help (sprite tables, gravity, this). I have no idea what I was doing wrong when inserting this into the code :\
  13. I like pizza. And video games.

    1. Show previous comments  6 more
    2. RHillFake

      RHillFake

      I am too actually. lol

    3. Iwantgames:)

      Iwantgames:)

      I like Doritos dipped in cheese with pizza and video games :) and sometimes with alil Jack & Coke :D

    4. Stephen

      Stephen

      I am having pizza for dinner, and the gf & I will be playing Lode Runner (Atari 8-bit version and YES - on real hardware)

  14. I still have no idea how to get this working in the code. Thanks for trying to explain. I am not very good at programming. Could you put it in the code I gave for an example?
  15. Can someone please help me fit this into my code and explain what it means? I have never worked with temps before. Thanks P.S. I had no idea there was a spiderman emoticon
  16. set tv ntsc set optimization noinlinedata dim lives_compact = 1 dim p0_orientation = c dim p1_orientation = z score=1000 intro01 playfield: ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ end z=0 gosub P0 gosub P1 player0height = 6 player1height = 6 intro01loop COLUBK = $08 COLUPF = $0E COLUP0 = $44 COLUP1 = $64 player0x=25 :player0y=50 player1x=125:player1y=50 if z>19 && switchselect then goto intro02 if joy0fire || joy1fire then goto GAMEPLAY drawscreen z=z+1 goto intro01loop intro02 playfield: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...............................X ...............................X ........X..............X.......X X.......X..............X.......X X.......X..............X.......X X.......X..............X.......X X.......X..............X........ X............................... X............................... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX end z=0 gosub P0 gosub P1 player0height = 6 player1height = 6 intro02loop COLUBK = $08 COLUPF = $0E COLUP0 = $44 COLUP1 = $64 player0x=25 :player0y=50 player1x=125:player1y=50 if z>9 && switchselect then goto intro01 if joy0fire || joy1fire then goto GAMEPLAY drawscreen z=z+1 goto intro02loop GAMEPLAY gosub P0 gosub P1 player0height = 6 p0_orientation = 0 player1height = 6 p1_orientation = 0 lifecolor=$64 lives=192 main lives: %00000000 %11111111 %11111111 %11111111 %11111111 %11111111 %11111111 %00000000 end if switchreset then reboot COLUP0 = $44 COLUP1 = $64 drawscreen score=score-1 if score<1 then goto P2WINS goto main P2WINS z=0 player1: %00111100 %01000010 %10000001 %10000001 %10000001 %10000001 %01000010 %00111100 end player0: %10000001 %01000010 %00100100 %00011000 %00011000 %00100100 %01000010 %10000001 end P2WINSLOOP drawscreen COLUP0 = $44 COLUP1 = $64 z=z+1 if z>20 && switchreset then reboot goto P2WINSLOOP P0 player0: %0000000 %1111100 %1111100 %0111000 %0111000 %0010000 %0010000 %0000100 %0011100 %1111100 %0111100 %0011100 %0001100 %0000100 %0001000 %0011000 %0111100 %1111100 %0111100 %0001110 %0000010 %0000000 %1100000 %1111000 %1111110 %1111000 %1100000 %0000000 %0000000 %1111111 %0111110 %0111100 %0011000 %0010000 %0000000 %0000011 %0011110 %1111110 %0111100 %0011000 %0001000 %0000000 %0001000 %0001000 %0011100 %0011100 %0111110 %0111110 %0000000 %0100000 %0110000 %0111000 %0111100 %0111110 %0111000 %0100000 %1000000 %1110000 %0111000 %0111110 %0111100 %0011000 %0010000 %0000000 %0000110 %0011110 %1111110 %0011110 %0000110 %0000000 %0010000 %0011000 %0111100 %0111110 %0111100 %1110000 %1000000 %0100000 %0111000 %0111110 %0111100 %0111000 %0110000 %0100000 end return P1 player1: %0000000 %1111100 %1111100 %0111000 %0111000 %0010000 %0010000 %0000100 %0011100 %1111100 %0111100 %0011100 %0001100 %0000100 %0001000 %0011000 %0111100 %1111100 %0111100 %0001110 %0000010 %0000000 %1100000 %1111000 %1111110 %1111000 %1100000 %0000000 %0000000 %1111111 %0111110 %0111100 %0011000 %0010000 %0000000 %0000011 %0011110 %1111110 %0111100 %0011000 %0001000 %0000000 %0001000 %0001000 %0011100 %0011100 %0111110 %0111110 %0000000 %0100000 %0110000 %0111000 %0111100 %0111110 %0111000 %0100000 %1000000 %1110000 %0111000 %0111110 %0111100 %0011000 %0010000 %0000000 %0000110 %0011110 %1111110 %0011110 %0000110 %0000000 %0010000 %0011000 %0111100 %0111110 %0111100 %1110000 %1000000 %0100000 %0111000 %0111110 %0111100 %0111000 %0110000 %0100000 end return inline 6lives.asm
  17. In my code, I have if score=0 then goto P1WINS, and earlier the score is equal to 3000 and subtracts by 1 in the main loop. When I start the game, instead of waiting for the score to equal zero, it starts off at the P1WINS unless I remove the if score=0 then goto P1WINS code. Thanks for the help.
  18. How do you make it so when your player goes left all the way, he doesn't come out several times before coming out the other side? If you don't know what I am talking about, I am talking about making a smooth transition from entering the left side of the screen and exiting on the right like in Space War. Thanks! Sorry, I couldn't think of a better way to write it
  19. Hello everyone! My Atari game, Rocket Pod, will be sold at Classic Gaming Expo in 6 days (September 12, 2014) I am super excited because this is my first game sold. It will be sold by Good Deal Games. I am disappointed in a way because I can not be there to see it, but that's life. You can see it and other games that will be sold here: http://www.cgexpo.com/merchandise.php Thanks.
  20. So, I recently made a port of a PC game I made for the Atari. I have more games I would like to port but the Atari isn't good enough. Does anyone know where I can download some stuff and some tutorials? Thanks.
  21. Is there anywhere were I can get information on how to make data tables for sprite rotation and learn how to implement them? Thanks!
×
×
  • Create New...