トピック
*J.P.*[P]£ aj2003aj

*helping anyone in need of coding help*/freely talk here/helping give game ideas/anything. discussion#1

this is a multipurpose discussion! i will respond relatively fast depending on the time (e.g. from 1pm to 3am) if you need coding help comment here, if you need ideas for your game, comment here. if you want to talk, comment here! -please if i didn't list why your here, comment here.
4そうだね
プレイ済み
返信[1]
親投稿
Aaron Krondelo
I need help with sprite collision, or if its easier, sp to bg collision.
0そうだね
プレイ済み
返信[2]
親投稿
oct Aidan xbomb795
I need help loading a map and I need a good walking animation.
0そうだね
プレイ済み
返信[3]
親投稿
*J.P.*[P]£ aj2003aj
ok! so sprite collision is easy-ish so for every sprite you want to collide with you put SPCOL (management number) like SPCOL 0 (spcol makes it "watch" the sprite) do this for every sprite you want to collide with, lets say you want 2 sprites hitting eachother, do SPCOL 0:SPCOL1 then you would use SPHITSP, this is for when you are making them hit, so it would be like IF SPHITSP (0,1) THEN (stuff)
0そうだね
プレイ済み
返信[4]
親投稿
coding help pls. how the heck do you use #SPADD in a helpful way?
0そうだね
プレイ済み
返信[5]
親投稿
*J.P.*[P]£ aj2003aj
the 0 and the 1 are the ones hitting eachother, 0 being the one you control (or even if you dont control it) please tell me if you dont understand something! BG collision is a bit harder, i can give you two files i made if you want, or i can try to explain, see there are two main types of BG collision, there is with a non moving background and there is with a background moved with BGOFS. ↓maps↓
0そうだね
プレイ済み
返信[6]
親投稿
*J.P.*[P]£ aj2003aj
SPADD? hmm.. i havent seen that.. ill look into it! brb
0そうだね
プレイ済み
返信[7]
親投稿
*J.P.*[P]£ aj2003aj
so this would load all 4 BGscreens and about #SPADD i honestly have no idea! wow.. im guessing it is like an alternative to spset but i cant be sure... ill do some further testing on it and tell you what comes of it. now onto sprite animation, it depends, do you want animation for a sprite controlled by you or animation for another sprite? but i can help either one, just tell me.
0そうだね
プレイ済み
返信[8]
親投稿
*J.P.*[P]£ aj2003aj
oops sorry, just saw that you said walking! ill go make something to show you and then come back here.
0そうだね
プレイ済み
返信[9]
親投稿
Person QwertyOfUiop
I've been fiddling around and I can't figure out how to get this ornery little sprite out of the corner. How do you free Mr. Sprite from his corner?
1そうだね
プレイ済み
返信[10]
親投稿
*J.P.*[P]£ aj2003aj
well, Mr sprite can be moved with SPOFS (management number),x,y so you can do SPOFS 0,50,50 Or something like that. if you want help moving him with the Dpad or Circle pad i can help with that too.
2そうだね
プレイ済み
返信[11]
親投稿
Person QwertyOfUiop
Lol thank you :D I'll try that out. If you have the time, I wouldn't mind that information either!
1そうだね
プレイ済み
返信[12]
親投稿
*J.P.*[P]£ aj2003aj
sure, np, ill go grab a screenshot to show you.
1そうだね
プレイ済み
返信[13]
親投稿
*J.P.*[P]£ aj2003aj
ok this will move the sprite with the circle pad and (or) Dpad, im going to add the animation to this too in a min.
3そうだね
プレイ済み
返信[14]
親投稿
Person QwertyOfUiop
Thank you so much! I never would have figured that out on my own. By the way.. Mr. Sprite was freed :D
1そうだね
プレイ済み
返信[15]
親投稿
*J.P.*[P]£ aj2003aj
here is a key to the walking with added animation, it shouldn't be too complicated, if you have questions just ask me. [V32KVD8Y]
2そうだね
プレイ済み
返信[16]
親投稿
Person QwertyOfUiop
I'll check the key. Thanks once again. :D
1そうだね
プレイ済み
返信[17]
親投稿
*J.P.*[P]£ aj2003aj
sure np, if you need help on ANYTHING ill be happy to help (or atleast try to help)
2そうだね
プレイ済み
返信[18]
親投稿
*J.P.*[P]£ aj2003aj
ok so i realized that the animation part wasnt as clear as i thought it was, so ill tell you guys what its doing, so first it makes the anim variable go up, when i hits 5 it changes the sprite to another one using SPCHR, then at 10 changes again, same at 15, when it gets to 20 it changes it then restarts the variable bringing it back to 0, repeating the process. one for every direction. easy-ish!
2そうだね
プレイ済み
返信[19]
親投稿
klonoa hellkolbod
how do you use the wave thingumajig
0そうだね
プレイ済み
返信[20]
親投稿
oct Aidan xbomb795
thanks jp! (sorry for the late response)
0そうだね
プレイ済み
返信[21]
親投稿
klonoa hellkolbod
whats wrong with this line
0そうだね
プレイ済み
返信[22]
親投稿
*J.P.*[P]£ aj2003aj
about the wave thingy, I don't know how to use it, im looking at your code and I don't see anything wrong yet, but I would put : in-between the beeps and wait, like BEEP 50:WAIT 50:BEEP 29:, something like that.
0そうだね
プレイ済み
返信[23]
親投稿
klonoa hellkolbod
wow wish i read that before i added 42 yes 42 extra lines of code sigh oh well not undoing it
0そうだね
プレイ済み
返信[24]
親投稿
*J.P.*[P]£ aj2003aj
ok guys! thanks for coming here, believe me you made my day better! sorry to say but ill be gone most of the day tomorrow.. but ill be back later (though probably around 11pm) (cant say for sure) anyways still feel free to ask anything, ill reply when i get back! @Aiden: can you show me your code with the map, mine is working so its probably just a small error. -*J.P.*
1そうだね
プレイ済み
返信[25]
親投稿
oct Aidan xbomb795
ok and just so you know it dan not den
0そうだね
プレイ済み
返信[26]
親投稿
oct Aidan xbomb795
*its
0そうだね
プレイ済み
返信[27]
親投稿
oct Aidan xbomb795
nevermind I was saving and loading the wrong thing XD heres a screenshot
0そうだね
プレイ済み
返信[28]
親投稿
oct Aidan xbomb795
.
0そうだね
プレイ済み
返信[29]
親投稿
oct Aidan xbomb795
jp im starting a new game do you think this would be good for a story :P
0そうだね
プレイ済み
返信[30]
親投稿
*J.P.*[P]£ aj2003aj
omg! sooo sorry! im really bad at spelling peoples names right! and uh... sure? sure
1そうだね
プレイ済み
返信[31]
親投稿
oct Aidan xbomb795
lol its fine :P sorry for the late response I had a two games (I won both of the :P)
0そうだね
プレイ済み
返信[32]
親投稿
Aaron Krondelo
Sprite collision isn't working for some reason, same problem I had before. I have: SPCOL ID#1:SPCOL ID#2 CT=SPHITSP (ID#1, ID#2) Yet, when they intersect CT remains false. Tried messing with SPCOLVEC but nothing changed.
0そうだね
プレイ済み
返信[33]
親投稿
*J.P.*[P]£ aj2003aj
hmm.. that is very strange.. I will try to replicate it and see if I can do it... and yes, IM BACK! (yay) 11:15, so i was basically right on my estimated time of coming back! (which was 11)
1そうだね
プレイ済み
返信[34]
親投稿
*J.P.*[P]£ aj2003aj
nothing solid yet as i havent had much time, but.. hellloooo...? *anyone there?* *is this thing working..?* *taps screen* *hello...?* remember what the post said to come here for..? well incase you forgot, two things, 1 helping, 2 TALK TO ME BECAUSE IM LONELY! theres been none of my friends here active lately!! *connection lost* *me:...* how much room does this comment have left?! oh.k
1そうだね
プレイ済み
返信[35]
親投稿
Aaron Krondelo
Boo, since you're lonely here is some useless information. I'm writing a game idea I've had in Java, using the intelliJ IDEA ide. So far so good, but now I'm wondering what type of data structure to use for the shop items. Maybe a 2d array because I need type and quantity, but also it needs to vary by shop location.... hmm.
0そうだね
プレイ済み
返信[36]
親投稿
*J.P.*[P]£ aj2003aj
thank you.
1そうだね
プレイ済み
返信[37]
親投稿
oct Aidan xbomb795
jp how do I make it so when the ship gets to either side of the bigger island the it goes to a different loop?
0そうだね
プレイ済み
返信[38]
親投稿
oct Aidan xbomb795
*then
1そうだね
プレイ済み
返信[39]
親投稿
oct Aidan xbomb795
use this screenshot insdead
0そうだね
プレイ済み
返信[40]
親投稿
oct Aidan xbomb795
*instead
0そうだね
プレイ済み
返信[41]
親投稿
*J.P.*[P]£ aj2003aj
hey! that looks cool! ok can you re-say that i dident really understand what you meant different loop
1そうだね
プレイ済み
返信[42]
親投稿
oct Aidan xbomb795
how do I make it so that when the ship gets to a certain place on the screen that it goes to a new loop to load a new map.
0そうだね
プレイ済み
返信[43]
親投稿
klonoa hellkolbod
goto @blah statements basically name every loop something and when a ship lands use goto @blah to change the loop
0そうだね
プレイ済み
返信[44]
親投稿
*J.P.*[P]£ aj2003aj
yeah, or if using a while wend loop end the while and just add the new loop after that, then to change the map just load a new one
0そうだね
プレイ済み
返信[45]
親投稿
oct Aidan xbomb795
um that made no sense
0そうだね
プレイ済み
返信[46]
親投稿
oct Aidan xbomb795
I tryed somthing like if x==330 then goto @stuff but that didnt work
0そうだね
プレイ済み
返信[47]
親投稿
oct Aidan xbomb795
im useing label loops
0そうだね
プレイ済み
返信[48]
親投稿
oct Aidan xbomb795
nevermind I just figured out what I was doing wrong XD
0そうだね
プレイ済み
返信[49]
親投稿
*J.P.*[P]£ aj2003aj
closing-
0そうだね
プレイ済み