プレイ日記
Stewart segludian1
I can't get the jumping right and it is probably still too long and complicated. But I think the simplified platformer is still pretty cool.
0そうだね
プレイ済み
返信[1]
親投稿
*J.P.*[P]£ aj2003aj
cool, yeah jumping is always hard to do lol. anyways i need some help real quick, im trying to make a grid of sprites covering the screen using a for loop or something, other then making like 200 spsets lol. would it be better to A: create 24 FOR loops incorporating the y 16 more each time making a grid. or B: do something else simpler that i dident know i could.
0そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian1
You don't want to create 24 FOR loops. Instead you want to make a nested FOR loop. Or in other words you have a FOR loop with another FOR loop inside of it. FOR Y = 1 TO 15 FOR X = 1 TO 25 'Code to set up a sprite NEXT X NEXT Y An example is attached. Let me know if you have any problems.
0そうだね
プレイ済み
返信[3]
親投稿
*J.P.*[P]£ aj2003aj
no it just makes like 3 oddly placed blocks by eachother. also i was wondering if it ever gets annoying for you to put all those % (and $/#) in your code for everything? it seems like a lot of work just for option strict.
0そうだね
プレイ済み
返信[4]
親投稿
Aaron Krondelo
Option Strict doesn't require specifying data types, only that you declare variables. For your problem you just need, like Stewart said, a nested For loop. That's how you do grids. If it's not working you have something wrong.
0そうだね
プレイ済み
返信[5]
親投稿
Stewart segludian1
If it isn't working we may be able to diagnose the problem if you post a screen shot of the code in question. Option Strict, and adding data type postfixes are an ounce of prevention versus a pound of cure type of thing. They can head off a lot of very hard to debug problems ahead of time. It does take little longer, but I think it is worth it and I recommend it. It has saved me plenty of times.
1そうだね
プレイ済み
返信[6]
親投稿
smashio XZelda-HolicX
looks nice. :0
0そうだね
プレイ済み
返信[7]
親投稿
Stewart segludian1
Thanks, the download key is currently: ARR3V23E.
0そうだね
プレイ済み
返信[8]
親投稿
*J.P.*[P]£ aj2003aj
ok back ill show in a min
0そうだね
プレイ済み