gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > BREAK OUT MANIA DS

#59154 - ninogenio - Sat Oct 29, 2005 8:32 pm

heres a link to a game ive been making for the past month its for the mp2 the code is very very rough and will be cleaned up but i thought id put it up to get some feed back from you guys also i still have the sound to put in.if anyone wants to have a pop at the sound or a clean up of the code ill creadit them a lot :-p

http://dc6.4shared.com/download/407599/fb9c7e05/BREAK_OUT_MANIA_DS.html

#59163 - El Hobito - Sat Oct 29, 2005 10:19 pm

wow very nice, i've noticed your using an out of date cf driver and hence theres no m3 support for this game. I like the fact that all the assets are loaded from the cf card that should allow for some serious customisation/expansion potential. With a little work i can imagine this'll be a mainstay and quite a few peoples ds's

#59167 - Chetic - Sat Oct 29, 2005 11:16 pm

I get a white upper screen and a black lower screen.
_________________
Packin':
Grey DS with FlashMe v7
1Gbit XG2T 2005 (Neoflash compatible)
GBAMP, Supercard CF, 512Mb Magic Key 3 and EZFA 256Mbit

#59169 - ninogenio - Sat Oct 29, 2005 11:25 pm

@el hobito cheers mate i really didnt think it was all that ill update the driver for m3 support asap and ive got lots of stuff in the pipeline for this.

@Chetic sorry i should have put set up instructions in the download folder after downloading and unraring the main file unrar the break out folder inside to the cf card so your sf card shold look like this.

root.....
break out
and all the other folders on your root
............

then inside the break out folder all the breakout reasources.

#59227 - alangerow - Sun Oct 30, 2005 3:33 pm

Can you set it up so that all of your folders aren't in the root? Perhaps have a BreakOutMania folder or something, and then have all your other folders in there. Just a suggestion, because I have a bunch of files on my CF card, and having to add 9 more folders to the root for a single game is most undesirable and would render my folder organization less usable.

#59229 - El Hobito - Sun Oct 30, 2005 4:08 pm

mines not in the root and it works fine loaded through moonshell

#59264 - ninogenio - Sun Oct 30, 2005 8:52 pm

sorry i didnt explain very well as long as all the reasources are in the break out mania folder and the break out mania folder is on the root of the cf card itll work fine the .nds file can be anywhere on the cf card though.

i was thinking about this last night and i think ill drop some tools in that lets people make new levels and im goimg to make the game fully customizeable through a config file.

what do you guys think.

#59278 - ninogenio - Sun Oct 30, 2005 11:15 pm

ive updated this quite a lot today ive got all the c files compiling sepratly ive got quite a bit more speed out of the engine after quite a lot of little tricks and also added m3 support now im onto the sound ill update the link soon.

#59279 - alangerow - Sun Oct 30, 2005 11:36 pm

ninogenio wrote:
sorry i didnt explain very well as long as all the reasources are in the break out mania folder and the break out mania folder is on the root of the cf card itll work fine the .nds file can be anywhere on the cf card though.


Well, in that case, off to load it on my CF card.

Well, that didn't work. I extracted BREAK_OUT_MANIA.rar to the root of my CF card (so all the resources are in the BREAK_OUT_MANIA folder), and the top screen is black and the bottom screen is white. Tried it through Moonshell, and even renamed breakoutMANIA.nds to _BOOT_MP.nds. Same results.

Using GBA MP with Chishm's v2 firmware.

#59280 - ninogenio - Mon Oct 31, 2005 12:01 am

thats odd it should work? as longs the BREAK_OUT_MANIA folder holds the resources in this format ie root\BREAK_OUT_MANIA\levels\level1 and root\BREAK_OUT_MANIA\breakoutMANIA.nds etc it should work the only thing i can think of is that my win rar sometime extracts the files like root\BREAK_OUT_MANIA\BREAK_OUT_MANIA\levels\level1 and the first folder needs to be removed im very sorry for the confussion and ill make it a lot more install freindly in the next release coming very soon.

#59283 - alangerow - Mon Oct 31, 2005 1:24 am

ninogenio wrote:
thats odd it should work? as longs the BREAK_OUT_MANIA folder holds the resources in this format ie root\BREAK_OUT_MANIA\levels\level1 and root\BREAK_OUT_MANIA\breakoutMANIA.nds etc it should work the only thing i can think of is that my win rar sometime extracts the files like root\BREAK_OUT_MANIA\BREAK_OUT_MANIA\levels\level1 and the first folder needs to be removed im very sorry for the confussion and ill make it a lot more install freindly in the next release coming very soon.


The folders look correct. In my root directory there's a folder BREAK_OUT_MANIA, and then in that folder are the resources. You mention level1 without a file extensions. All of the level files in the levels folder have .txt file extensions.

Trying it on a clean, freshly formatted CF card ...

Ok, this time I got two white screens. Maybe using the new CF libraries will help. I'll wait and see if those fair any better.

#59324 - ninogenio - Mon Oct 31, 2005 4:22 pm

heres the latest ive modified some stuff it now has m3 support and cleaner code ive also done a bit of optimizeation like fixed point precalced sin and cos and a few other bits i dont belive its quite as good as the first ver because ive changed quite a lot and some parts im still working on hope this one works.
im going to get my head down now to finish this .

source
http://dc6.4shared.com/download/416317/55aceb6d/BREAK_OUT_MANIA_SOURCER2.html

game
http://dc6.4shared.com/download/416351/d8a38b5c/BREAK_OUT_MANIAR2.html

#59329 - alangerow - Mon Oct 31, 2005 5:24 pm

ninogenio wrote:
heres the latest ive modified some stuff it now has m3 support and cleaner code ive also done a bit of optimizeation like fixed point precalced sin and cos and a few other bits i dont belive its quite as good as the first ver because ive changed quite a lot and some parts im still working on hope this one works.
im going to get my head down now to finish this .

source
http://dc6.4shared.com/download/416317/55aceb6d/BREAK_OUT_MANIA_SOURCER2.html

game
http://dc6.4shared.com/download/416351/d8a38b5c/BREAK_OUT_MANIAR2.html


That worked for me. :)

But I had the problem with the paddle, where if I hit the ball on the right side of the paddle, it only went straight up. If I hit the ball on the left side of the paddle, it would bank to the left.

#59359 - ninogenio - Mon Oct 31, 2005 8:56 pm

yes! im very glad that worked for you :).

unfortunatly the paddle problem is one of the areas that the first version was better im using fixed point sin and cos and im losing a little precision the ball should bounce like this.
_ \ | /_
_______

but ill have this fixed for the final release soon also im going to put some of the sprites in oam.what i hope to do is finish soom tools that work on the ds that creats new levels and modify all the aspects to let people make coustomized versions of the game dependant on how they like.

#59391 - ninogenio - Tue Nov 01, 2005 11:20 am

hey guys now that i have a sorted the code out to compile each c file sepratly the code seems to have slowed down quite a bit but i cant see any obvious reason for this could one of you guys look through the last source post and see if theres anything you can see.

#59489 - Darkflame - Wed Nov 02, 2005 5:38 am

Using the GBAMP/PassMe it works fine, but seems to crash when I hit the start button? :-/
That is, it pause's it, but dosnt unpause it.

#59524 - ninogenio - Wed Nov 02, 2005 1:14 pm

yes very sorry ive spoted the problem and am on to a fix as for the speed ive got it all back now.

i was thinking of using a tilemode insted of doublebuffered pixel ploting but i dont know much about the tilemodes on the ds or the gba.

i also tried dropping all my sprites in oam but i could only get a max of around fifteen 16bit sprites before they started going a little funny and stoped drawing.

#59607 - tepples - Wed Nov 02, 2005 9:38 pm

How much do you know about text mode on the PC?

If you have any experience with curses or conio on the PC, and you want to learn about Nintendo's tile modes, I'd suggest starting on the GBA using either ansi_console or agbtty.

Hint: In most cases, you want 16 color, not 16 bit.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.