Questions, questions...
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Ruby

I'm kinda newbie, so please be patient with me. ^.^

1. I drew a few sprites, now I want to make them into chr files. I already tried to save them as pcx files, then use the chrmak utility, but it returned a complete crap... The sprites are in 8-bit format, even though I didn't use more than 10 colors for them. ^.^ I'd say the problem was because the palettes didn't match the map's palette, but they became also really... broken. Right leg is over the head, eyes in the arms... O.o Can anyone help me out with this semi-horror?

2. My second question is not this horroristic. ^.^ To easily define some values for the stats like max. HP in a specific level, I created arrays for every hero like this:
int MashaLMP[98];
After that, I created a for loop to calculate the correct value every level. I did separate arrays and loops for exp, hp and mp. The code compiled perfectly, but verge said "ReadInt: bad offset to globalint".
The only way to get it work was to set the last array for the last loop to 99 elements instead of 98. The loop stops by 98, and the other loops just work fine, so I'm absolutely confused now. X.X

~Ruby



Posted on 2000-12-28 20:21:42

Allan

Uh huh...
1. Are you sure you are using the right format? Proper borders and each frame the same size? Check that your .mak file is working a-okay too. And for future convenience I suggest using one of the CHR editors out there [probably availible at the Verge Source. Link left.] to by pass this. Although they aren't as well featured as say Paint Shop Pro they are still pretty damn good.

2. Erm...I'm not really sure what you are saying here. Maybe you should post part of your code or something... Since you had to increment an array by 1 maybe you forgot that arrays start at 0. So if you initalize an array as int Lala[10] then your possible elements will be Lala[0] to Lala[9]. At least, I think thats how it works...been awhile since I actually did stuff.



Companions the creator seeks, not corpses, not herds and believers. Fellow creators the creator seeks--those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest.

Posted on 2000-12-28 20:50:05

el_desconocido

For 8 bit .chrs, make sure you 'reduce colors to 256' in your .pcx before you save it. May be better to make, then apply a verge palette.

Your array prob may be because to declare:
int apples[50];
defines 50 ints, apples[0] through apples[49].
If you want to use apples[50], you must declare 51 or more members.



-Pontifex
"How many rocks are there, in the whole world?"

Posted on 2000-12-28 20:52:05

Ruby

1. I used a special program, Tile Studio for creating the frames, so they are all the same size. Then exported and converted to 8-bit pcx. But now I'm sure the palette was wrong... (I wonder where I'll get a proper verge palette from?) I'm not sure if I used the borders properly... 1px wide around the whole image and 1px wide between the frames? I used black for them, is that all right?
I already tried those CHR editors (all of them ^.^), but they don't like my mouse, so I can't use them. T.T

2. You're right, I forgot that... Waii, I'm a newbie. ^.^" But I wonder why did the other loops work without any error messages?

~Ruby



Posted on 2000-12-28 21:37:28

el_desconocido

If you have a copy of console.gif (found in nearly all demos/templates) it uses the standard verge palette.
If you need to, you can resize console.gif, and 'save as', then paste your frames into that. Use 1 pixel border, and 1 pixel between frames.



-Pontifex
"How many rocks are there, in the whole world?"

Posted on 2000-12-28 22:44:11

Ruby





Posted on 2000-12-29 16:05:26


Displaying 1-6 of 6 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.