プレイ日記
Jackson JacboyX
I need some help with the XSCREEN 3 bit.
4そうだね
プレイ済み
返信[1]
親投稿
*J.P.* DEV NEWPICY3
hmm what seems to be the problem with it?
0そうだね
プレイ済み
返信[2]
親投稿
Jackson JacboyX
Every time I try to XSCREEN that screen it says an error about the background.
0そうだね
プレイ済み
返信[3]
親投稿
Bobert fluffy8959
XSCREEN has other parameters, if you are trying to display all four backgrounds on the top screen then use XSCREEN 3,512,4
0そうだね
プレイ済み
返信[4]
親投稿
Jackson JacboyX
Thanks! Works like a charm. Now I need to make the character move along the x-axis, since this is a 2D platformer. And I need to animate the front background layer as the character is moving.
0そうだね
プレイ済み
返信[5]
親投稿
Levi LeviJS
you might wanna use bgofs then to move the background rather than animate it. example bx=0:by=0 while 1 b=button() if b and #right then inc bx if b and #left then dec bx bgofs 0,bx,by:bgofs 1,bx,by bgofs 2,bx,by:bgofs 3,bx,by vsync wend
0そうだね
プレイ済み
返信[6]
親投稿
Jackson JacboyX
Sounds good. And I need to have the character animated. Nothing's working though...
0そうだね
プレイ済み
返信[7]
親投稿
*J.P.* DEV NEWPICY3
ah, i can help with that. let me try to make a small demo for you on that. also idk if you know how to use the circle pad, so if not then i can easily teach you or give you my demo on using it. but if you do know, ignore that. depending on the game you most likely need bgcollision for blocks that stop/help the player. (again if you know this ignore) this is simple-ish to do. so just ask away..
0そうだね
プレイ済み
返信[8]
親投稿
Jackson JacboyX
I do need some help on those bits.
0そうだね
プレイ済み
返信[9]
親投稿
Jackson JacboyX
Here's the programming I have so far.
0そうだね
プレイ済み
返信[10]
親投稿
Bobert fluffy8959
In my opinion, I'd use SPCHR. It's more straight forward and a lot easier than SPANIM. It accepts the same parameters as SPSET, for example SPANIM 0,32,64,24,16 (I have no idea if that works or what sprite it changes to, I'm trying to do this without my 3DS).
0そうだね
プレイ済み
返信[11]
親投稿
Jackson JacboyX
@∞D©IPHER∞ How's that demo coming along?
0そうだね
プレイ済み
返信[12]
親投稿
Levi LeviJS
this code works to animate the sprite and scroll the background
0そうだね
プレイ済み
返信[13]
親投稿
Jackson JacboyX
I can't see the piece behind the 3D symbol.
0そうだね
プレイ済み
返信[14]
親投稿
Levi LeviJS
oh justa bg tile. 99 i think
0そうだね
プレイ済み
返信[15]
親投稿
viper kayode2
jackson when your done can I have the key
0そうだね
プレイ済み
返信[16]
親投稿
Jackson JacboyX
Sweet stuff, Levi. Now how do you prepose to automatic movement? And jumping? BTW replaced DEC & INC with +2 and -2 cause the sprite looks like he moves fast.
0そうだね
プレイ済み
返信[17]
親投稿
*J.P.* DEV NEWPICY3
oooh! sorry I was gone for like a day and a half, I did most of it, just gotta basically upload it.
0そうだね
プレイ済み
返信[18]
親投稿
Levi LeviJS
ah yes. you slow down the sprite by changing the 4s in spanim to higher numbers. that number is the time to wait before using the next sprite. Also what do you mean automatic movemet
0そうだね
プレイ済み
返信[19]
親投稿
Levi LeviJS
and jumping is another monster on its own. i'll see what i can come up with
0そうだね
プレイ済み
返信[20]
親投稿
Jackson JacboyX
I have no idea what I'm doing wrong. The SPCHR is in complete terms, and it keeps saying out or range. I'm losing it here!
0そうだね
プレイ済み
返信[21]
親投稿
Jackson JacboyX
Here's a key for the auto movement demonstration. So it'll give you an idea of the mechanic: 4RF3PXSD The character automatically moving was part of a mechanic in the game: Drancia Saga
0そうだね
プレイ済み
返信[22]
親投稿
Levi LeviJS
i will take a look
0そうだね
プレイ済み
返信[23]
親投稿
Jackson JacboyX
New code. Old one had one of my old files. 28YJLM Sry.
0そうだね
プレイ済み
返信[24]
親投稿
Levi LeviJS
@Jackson download key [BJ3XQ394]. the file COPY_TEST is an example of the automatic movement. There is jump code but not very good code for that. The code is annotated to help explain what is going on. Hope this helps.
0そうだね
プレイ済み