Solved The minimum for a character to be displayed

Question that is answered or resolved.

Adroiid

New member
Hello, I'm new to OpenBor. I'd like to know the minimum requirements for displaying a character in the background.

I've looked at the wiki, but I can't find this information. I created a character sprite with a limited palette using the pixel art software AsEsprite:

with 1 inactive frame, 2 punches of two frames each, and an 8-frame walking animation.

1 idle01.gif 2 RollerGirlBEU13O2d.gif

1: (idle01.gif) 2: (a gif test of sprite on background)

I just wanted to start a project by displaying only iddle01.gif for all actions (on a blank background), but even with this minimal project, the OpenBor window opens and closes.

I also looked at the blank template provided by Bloodbane, from which I was able to remove the enemy waves, for example. So some modifications work. However, Donovan's sprite is already a bit too advanced for me. I managed to replace it with the one of the girl accompanying him, but it required modifying all the existing sprites (I asked the GPT Chat to do it). If you have any solutions for a very minimalist project, for example, and if I can at least see my sprite displayed, that would really encourage me to continue and create other animations (I also created a background (2) and think for parralax).

Thanks in advance
 
Last edited:
Hello.

I might need to check but the minimum animations for a playable character are IDLE and basic reaction animations i.e PAIN, FALL dan RISE. Does your character have those animations?



What did the error message say in OpenBorLog.txt?
Hello, Thank you so much for your answer

this is my "rollergirl.txt" : (all actions animations goes to the same pic idle01.gif : frame data/chars/rollergirl/idle01.gif)
***
name RollerGirl
type player
health 100
speed 5
gfxshadow 1

anim spawn
loop 0
offset 16 28
bbox 0 0 32 32
delay 10
frame data/chars/rollergirl/idle01.gif

anim idle
loop 1
delay 7
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim walk
loop 1
delay 7
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim fall
loop 0
delay 5
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim rise
loop 0
delay 5
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim pain
loop 0
delay 5
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim attack1
loop 0
delay 4
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim jump
loop 0
delay 5
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim jumpattack
loop 0
delay 5
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim get
loop 0
delay 5
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif

anim run
loop 1
delay 5
bbox 0 0 32 32
frame data/chars/rollergirl/idle01.gif
***

And in the OpenBorLog.txt the error message is :
********** An Error Occurred **********
* Shutting Down *
load_levelorder ERROR in data/levels.txt at 1, msg: No levels were loaded!


My stage1.txt :
settime 0
music none
background data/bgs/black.png
panel data/bgs/black.png
coords 0 0 320 240
 
The minimum is a name, type, positive hitpoints and an idle animation. That's it and all.

DC
Thank you DC,
as Bloobane told me, I looked at the OpenBorLog, given the error message it looks like a problem loading the level . I declared a lot of animations but they all point to the same image. I wanted to do this to add the animations as I go along.
 
Back
Top Bottom