? Bomberman SB development thread (Page 4) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Bomberman SB development thread

1 2 3 4
  • #61 ✎ 101 Tarudahat OSP Contest 3 Contest Participant I participated in the third SmileBASIC Source OSP Contest! Forum Contributor Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website
    I mean the sprite position on the Sprite map, and then grap the sprite under it, to the right, and to the bottom right. The. Display all of them and you have a 32*32 sprite(ish). yaayy... I think there is actually a way to grab a sprite use more width with the same function as the grab by map position, but I'm not sure. I haven't been coding on SmileBASIC for awhile.
    Well yes that's a ok idea I guess
    Posted
  • #62 ✎ 27 Heredos Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself I can't code for now. What kind of minigame do you want? Bomber minigolf? Posted
  • #63 ✎ 101 Tarudahat OSP Contest 3 Contest Participant I participated in the third SmileBASIC Source OSP Contest! Forum Contributor Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website
    I can't code for now. What kind of minigame do you want? Bomber minigolf?
    Sounds like a great idea ! Do you need anything to make it ? I'll PM you the Grp's you'll need.
    Posted
  • #64 ✎ 16 KiratheCGHelper Video Games I like to play video games! Hobbies Pokemon Is Awesome! I love Pokemon! Express Yourself Minecraft Is Awesome! I love Minecraft! Express Yourself I have another idea called Air Raid. It's based off of one of the modes in Bomberman Blast for Wii where you dodge the bombs while running and using a shield, and to be the last player standing as a winner. Players can use revenge carts on this one. Posted
  • #65 ✎ 986 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies
    I mean the sprite position on the Sprite map, and then grap the sprite under it, to the right, and to the bottom right. The. Display all of them and you have a 32*32 sprite(ish). yaayy... I think there is actually a way to grab a sprite use more width with the same function as the grab by map position, but I'm not sure. I haven't been coding on SmileBASIC for awhile.
    Well yes that's a ok idea I guess
    SPDEF So in case you don't know how SPDEF works (which is what you seem to imply), there are a few arguments. Sprite number is the first argument, what you want to set, like how SPRITE 0 is preset as a strawberry, etc.. U,V are the next 2 arguments. They are treated as X,Y positions on the graphic sprite screen, usually GRP4 unless SPPAGE is used. It's basically the top corner position of the sprite. W,H are the next 2 arguments. It's how big you want the sprite to be. For most presets, it's usually 16,16. If you want 32x32 sprites, you would put 32,32 for these. Then there is the origin x,y. The origin is the center of the sprite. That's about the easiest way to explain that. If you want to do it for every sprite, I am sorry. That's kinda hard to make. You would either need an SPDEF for every single sprite you want to change, or some sort of FOR loop system. Either works, the FOR loop is easier.
    Posted Edited by random_god
  • #66 ✎ 101 Tarudahat OSP Contest 3 Contest Participant I participated in the third SmileBASIC Source OSP Contest! Forum Contributor Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website
    I mean the sprite position on the Sprite map, and then grap the sprite under it, to the right, and to the bottom right. The. Display all of them and you have a 32*32 sprite(ish). yaayy... I think there is actually a way to grab a sprite use more width with the same function as the grab by map position, but I'm not sure. I haven't been coding on SmileBASIC for awhile.
    Well yes that's a ok idea I guess
    SPDEF So in case you don't know how SPDEF works (which is what you seem to imply), there are a few arguments. Sprite number is the first argument, what you want to set, like how SPRITE 0 is preset as a strawberry, etc.. U,V are the next 2 arguments. They are treated as X,Y positions on the graphic sprite screen, usually GRP4 unless SPPAGE is used. It's basically the top corner position of the sprite. W,H are the next 2 arguments. It's how big you want the sprite to be. For most presets, it's usually 16,16. If you want 32x32 sprites, you would put 32,32 for these. Then there is the origin x,y. The origin is the center of the sprite. That's about the easiest way to explain that. If you want to do it for every sprite, I am sorry. That's kinda hard to make. You would either need an SPDEF for every single sprite you want to change, or some sort of FOR loop system. Either works, the FOR loop is easier.
    Yeah I tryed it with a FOR loop but I didn't get it to work, oh well guess ill try it again later. |progress update| |new minigame |
    Posted
  • #67 ✎ 986 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies
    Yeah I tryed it with a FOR loop but I didn't get it to work, oh well guess ill try it again later.
    I think I might make a test program, so you could look at that.
    Posted
  • #68 ✎ 986 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies CP3VF344 I basically did a nested FOR loop that runs through X,Y coordinates. J is X, I is Y. Every time it runs through 16 X, it runs through 1 Y. Then I just used a simple equation to get the sprite number. Posted
  • #69 ✎ 185 seggiepants
    Help needed!!! I started making the minigame collection but I'm already stuck. Could anyone make something that use's SPDEF so that it makes every sprite 32x32 (example if I do SPSET 0, 1 the sprite displayed for definition number 1 is 16x16, but I want it to be 32x32 for all definition numbers.) Sorry if I'm a little unclear. But hopefully somebody can help. (I could hard code it but that would take 251 lines of code, 251 is the max amount of games it can have icons for)
    Is this the sort of thing you were looking for? OPTION STRICT VAR MAX_W = 512 'Width of the sprite page VAR MAX_H = 512 'Height of the sprite page VAR SPRITE_W = 32 'Desired width of each sprite VAR SPRITE_H = 32 'Desired height of each sprite VAR I = 0, J = 0, NUM = 0, DONE = FALSE CLS WHILE DONE == FALSE SPDEF NUM, I, J, SPRITE_W, SPRITE_H, 0, 0, 1 NUM = NUM + 1 I = I + SPRITE_W IF I >= MAX_W THEN I = 0 J = J +SPRITE_H IF J >= MAX_H THEN DONE = TRUE ENDIF ENDIF WEND 'Test it out. VAR ID ID = RND(NUM) 'Random number between 0 and NUM - 1 where NUM is the final count of sprites defined. SPSET 0, ID 'Just hard coding it to sprite 0, use whatever number you fancy. SPOFS 0, 184, 104 'Place it in the center of the 400x240 screen PRINT "SPRITE DEFINITION ID = " + STR$(ID) END
    Posted
  • #70 ✎ 101 Tarudahat OSP Contest 3 Contest Participant I participated in the third SmileBASIC Source OSP Contest! Forum Contributor Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website
    Help needed!!! I started making the minigame collection but I'm already stuck. Could anyone make something that use's SPDEF so that it makes every sprite 32x32 (example if I do SPSET 0, 1 the sprite displayed for definition number 1 is 16x16, but I want it to be 32x32 for all definition numbers.) Sorry if I'm a little unclear. But hopefully somebody can help. (I could hard code it but that would take 251 lines of code, 251 is the max amount of games it can have icons for)
    Is this the sort of thing you were looking for? OPTION STRICT VAR MAX_W = 512 'Width of the sprite page VAR MAX_H = 512 'Height of the sprite page VAR SPRITE_W = 32 'Desired width of each sprite VAR SPRITE_H = 32 'Desired height of each sprite VAR I = 0, J = 0, NUM = 0, DONE = FALSE CLS WHILE DONE == FALSE SPDEF NUM, I, J, SPRITE_W, SPRITE_H, 0, 0, 1 NUM = NUM + 1 I = I + SPRITE_W IF I >= MAX_W THEN I = 0 J = J +SPRITE_H IF J >= MAX_H THEN DONE = TRUE ENDIF ENDIF WEND 'Test it out. VAR ID ID = RND(NUM) 'Random number between 0 and NUM - 1 where NUM is the final count of sprites defined. SPSET 0, ID 'Just hard coding it to sprite 0, use whatever number you fancy. SPOFS 0, 184, 104 'Place it in the center of the 400x240 screen PRINT "SPRITE DEFINITION ID = " + STR$(ID) END
    A massive thank you seggiepants. (I even named the function after you.)
    Posted
  • #71 ✎ 101 Tarudahat OSP Contest 3 Contest Participant I participated in the third SmileBASIC Source OSP Contest! Forum Contributor Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website If anyone wants to contribute to the game. Then make a minigame using these assets. KEY: CKK33XNF (if you need to you can also alter the assets a bit, but if you do this, please tell me so that I can add the changes to the original) Posted Edited by Tarudahat
  • #72 ✎ 101 Tarudahat OSP Contest 3 Contest Participant I participated in the third SmileBASIC Source OSP Contest! Forum Contributor Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website a sneak peek :-) Posted
  • #73 ✎ 986 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies cool Posted
  • #74 ✎ 16 KiratheCGHelper Video Games I like to play video games! Hobbies Pokemon Is Awesome! I love Pokemon! Express Yourself Minecraft Is Awesome! I love Minecraft! Express Yourself I like it! 😍 Posted
  • #75 ✎ 986 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies I guess for my minigame submission, I am making some sort of somewhat text-based squid tower defense. I'm saying somewhat, because I am drawing text characters on the graphic screen, not console. But it'll be interesting, because of 8x8 tiles, instead of the 16x16 tiles I would normally approach.and maybe already have Yay! Oh also, I'm not editing the sprite sheep sheet or anything. Just the fonts, which I will reset when the player hits the quit button. Posted Edited by random_god
  • #76 ✎ 101 Tarudahat OSP Contest 3 Contest Participant I participated in the third SmileBASIC Source OSP Contest! Forum Contributor Hidden Achievements Avatar Embargo I didn't change my avatar for 90 days Website
    I guess for my minigame submission, I am making some sort of somewhat text-based squid tower defense. I'm saying somewhat, because I am drawing text characters on the graphic screen, not console. But it'll be interesting, because of 8x8 tiles, instead of the 16x16 tiles I would normally approach.and maybe already have Yay! Oh also, I'm not editing the sprite sheep sheet or anything. Just the fonts, which I will reset when the player hits the quit button.
    Sounds really cool ill be waiting with the first release till your done. Also you can make a Icon for your game the icon size is 64x64 (you can just make a different GRP for the icon if there isn't already a GRP called ICONS_ )
    Posted Edited by Tarudahat
  • #77 ✎ 986 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies Ok cool I think since it's squid tower defense it should be a splatoon icon Ima make it sparkley Posted Edited by random_god
1 2 3 4