sprite issue

  • Thread starter Thread starter wintersun
  • Start date Start date
W

wintersun

Guest
the colors of my sprites are coming out incorrect...

P.S. I really didn't want to post this but someone insisted :-\



[attachment deleted by admin]
 
list of everything i did:

1.opened sprite sheet with gimp
2.selected indexed on image and converted
3.opened colormap placed background color in first slot
4.saved as name.png
 
does the sprite sheet i indexed have to be in the same folder as the sprites being converted with palapply?
The sprite sheet I indexed doesn't have to be in the same folder as sprites. I convert all of them but I remove the ones I don't need.

3.opened colormap placed background color in first slot

Did you swap colors in placement?

I explained to you about video.txt in PM. I think by looking at the image, I forgot to mention about using video.txt for colors in the tutorial. You can copy this if you have renamed a txt file to video.txt (after creating new txt file).

Code:
######################### Video Modes #############################
#
# Syntax: video [value]
#
# [value]:  0 = 320x240
#
#           1 = 480x272
#
#           2 = 640x480
#
#           3 = 720x480
#
#           4 = 800x480
#
#           5 = 800x600
#
#           6 = 960x540
#
###################################################################

video 0

######################### Colour Depth ############################
#
# Syntax: colourdepth [value]
#
# [value]:  8bit
#
#           16bit
#
#           32bit
#
###################################################################

colourdepth 32bit

############################ Scenes ###############################
#
# Syntax: scenes [path]
#
# [path]:   data/8_char_limit_and_must_end_with_Slash/
#
# Supported Scenes: gameover.txt, logo.txt, intro.txt, howto.txt
#
###################################################################


########################## Backgrounds ############################
#
# Syntax: backgrounds [path]
#
# [path]:   data/8_char_limit_and_must_end_with_Slash/ 
#
# Supported Backgrounds: title, titleb, logo, select, unlockbg, hiscore
#
###################################################################


########################## Level Order ############################
#
# Syntax: levels [filename]
#
# [filename]:   levels2.txt 
#
# Usage: File to load up levelorder instead of default levels.txt
#
###################################################################


########################## Model List #############################
#
# Syntax: models [filename]
#
# [filename]:   models2.txt 
#
# Usage: File to load up model list instead of default models.txt
#
###################################################################
 
ok i made a new video.txt file in notepad and pasted what you have posted..do i place this in the characters folder?
 
Code: [Select]

video 0
colourdepth 16bit

i pasted this in the video.txt file i created and placed the video.txt file in the data folder.When i tried to run the game it crashed.
 
Because there is no atchain used in the character header so in default BOR, usually there's only attack1, attack2, and attack3. Without atchain when there's only attack1, it crashes while hitting multiple times. So how it works when there's only attack IF there is anim attack1, you can go to the character header and type in atchain 1.

Example:
name Sonia
type player
health  100
gfxshadow 1
speed  10
icon    data/chars/sonia/icon.png
atchain 1
running 19 4 2 1 1
holdblock 1
 
Back
Top Bottom