|
  
|
|
|
#241 (permalink) |
|
Squirt
Join Date: May 2008
Posts: 11
Reputation: 13
Donate |
I've been thinking about the level engine in this game. Right now it's hard to implement custom levels when one has no coding experience. Lot's of things can go wrong. So I've been thinking about a solution.
I came up with something that is used more often, bitmaps. Like this we could make levels as if they are images. So lets say there is a pixel of the color #FF0000 at position (1,5) would been there is a red block (#FF0000) at row 1, column 5. Following this trial, a white pixel (#FFFFFF) at position (2,2) would mean a blank space at row 2, column 2. Got the point? (or shall I say, pixel? )Anyhow, using this method it's easy to add a level by just adding a image to the build. (I don't know if it's possible like this though) Another option could be using a XML file. A level could look like this then: Code:
<level name="Apple" number="1" rows="15"> 0,0,0,0,0,4,3,0,0,0,0 0,0,0,0,0,4,3,0,0,0,0 0,0,0,0,0,4,0,0,0,0,0 0,0,0,0,2,2,2,0,0,0,0 0,0,0,2,2,2,2,2,0,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,2,2,2,2,2,2,2,0,0 0,0,0,2,2,2,2,2,0,0,0 0,0,0,0,2,2,2,0,0,0,0 </level> Both of these ideas are easy to do with my level editor, and also allows the possibility of a level previewer by simply uploading the image or XML tree. Last edited by laurens : 05-27-2008 at 08:35 AM. |
|
|
|
| Remove Advertisements Sponsored Links | |
Advertisement |
|
|
|
#242 (permalink) |
|
Experienced Zuner
Join Date: May 2008
Posts: 110
Reputation: 9
Donate |
Cool, touch support is working pretty well. One complaint, I think that you should make it so that the paddle moves faster with the touch support. Also, right now the paddle moves faster going to the right than it does for the left. Thanks strongbad for helping out LedZepp.
|
|
|
|
|
|
#243 (permalink) |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 52
Reputation: 15
Donate |
Believe or not everybody, I made another mod of zbreak.
![]() This one uses a modification of LedZepp's touch scheme with my suggestion.
So what are you waiting for? ![]() Download zBreak 009 MSBM Mod v2 with jitter correction
__________________
Surprise! Strong Bad, it's me! Homestar Runner! From school! To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. This posting is provided with a 30 day money back guarantee. ![]() |
|
|
|
|
|
#244 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 973
Reputation: 116
Donate |
Thanks strongbad, in my original 0.0.9 there was no jitter just when the touch support was added, I have over 30 levels in the upcoming release, which will feature the red block as being a bomb block, it will "blow" up the surround blocks, gun powerup will be added as well as the multiple ball powerup. This version wont be released until this weekend.
Laurens, when I redo the whole game(after i get my next version out) i will try to redo the level implementation to use xml. Thanks for everyones support for this game! ![]() |
|
|
|
|
|
#246 (permalink) | |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 52
Reputation: 15
Donate |
Quote:
I was just thinking about a bomb block. ![]() Actually a bomb block would make cool game thumbnail. I'll make it after the new version is released. ![]()
__________________
Surprise! Strong Bad, it's me! Homestar Runner! From school! To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. This posting is provided with a 30 day money back guarantee. ![]() |
|
|
|
|
|
|
#249 (permalink) | |
|
Zune Guardian
$zB: 368
Donate |
Quote:
Cause there is still no link...
__________________
Invisible Text. =P To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
|
#250 (permalink) | ||||
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 973
Reputation: 116
Donate |
Quote:
Quote:
Quote:
Quote:
![]() |
||||
|
|
|
|
|
#252 (permalink) | |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 52
Reputation: 15
Donate |
Quote:
![]()
__________________
Surprise! Strong Bad, it's me! Homestar Runner! From school! To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. This posting is provided with a 30 day money back guarantee. ![]() |
|
|
|
|
|
|
#253 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 973
Reputation: 116
Donate |
It would be StrongBad, except i cant edit my first post anymore(only allowed to edit first 10 days), so hopefully zb will change that, I will put new links in my signature with my next version.
Edit Nvm they changed it already, itll be up there soon ![]() |
|
|
|
|
|
#254 (permalink) |
|
Zuner
Join Date: Apr 2008
Location: Free Country, USA
Posts: 52
Reputation: 15
Donate |
lol: too
![]() Thanks for making my my mod an official build. I'm going to brag to my friends. ![]()
__________________
Surprise! Strong Bad, it's me! Homestar Runner! From school! To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. This posting is provided with a 30 day money back guarantee. ![]() |
|
|
|
|
|
#257 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 973
Reputation: 116
Donate |
I have a Question for you all.
Right now, the number of each of the powerups are generated randomly based on how many blocks there are in the level. For random levels: Ultra balls = Total Blocks/6 Paddle Shrink = Total Blocks/5 Paddle Extend = Total Blocks/5 For normal levels: Ultra balls = Total Blocks/4 Paddle Shrink = Total Blocks/3 Paddle Extend = Total Blocks/3 I was wondering if you guys would rather have a set number for every level(i was thinking 3 shrinks, 2 extends, 2 ultras, 2 fire, 2 multi balls)(for normal levels, i would increase them for random ones) Would you guys rather have it the way it is(random) or a set number of each? ![]() |
|
|
|
|
|
#259 (permalink) |
|
Zewbie
Join Date: May 2008
Posts: 8
Reputation: 10
Donate |
damn, man. lol. i downloaded this through the games pack so i never saw this thread. so i started modding it myself because this is my favorite game EVER!
i only added speed power ups (one makes you go faster, and one makes you go slower), The song is listed in-game now, fixed the scoring text rendering bug, and repositioned it. I also fixed the math on the collision detection on the paddle so there is no longer a posibility for the ball to keep going straight up and down (which is not possible in the real games). Also, if you are already big, and get another big powerup, you get even bigger (but not 3). but same goes if you get 2 small ones... so it adds a little to the game. But that was before I saw your touch support, so i may have to check that out and see what you added and fixed. I was going to redo the menu's but i guess ill wait now and see what you characters have gotten done so far since .0.0.9 release. I guess i should look on the interwebs more often before i start things. but your game doesnt support cyrillic characters, so it crashes a lot for me (or i think that is what happens) so i need to make an exception for that, (lol, does C# handle try catch or something like that?) :P PS, i just remembered i fixed your bug on the pause menu when displaying the song name, made it so it would limit character count. Also, i will look into what the others do for upgrade distrubution. PSS. I think ill wait until i get the more updated copy or talk to LedZepp before I send out these changes. Last edited by lunchables : 05-30-2008 at 09:06 PM. |
|
|
|
|
|
#260 (permalink) |
|
zB Programmer
Experienced Member Join Date: Mar 2007
Posts: 973
Reputation: 116
Donate |
Wow, lunchables, sounds like you modded the hell out of the game
(i cant believe you knew what to change, i constantly forget what i need to do to add new things lol, thats why im going to be redoing it)I am pretty much done with my next version It has a gun power up, and "explodable" block(i say "explodable" because all they do is disappear for now), I did not include the multiple ball power up because with the way my code is now it is impossible. I will start rewriting my code starting tomorrow(dont expect it to be out until at least a week or 2 after i start, i have at least 1500 lines of code and im probably going to be adding more). When I rewrite my code alot of things will get fixed and added: -Block collision will be fixed -More power ups added -right now only 1 power up is allow to "fall" on the screen at a time, that will get fixed -Menu's will get a serious remodeling -Theme chooser will be added -Level implementation will get redone -Many more things I cant think of right now Once i polish what i have right now up i will release version 0.1 Btw, random amount of power ups or set amount?? Last edited by LedZepp : 05-30-2008 at 09:27 PM. ![]() |
|
|
|