Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8 9 10 11 12
次のページ(過去)
返信[16]
親投稿
Josh josh.h7
Ok. You know how you are going to handle the map?
0そうだね
プレイ済み
返信[14]
親投稿
Josh josh.h7
Are you trying to remake Zelda alttp or clone/game like it?
0そうだね
プレイ済み
返信[12]
親投稿
Josh josh.h7
I think I know what you are saying and if so that's not good :(
4そうだね
プレイ済み
返信[12]
親投稿
Josh josh.h7
I fixed your code. See picture :)
0そうだね
プレイ済み
返信[10]
親投稿
Josh josh.h7
The code at line 30 move to the @LOOP loop, at line 25 change the control number on SPSET(first number)
0そうだね
プレイ済み
返信[8]
親投稿
Josh josh.h7
Have a different sprite and when A(or whatever button you want it to be) is pressed have its X/Y copy the player's X/Y and then move it in a different direction away from the player.
0そうだね
プレイ済み
返信[5]
親投稿
Josh josh.h7
You had BGCLR before it entered @LOOP so you erased it. The GOTOs after GOTO @LOOP are doing nothing there.
0そうだね
プレイ済み
返信[3]
親投稿
Josh josh.h7
Here you go :) SPSET 0,2 X=100:Y=100 @LOOP STICK OUT TX,TY X=X+TX*2:Y=Y-TY*2 SPOFS 0,X,Y VSYNC 1 GOTO @LOOP
0そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
Use SPSET to use a sprite SPSET Control number,Sprite id And SPOFS to change the X/Y/Z SPOFS Control number,X,Y,Z Need anymore help just ask :)
0そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
You can use BGGET. ID=BGGET(LAYER,X,Y,SYSTEM FLAG) System flag is for coordinates 0 is for BG coordinates(character units, like text) 1 is for screen coordinates(pixel units) You just need to keep the characters old X/Y so you can keep him out of the platforms. hope this helps :)
0そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
I tried it, but I can only move forward and back(I don't have a cpp) so maybe add a way for people who don't have one to move in the other directions? Could add touch screen buttons for the other directions, and add a mini map. Great so far though :)
1そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
Like this SPSET 0,2 X=100:Y=100 X is for left and right, Y is for up and down. @LOOP IF BUTTON()==1 THEN Y=Y-2 IF BUTTON()==2 THEN Y=Y+2 IF BUTTON()==4 THEN X=X-2 IF BUTTON()==8 THEN X=X+2 SPOFS 0,X,Y this sets the X/Y/Z of the sprite GOTO @LOOP Hope this helps :)
0そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
Like this SPSET 0,3 X=100:Y=100 @LOOP IF BUTTON()==1 THEN Y=Y-2 IF BUTTON()==2 THEN Y=Y+2 IF BUTTON()==4 THEN X=X-2 IF BUTTON()==8 THEN X=X+2 SPOFS 0,X,Y GOTO @LOOP Hope this helps :)
1そうだね
プレイ済み
返信[6]
親投稿
Josh josh.h7
Here you go :) In code it would look like this @loop ID=BGGET(0,X,Y,1) IF ID==2 THEN X=OLD_X:Y=OLD_Y SPOFS 0,X,Y OLD_X=X:OLD_Y=Y GOTO @LOOP Change the number in the if statement to what BG tile you want it to work with :)
1そうだね
プレイ済み
返信[4]
親投稿
Josh josh.h7
Its for X/Y of the background tile. 0 for coordinates as the BG coordinates(in character units) Or 1 for screen coordinates as screen coordinates(in pixel units)
0そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
I use BGGET to do this. ID=BGGET(Layer,X,Y[,Coordinate system flag]) IF ID==2 THEN PRINT "worked!" Hope this helped :)
2そうだね
プレイ済み
返信[13]
親投稿
Josh josh.h7
Here is a game I made a while back. Key:ZEEEEENE
0そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
I made a fps counter for anyone to use. You can use the code in it :) Key [QDX513MD]
1そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
On line 11 change HPT+1 to HPT=HPT+1
3そうだね
プレイ済み
返信[8]
親投稿
Josh josh.h7
Move to the right at the start ;) Mine score was 9160
1そうだね
プレイ済み