Jump to content
IGNORED

Help an artist animate a double sprite


Recommended Posts

Hey guys, I am not a programmer by any means.I was experimenting with visual bb and decided to make a sprite using both player sprites. I am now wondering if anyone would be willing to show me a code where I can combine both sprites as one. My first goal is to combine both sprites and then hopefully add some code so I can design a walk cycle. Anyone willing to share an animated double sprite code to an artist?I just wanna create art, I wish I understand programming. I provided art example below, I'm sure it will be nice to see if someone was willing to help out. My next step is walk cycle if someone can help with the code.

 

I've seen this code for flicking, but I am not sure how to use it or write it in a code for my character. Assuming flicker is best. My understanding is, it allows you to use one player sprite instead of two?


frame1
   player0x = x
   gosub ShowLeftSide
   goto frame2

frame2
   player0x = x + 8
   gosub ShowRightSide
   goto frame1

 

 

Art

 player0:
 %01011010
 %00110100
 %00101000
 %00110000
 %00011000
 %00110000
 %00110000
 %00110000
 %01010000
 %11100000
 %01000000
 %00000000
 %10101010
 %11111111
 %00000001
 %10110110
 %01011000
 %01010000
 %01100000
 %11000000
 %10000000
 %10000000
 %11100000
 %10000000




 player0:
 %10110000
 %01011000
 %00111000
 %00011000
 %00110000
 %00011000
 %00011000
 %00010100
 %00001100
 %00001110
 %00110111
 %01001011
 %01010000
 %01101111
 %01011111
 %01011000
 %01011101
 %01011101
 %01011011
 %01100110
 %00111001
 %00000011
 %00000011
 %00000001
Edited by WizardBone
Link to comment
Share on other sites

I can help you learn to write code. It's fun and easy. For instance, the code above seems like it doesn't need the second label (Frame 2) because the code will run to the next line with or without the label. Maybe later you would add drawscreen to paint the picture for each frame and this would use that extra label. When I draw two sprites at once to make one big sprite with two color definitions I have two instances of drawscreen happening. If you do this with both sprites then you can have two sprites made of two sprites each. I think of 'tiles' like what sixteen bit programming would use and this is basically a caveman way to get two color coded tiles at once. Once you are drawing many sprites like this it gets all flickery and messy.

 

My style of coding revolves around controlling timers and counters with variables. I am an artist first and a mathematical programmer second. I am not interested in using sine code to make mathematical fruitiness happen magically in 2k! I use up space, bankswitch, and aim for the TOP. In cartridge creation the fattest, easiest chunk to make Atari VCS games in is 32k with the standard kernel (VisualBatariBasic, I'm not ready to help out VWBasic users, YET!). People pass around ideas about makeshift 256k carts and stuff. That is cute but probably expensive. If you want to make a game with the DPC+ kernel you will have more options but the cart will be more costly as it uses an ARM processor. You don't have to bankswitch and the game would then be very small.

 

I program my own games all the time, too (Sega, Atari, PC, etc..). So, just 'handling' all the code for someone else is probably not possible for me.

 

I wouldn't mind conversing via PM where I could give backup BASIC code from projects I've worked on to look over. There is a wealth of knowledge right here, though. The funnest and easiest way to do music, for instance, I learned right here on the forum. The DPC+ startup that RT made (after you get the jist of programming) is like a little assembly line (pun intended) for popping out games!

Link to comment
Share on other sites

  • 3 months later...

The funnest and easiest way to do music, for instance, I learned right here on the forum.

 

I've been looking for info on music- can you please elaborate? I've found the sound maker webpage that plays sound and generates code snippets. I also tried to get VBB running, but havent figured out how to make something and then be able to play it back. Basically, looking for code that had two channels where I can do the (4) pure sounds in one and the (12) Lower Pure in the other. I can then experiment, but would like to be able to change values for note, length, volume, and how to leave spaces. If I could figure out the code part, I could assemble it and play back in an emulator.

Link to comment
Share on other sites

I've been looking for info on music- can you please elaborate? I've found the sound maker webpage that plays sound and generates code snippets. I also tried to get VBB running, but havent figured out how to make something and then be able to play it back. Basically, looking for code that had two channels where I can do the (4) pure sounds in one and the (12) Lower Pure in the other. I can then experiment, but would like to be able to change values for note, length, volume, and how to leave spaces. If I could figure out the code part, I could assemble it and play back in an emulator.

 

Have you looked at TIA Tracker? - http://atariage.com/forums/topic/250014-tiatracker-a-new-sound-routine-and-sequencer-application/

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...