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 > Converting to sprites
2009-07-02 04:33
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Converting to sprites

Ok, so i have run into a problem.. hehe

I have 52 bmp pics, which are each the size of 2x2 C64 sprites.

So there's room for them all in 1 VIC bank..
Now problem is to convert them..

I tried Gang-Ed, but it only imports bmp as hires/mcol bitmap/char, and blows up the small image to fullscreen!

So i saved all the frames as a koala pr pic.. hahaha

Now i am stuck with 52 koala pics, that need to be transformed into 4 sprites each, bwahaha..

This is really silly..

What i really need is:

1) convert the 48x48 pixel bmp to 4 colors
2) convert this to 4 sprites

Is there an editor, where i can load bmp/gif into a sprite editor ? they have correct size, just need to be fixed to 4 cols.. which i can do with a batchconvert in thumbs plus (reduce nr of colors)

??

Thanks for any help!
 
... 60 posts hidden. Click here to view all posts....
 
2013-01-24 14:40
Pantaloon

Registered: Aug 2003
Posts: 124
That so 1990 to use make or ant :) I have my own build system that works like a charm. Only supported on Windows tho but i'm totally stuck to this platform :) Basically it's a visual basic script (where the wm is available on all windows os's since 1995) and is alot more powerfult hen batch files.

I can simply define dependencies like this

addSourceFile "Source/Fx/Staircase/Staircase.s", "Source/DemoSystem.s, Source/SomeStuff.s", "10.FAIRLIGHT", -1

I can add any file with dependancies to anything, like out of date.

It compiles/links and builds disk image(s) and outputs hashtables of all sectors/tracks so it can be used in lookupfunctions in kickasm. (useful when you actually use t/s for laoding).

It uses a 2 pass build so any changes can be detected in the second pass aswell.

The idea is that if i want something to build differently i can easily just script it, instead of relying on how ANT/Makefiles treat dependancies.

But i do agree, a make system is never bad :)

2013-01-24 18:58
Radiant

Registered: Sep 2004
Posts: 639
Declarative build systems have their definite drawbacks, yes - I can't even begin to count all the ugly hacks I've had to do when using Ant and Make and their completely dependency based flow. Ultimately I think Make in particular works very well for C64 development though, especially when coupled with a Unix-y toolchain such as cc65.

If you're into fancy-schmancy modern build systems do have a look at Gradle, CMake and Maven apart from Ant; you might find one of them more to your liking.
2013-01-24 19:28
Burglar

Registered: Dec 2004
Posts: 1047
Quoting Groepaz
Quote:
gimme a few days to write the tutorial guys, but here are the simple most important rules:

hihi. this kind of "example" is what scares people away from makefiles IMHO

Yea, sorry about that, but I wanted to counter the super scary and complicated Makefile Frantic posted ;)

Quoting Groepaz

target: ingredience
commands

and thats what it is exactly. but, like I said, I'll write a tutorial.
weekend just started, so it should be done before monday ;)
2013-01-24 20:58
Frantic

Registered: Mar 2003
Posts: 1629
Well.. hehe.. The point with posting my makefile wasn't to serve as an introductory example really, as I did in fact write. That was what Burglar was supposed to come up with. :)

Sorry to scare you guys. Didn't know you were such tame lamers. ;)
2013-01-25 10:05
Bitbreaker

Registered: Oct 2002
Posts: 501
This adds well to what Frantic said :-P

http://www.youtube.com/watch?v=0oRX1t0Crek
2013-01-25 21:27
Magnar

Registered: Aug 2009
Posts: 60
Burglar made a new forum thread with makefiles etc in mind. So, please close discussion about that in this converting to sprite thread. :)

Cheers all, and again thnx for all inputs! been splendid reading
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - 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
Wayne/Art Ravers
csabanw
Guests online: 119
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 50 Years of Flex  (9.7)
5 Coma Light 13  (9.7)
6 Edge of Disgrace  (9.6)
7 Comaland 100%  (9.6)
8 Uncensored  (9.6)
9 No Bounds  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.7)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Performers  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 S!R  (9.7)
5 Faayd  (9.7)

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