Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Bitmapped graphics tinkering
2012-05-23 13:37
Taskmaster
Account closed

Registered: May 2012
Posts: 12
Bitmapped graphics tinkering


I got my basic double buffer bitmap drawing routine working. Basically. It has some nasty flicker at the top because I haven't figured out the timing yet and something is happening in the wrong order.

BUT ... the victory here is that it actually functions on SOME level and that was my goal for now. :)

http://dl.dropbox.com/u/161473/C64/DoubleBuffer_A.avi

Next up : flicker elimination and rendering optimizations so I can get more happening on the screen than a single shape.
2012-05-23 16:34
Digger

Registered: Mar 2005
Posts: 421
Hmmm, so much rastertime to draw one bob? Something's not right here ;-)
2012-05-23 16:51
Taskmaster
Account closed

Registered: May 2012
Posts: 12
Oh, my code is terrible, no doubt. :) Part of the fun will be figuring out how to optimize it.
2012-05-23 21:21
PopMilo

Registered: Mar 2004
Posts: 145
Keep trying ;)
Soft sprites are one of rarely seen things on C64...

Nice music btw :)
2012-05-24 10:13
JAC

Registered: Aug 2002
Posts: 56
Regarding flickering I am fairly sure from the video that you show the buffer which is currently drawn to and not the previous one.
2012-05-24 10:20
Oswald

Registered: Apr 2002
Posts: 5017
best optimization would be to use the HW sprites aswell if possible. Try to peek into demo/game code on how to do fast SF ones. (tower power/camelot, access denied/reflex,arcanum/xenon pops to my mind).
2012-05-24 13:18
Taskmaster
Account closed

Registered: May 2012
Posts: 12
JAC

Holy hell, you're right. I also figured out why my clearing code isn't working ... it's using the data it gathered from the wrong frame.

Blargh!

Anyway, this is all fixable. Looking forward to the long weekend so I can get some decent coding time in. :)
2012-05-24 16:04
Peiselulli

Registered: Oct 2006
Posts: 81
Minestorm uses softsprites, if it runs out of hardware sprites ...


2012-05-25 10:48
Stone

Registered: Oct 2006
Posts: 168
I don't know what you're working on, but if you're doing a game I would suggest you have a look at the EasyFlash format. It's incredibly easy to develop for (emulated in VICE and 1541U-II) and since you have a whole megabyte at your disposal, there is so much territory to explore when it comes to pre-generated tables and speedcode and many other cool tricks.
2012-05-25 11:05
Skate

Registered: Jul 2003
Posts: 490
@Stein: are you an Atari scene spy or what? (usually Atari sceners support extended hardware usage y'know) :)

yes, EasyFlash is great, but don't you think it is a little bit misleading for beginners? let them learn the c64 way first. EasyFlash can be the next step if they like.
2012-05-25 11:58
Stone

Registered: Oct 2006
Posts: 168
Haha no I'm not a spy and I wouldn't normally suggest using extension hardware, but I think these days there are so many 1541U-IIs about that it makes sense, especially if you're doing a game. It's not much different from developing a "normal" cart, and they have been around since day 1, so I don't think it is "misleading for beginners" as you say.
 
... 5 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Frostbyte/Artline De..
Guests online: 122
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.06 sec.