Can anyone help with sprite display on c64?

  • Thread starter Thread starter Magnox
  • Start date Start date
  • Replies Replies 5
  • Views Views 2901

Magnox

New member
AmiBayer
Joined
Oct 20, 2013
Posts
97
Country
United Kingdom
Region
North East Lincolnshire
Just wondered if anyone could give me some assistance in getting a sprite to render :)

I have never done anything with sprites in c64 basic and am trying to get my head around the general idea of displaying them.

I have used a program called CSM to generate the sprite data info for a basic mario sprite.

I am trying to get it to display using some other examples of basic sprite code but have had no joy in getting it to display on vice 64 so far.

The data information is this:

50000 REM SPRITE: 0
50010 REM COLOUR: 2, MC0: 9, MC1: 8, SIZE: Double Hight
50020 DATA 0,0,0,2,170,0,10,170,160,5,125,192,29,253,252,29
50030 DATA 127,127,23,253,84,3,255,240,5,149,0,21,150,84,85,170
50040 DATA 85,246,235,159,254,170,191,250,130,175,10,130,160,21,0,84
50050 DATA 85,0,85,0,0,0,0,0,0,0,0,0,0,0,0,0

would anyone be able to give me an idea of the code needed to initially just display the sprite on the c64 with no movement in basic?

I never got beyond text adventures and very basic programs before so do appreciate any help any of you can provide :D
 
If I may be of service, I can help with platform game movement, physics and collisions when you get to that stage.

(Not that you need it, but I am very experienced)

I presume that the C64 is finally going to get a version of Super Mario Bros!

Is this true?

I always thought it might work by making up jump, and the fire button for speed/fire ball
 
If I may be of service, I can help with platform game movement, physics and collisions when you get to that stage.

I presume that the C64 is finally going to get a version of Super Mario Bros!

Is this true?

I always thought it might work by making up jump, and the fire button for speed/fire ball

Thanks Nick :D May just take you up on that if I get really stuck! ;)

Not to step on Nintendo's intellectual property but I was curious how the original Mario sprite design would translate to the C64.

I guess Giana Sisters have already given the c64 its "mario" fix, but I am interested in a little platformer project, got a lot of learning to do tho :lol:
 
Not to step on Nintendo's intellectual property but I was curious how the original Mario sprite design would translate to the C64.

I don't mind being sued by Nintendo :) Actually, that sounds kinda cool! In fact, I reckon there should be a badge for it on StackOverflow.

Was sued by giant corporation
You earned this badge by being taken to court by Nintendo, Microsoft, Google or similar. Well done!
 
Back
Top Bottom