LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Bomberman SB development thread

Root / Talk About Programs / [.]

TarudahatCreated:
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

I can't code for now. What kind of minigame do you want? Bomber minigolf?

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.

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.

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.

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 |

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.

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.

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

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.)

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)

a sneak peek :-)

cool

I like it! 😍

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.

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_ )

Ok cool I think since it's squid tower defense it should be a splatoon icon Ima make it sparkley

Hey y'all. It's been a couple of months since Super Bomber Blast is cancelled. Well, I'm fixing the game, adding stuff to it, and making this game possible! I'm also changing some of the stuff in the game, such as changing from Custom Mode to Multiplayer Mode. I'm starting to learn the BASIC coding language now. Anyways, when I release Super Bomber Blast, I hope you liked it. 😊

Hey y'all. It's been a couple of months since Super Bomber Blast is cancelled. Well, I'm fixing the game, adding stuff to it, and making this game possible! I'm also changing some of the stuff in the game, such as changing from Custom Mode to Multiplayer Mode. I'm starting to learn the BASIC coding language now. Anyways, when I release Super Bomber Blast, I hope you liked it. 😊
Please don't try to fix SBB it's to big of a mess the only thing that's still ok to work form is the STORY_2_FIX or whatever it was called (aka start from scratch and use the story_2_fix to work of of)

Also I kinda made SBB (mostly) so please stop (and start from scratch not scratch in like the programming scratch but the begin type if scratch)