Jump to content

Search the Community

Showing results for tags 'batari help'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Atari Systems
    • Atari General
    • Atari 2600
    • Atari 5200
    • Atari 7800
    • Atari Lynx
    • Atari Jaguar
    • Atari VCS
    • Dedicated Systems
    • Atari 8-Bit Computers
    • Atari ST/TT/Falcon Computers
  • Classic Consoles
  • Classic Computing
  • Modern Consoles
  • Gaming General
  • Marketplace
  • Community
  • Community
  • Game Programming
  • Site
  • PC Gaming
  • The Club of Clubs's Discussion
  • I Hate Sauron's Topics
  • 1088 XEL/XLD Owners and Builders's Topics
  • Atari BBS Gurus's Community Chat
  • Atari BBS Gurus's BBS Callers
  • Atari BBS Gurus's BBS SysOps
  • Atari BBS Gurus's Resources
  • Atari Lynx Programmer Club's CC65
  • Atari Lynx Programmer Club's ASM
  • Atari Lynx Programmer Club's Lynx Programming
  • Atari Lynx Programmer Club's Music/Sound
  • Atari Lynx Programmer Club's Graphics
  • The Official AtariAge Shitpost Club's Shitty meme repository
  • The Official AtariAge Shitpost Club's Read this before you enter too deep
  • Arcade Gaming's Discussion
  • Tesla's Vehicles
  • Tesla's Solar
  • Tesla's PowerWall
  • Tesla's General
  • Harmony/Melody's CDFJ
  • Harmony/Melody's DPC+
  • Harmony/Melody's BUS
  • Harmony/Melody's General
  • ZeroPage Homebrew's Discussion
  • Furry Club's Chat/RP
  • PSPMinis.com's General PSP Minis Discussion and Questions
  • PSPMinis.com's Reviews
  • Atari Lynx 30th Birthday's 30th Birthday Programming Competition Games
  • 3D Printing Club's Chat
  • Drivers' Club's Members' Vehicles
  • Drivers' Club's Drives & Events
  • Drivers' Club's Wrenching
  • Drivers' Club's Found in the Wild
  • Drivers' Club's General Discussion
  • Dirtarians's General Discussion
  • Dirtarians's Members' Rigs
  • Dirtarians's Trail Runs & Reports
  • Dirtarians's Wrenching
  • The Green Herb's Discussions
  • Robin Gravel's new blog's My blog
  • Robin Gravel's new blog's Games released
  • Atari Video Club's Harmony Games
  • Atari Video Club's The Atari Gamer
  • Atari Video Club's Video Game Summit
  • Atari Video Club's Discsuuions
  • Star Wars - The Original Trilogy's Star Wars Talk
  • PlusCart User's Bug reports
  • PlusCart User's Discussion
  • DMGD Club's Incoming!
  • DASM's General
  • AtariVox's Topics
  • Gran Turismo's Gran Turismo
  • Gran Turismo's Misc.
  • Gran Turismo's Announcements
  • The Food Club's Food
  • The Food Club's Drinks
  • The Food Club's Read me first!
  • The (Not So) Official Arcade Archives Club's Rules (READ FIRST)
  • The (Not So) Official Arcade Archives Club's Feedback
  • The (Not So) Official Arcade Archives Club's Rumor Mill
  • The (Not So) Official Arcade Archives Club's Coming Soon
  • The (Not So) Official Arcade Archives Club's General Talk
  • The (Not So) Official Arcade Archives Club's High Score Arena
  • Adelaide South Australia Atari Chat's General Chat & Welcome
  • Adelaide South Australia Atari Chat's Meets
  • Adelaide South Australia Atari Chat's Trades & Swaps
  • KC-ACE Reboot's KC-ACE Reboot Forum
  • The Official Lost Gaming Club's Lost Gaming
  • The Official Lost Gaming Club's Undumped Games
  • The Official Lost Gaming Club's Tip Of My Tounge
  • The Official Lost Gaming Club's Lost Gaming Vault
  • The Official Lost Gaming Club's Club Info
  • GIMP Users's Discussion
  • The Homebrew Discussion's Topics

Blogs

There are no results to display.

There are no results to display.

Calendars

  • AtariAge Calendar
  • The Club of Clubs's Events
  • Atari BBS Gurus's Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website


Facebook


Twitter


Instagram


YouTube


eBay


GitHub


Custom Status


Location


Interests


Currently Playing


Playing Next

Found 2 results

  1. So I was working on my first Atari 2600 game witch is a maze game and I ran into a few problems. A major problem is I can not get the walls to work! I know that you have to do if collision(player1, playfield) then goto player1HitWall I need the same thing player 0 then later in the code i have this player0HitWall a = e b = f player0x =player0x -1 player0y =player0y +1 goto main how ever this code is not very good can some one please help me find a better code because this is just make the player fly across the screen. Also i need the ball (the item you get to give you points) to go to all the corners of the screen and then the center of the maze. and i also need there to be more than one enemy and i want them to have a certain path they take ill post the code here: rem jungle jam code START a = 75 b = 00 c = 75 d = 25 z = 0 p = 0 player0x = 75 player0y = 40 player1x = 75 player1y = 80 ballx =50 bally =40 COLUP0 = $60 COLUBK = $16 NUSIZ0 = $60 end main f=f+1 rem sprites if f = 10 then player0: %00111100 %00011000 %00011000 %01100110 %01011010 %00111100 %00011000 %00011000 end if f = 10 then player1: %01100110 %00100100 %00011000 %10111101 %01000010 %01100110 %00111100 %00011000 end playfield: XXXXXXXXXXX..XXXXX..XXXXXXXXXXX X....X.........X.........X....X X....X....X.........X....X....X XX...XX...XXXXXXXXXXX...XX...XX X.........X.........X.........X XX.XXXX...XXX.....XXX...XXXX.XX X....X.....X.......X.....X....X XX.............X.............XX X....XX..X.....X.....X..XX....X X....X...................X....X XXXXXXXXXXX..XXXXX..XXXXXXXXXXX end COLUP1 = $02 COLUP0 = $80 COLUPF = $11 if f=10 then f=0 if joy0right then REFP0 = 0 if joy0left then REFP0 = 8 drawscreen if player1y < player0y then player1y = player1y + 1 if player1y > player0y then player1y = player1y - 1 if player1x < player0x then player1x = player1x + 1 if player1x > player0x then player1x = player1x - 1 if collision(ball, player0) then goto gold if switchreset then goto START if joy0right then player0x = player0x + 1 if joy0left then player0x = player0x - 1 if joy0up then player0y = player0y - 1 if joy0down then player0y = player0y + 1 if player1y < player0y then player1y = player1y + 1 if collision(player0, playfield) then goto player0HitWall if collision(player1, playfield) then goto player1HitWall if collision(player1, player0) then goto ouch if player0y < 30 then goto player0HitWall if player1y > 66 then goto player1HitWall goto main rem this is were the wall trouble is. player0HitWall a = e b = f player0x =player0x -1 player0y =player0y +1 goto main player1HitWall c = g d = h player1x =player1x -1 player1y =player1y +1 goto main rem this is were the ball trouble is gold if score = 0 then score = score + 10 bally = bally + 0 goto main if score = 20 then ballx = ballx + 30 score = score + 10 if score = 30 then bally = bally +35 else goto main if score = 30 then ballx = ballx +10 else goto main if score = 50 goto win else goto main ouch end win rem ***************************************************** rem * Music Starter using sdata rem * Based on code posted in the Ballblazer thread at AtariAge: rem * http://www.atariage.com/forums/index.php?s=&showtopic=130990&view=findpost&p=1615280 rem * Code adapted by Duane Alan Hahn (Random Terrain) rem * Code further modified by Kirk Israel rem * Explanation: rem * The 256-byte limitation is removed when using sdata. rem * You can fill a whole 4k bank with music if you want. rem ***************************************************** set smartbranching on rem ***************************************************** rem * Create aliases for variables rem ***************************************************** dim duration=a dim datareader1=x ; just a reminder dim datareader2=y ; just a reminder rem * Volume off AUDV0=0 AUDV1=0 rem * Initialize duration and set up music duration = 1 goto MusicSetup rem ***************************************************** rem * Main game loop starts here. rem ***************************************************** MainLoop goto GetMusic GotMusic drawscreen goto MainLoop rem ***************************************************** rem * Music rem ***************************************************** GetMusic rem * Check for end of current note duration = duration - 1 if duration>0 then GotMusic rem * Retrieve channel 0 data temp4 = sread(musicData) temp5 = sread(musicData) temp6 = sread(musicData) rem * Check for end of data if temp4=255 then duration = 1 : goto MusicSetup rem * Play channel 0 AUDV0 = temp4 AUDC0 = temp5 AUDF0 = temp6 rem * Set duration duration = sread(musicData) goto GotMusic rem ***************************************************** rem * Music Data Block rem ***************************************************** rem * Format: rem * v,c,f (channel 0) rem * d rem * rem * Explanation: rem * v - volume (0 to 15) rem * c - control [a.k.a. tone, voice, and distortion] (0 to 15) rem * f - frequency (0 to 31) rem * d - duration MusicSetup sdata musicData = x 0, 0, 0, 24, 8, 12, 29, 22, 0, 0, 0, 48, 8, 12, 26, 2, 255 end goto GotMusic
  2. So I'm tinkering with batari for the first time, and have gotten past the ENORMOUS headache of compiling issues to actually be able to make some neat little things. one of my sprites i.e. the player is even animated and looks awesome. I've got a second sprite however, that is making me go crazy. I am 100% new to coding in general, but this is something that I really want to successfully accomplish. Anyway.. the whole thing I want the main player to be able to do is chase mice and "munch" on them to earn as many points as possible before a timer runs out(I'll figure that out later) So far I've gotten my cat to be able to move everywhere flawlessly. the mouse just shows up right now and is chilling out. my question: How can I make it so that when the cat comes in contact with the mouse the player gets their points/ How can I get the mouse to "run away" from the cat and re-spawn when "eaten"? Forgive me for being a complete noob, but I'm at the point where I'm completely stuck, and google has run out of answers. The attached file is what I've come up with so far. Thanks!!!default.bas
×
×
  • Create New...