Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
14 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2448
次のページ(過去)
返信[4]
親投稿
Oscar PwnageBlock
There are no real collision methods with pure graphics. You could do some complicated stuff with GSPOIT, but the easiest way to bound something to the box is to simply limit the area the object can move in. E.g.: X and Y being the object's coordinates, and its home being its top-left corner and its size 16x16px, assuming box coordinates... X=MIN(10,MAX(399-16,X)) Y=MIN(10,MAX(239-16,Y))
0そうだね
プレイ済み
返信[2]
親投稿
Oscar PwnageBlock
I'm sorry DereK, but you can change your name on Miiverse quite easily, so you've got no excuses! Also, if you need collision help, you should specify which kind of graphics you are working with. Sprites? BG? Pure graphics? As a side note, I hope you are aware you won't be able to publish this, since Copyright exists.
0そうだね
プレイ済み
返信[8]
親投稿
Oscar PwnageBlock
I would imagine you can implement them as objects with an X and Y location on the map. I'm not sure if the raycaster works with Z offsets, but if it does you could probably set their Z offset relative to their distance from you, so that they appear behind walls properly, etc, only rendering those within your point of view, of course. I'm not sure how you'd handle pathfinding/clipping/AI, though.
2そうだね
プレイ済み
返信[9]
親投稿
Oscar PwnageBlock
GOSUBs should NOT fill out a program. In fact, there should be no use for them at all, since user-defined functions exist. Remember, GOTOs and GOSUBs can lead to ugly and unmaintainable program structure.
1そうだね
プレイ済み
返信[4]
親投稿
Oscar PwnageBlock
As Hanzo said, you can find the angle (in degrees) with DEG(ATAN(y,x)). However, be mindful that values range from -180 to 180 degrees. In case you want the values to range from 0 to 360 degrees, you can easily set a conditional like this... STICK OUT X,Y ANG=DEG(ATAN(Y,X)) IF ANG<0 THEN INC ANG,360 ENDIF
1そうだね
プレイ済み
返信[6]
親投稿
Oscar PwnageBlock
You can repeat part of an MML by enclosing what you want to repeat in brackets. E.g.: "[CDEFGABAGFED]" You can leave it like that and it'll loop endlessly, or you can specify the number of times it should loop by writing a number after the brackets. E.g.: "[AB]3"
0そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
Well, that's really simple to implement. You just have to remember that a string is really just a string of individual characters. You could have a FOR loop that iterates over the string and prints each character. E.g.: FOR I=0 TO LEN(ST$)-1 PRINT ST$[I]; WAIT 20 NEXT
1そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
What for? 3.3.2 brought nothing but improvements!
0そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Don't use ACLS in a loop, since it resets everything in concern to graphics it takes much longer. You can use GCLS or CLS, but not ACLS. Also, make sure to have a WAIT or VSYNC in your loop.
4そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Drawing a character how? Either way, when using the console or graphics page to draw, you have to redraw the entire screen, since you'd be overlapping the old render with anything new otherwise, unless you can somehow only redraw the portion of the screen the re-renders were on. Another thing you could do is dedicate one graphic layer to the character, then a separate one for everything else.
1そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
What do you mean exactly? If you want to declare strings, you just append a dollar sign to the variable identifier. E.g.: ST$ is a string. If you want to print it, simply use PRINT <String Variable>. E.g.: PRINT ST$
1そうだね
プレイ済み
返信[4]
親投稿
Oscar PwnageBlock
Wow! ¡Se ve muy impresionante el editor! ¿Tienes planeado publicarlo algún día?
1そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Whoa. ¡Se nota que eres un muy buen artista! ¿Dibujastes esto con el editor de gráficos de la SmileTool?
1そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
Gee, I can't imagine what you'd change Jump Game's textures into.
0そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Can't wait for more anime. ¬¬
0そうだね
プレイ済み
返信[4]
親投稿
Oscar PwnageBlock
A simple way to do a summation or product is using a FOR loop. For example, you could write the sum from I=M to N of a function F like this... SUM=0 FOR I=M TO N INC SUM,F(I) NEXT ...where F is a user-defined function that returns a numerical value. A product would look pretty similar... PROD=1 FOR I=M TO N PROD=PROD*F(I) NEXT
1そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Those music themes are copyrighted, so nobody will/should publish them. A lot of them are easy enough to recreate by ear, anyways.
3そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
My safe? What about my safe?
2そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
You've probably just ruined the transfer by suspending the game. Just hope you knew that before posting this.
2そうだね
プレイ済み
返信[2]
親投稿
Oscar PwnageBlock
This belongs in the YouTube community. Please avoid posting about unrelated subjects in the SmileBASIC community.
1そうだね
プレイ済み