Author Topic: Space Impakto DS  (Read 15079 times)

0 Members and 1 Guest are viewing this topic.

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Space Impakto DS
« on: April 27, 2010 »
Space Impakto DS

Download:
http://rel.phatcode.net/junk.php?id=101


GameType:
Bullet-Hell SHMUP (Space shooter/Shoot 'em up) for your DS


Features:
* 2d gameplay
* 3d background
* All fixed-point engine (no real-time single float/double variable is ever used)
* Optimized texture use via texture packing
* Oldskool 8-bit/4bit sprites
* Newskool bullet hell gameplay
* Source included(Will be released on the final release)
* Replay mode
* Button config

Video(courtesy of Jurassicplayer)
http://www.youtube.com/watch?v=FoIRv-FBCaw

Another Video by Modariffic
http://www.youtube.com/watch?v=j4UhvvCxtIY


Screenshots:




Development:
Official Site: http://rel.phatcode.net

This is just a test level and really just uninspired almost random enemy sequence. 
I like entering this type contest so I would be forced to finish this game. :*)

I'm welcome to suggestions.

Enjoy.

BTW, is the level too hard or too easy for let's say level 2 in a 5 level game?

Changes:
Code: [Select]
v 0.8.4b  (04/09/11)
Finalized Boss sequence
Added a lot of enemies
Enemy sequence test
boss timer to remove "boss milking"
Bugfixes

v 0.8.3b  (04/04/11)
Boss Sequence Test
Bugfix


v 0.8.2b  (03/30/11)
HighScore Table
Name Entry

v 0.8.1b  (03/29/11)
Replay System (Just 32 KB. Yay!)
Key Config (Cearn's Idea)
Plasma BGs (I went for the symmetry this time)
Sub BG renderer

v 0.8.0b  (03/23/11)
Sexy Menu and GUI
Plasma Fonts
Sub BG rederer
Warp FX
Fonts

v 0.7.2b  (02/25/11)
Updated the source for libnds 1.5.0 (took me hours!)
Ditched stencil effects(glAssignTexture() is kinda slow)
Fx3D() singleton
Added some memory handler/feedback (2mb+ free memory still to use. yay!)



v 0.7.1b  (01/19/11)
Centipede enemy
Bombs
"Engine-ized" the game



v 0.7b  (01/16/11)
Added a second player (the R9)

Missiles
More enemies



v 0.6b  (01/11/11)
Decided
 that the current engine sucks and needs an overhaul
Recoded everything using the system I used in Bubble Fight EX
« Last Edit: April 20, 2011 by relsoft »
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Space Impakto DS
« Reply #1 on: April 27, 2010 »
I wish I had a DS!

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Space Impakto DS
« Reply #2 on: April 27, 2010 »
going to try this out in a little while ill have to dig my ds out the cupboard.

looking throught the source i can see you really know what your doing mate nice fixed point code and every thing looks as it should so big thumbs up for getting ontop of this stuff so quickly i had a bit of trouble figuaring it all out when i first started but well wow lol.

have you tryed the tile modes for big maps and stuff i made a massive scroller that shifts the tiles through 2 screens but i remeber it being a real nightmare to do.
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Space Impakto DS
« Reply #3 on: April 27, 2010 »
tried the nds out on the no donation / free version of no$gba as I don't have a Nintendo DS or if it needs a special programmable DS like the yab stuff, and dude welldone.

What I can tell is that there's a lib to make DS code in C.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #4 on: April 28, 2010 »
Thanks for trying it out guys.

Rick : You could try no$gba which is a windows  emulator for the DS.

Nino: I still have a lot to learn regarding the hardware (it has just been 2 weeks since I started coding for the DS).  It also seems that I could combine the 3d rendering system along with the 2d core on the "main engine".  I tried putting a quad below those sprites and it worked. So I might be able to use some sort of tunnel for some BGs.

Clyde: Yeah, C/C++. It's called DevkitPro.  It's a GCC port on the ARM. You can use it to code for the PPC and the PSP also.
Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: Space Impakto DS
« Reply #5 on: April 28, 2010 »
I wish I had a DS!

I sometimes re-furbish damaged, classic DSes.

Now, please don't be offended, but I've got an R4 card. There's scope for piracy, but I use it only for homebrews. With a 1.8GB (it says 2GB, but it isn't) card in there, there's loads of room for home brews. Maybe one day I'll get time to make some of my own to put on there.

I'll download this and have a look tonight.

(edit)
Wow! That's impressive! How long did it take you to learn how to do that?

I know it's not finished yet, but there's the start of a great game there.
« Last Edit: April 28, 2010 by combatking0 »
You are our 9001st visitor.
Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #6 on: April 29, 2010 »

Wow! That's impressive! How long did it take you to learn how to do that?

I know it's not finished yet, but there's the start of a great game there.

I downloaded DevkitPro April 10. Started coding about 4 days later because I didn't know how to set it up(turned out that it's actually just a snap) as I was unzipping every zip,7zip and rar on their own when I could have just installed offline via the inataller itself to automate the install process.

However, I've been reading DS coding stuff a week prior to April 10. So all in all, it's like 3 weeks at 2 hours a day(notwidthstanding brownouts).

Things that really make this harder than it is:

1. DS has no FPU (That engine does not use a single float or double) so you have to use Fixed-point math to accomplish stuff.
2. Sprite engine could only handle 128 sprites.
3. Very limited VRAM and RAM.
4. ARM7/9 being RISC cpus, makes MOD, /, etc very slow.
5. Very slow processor (66 mhz I think)

However, these are the things that make DS coding great.
1. Built-in 2d engine (though kind of hard to manage if you looked at the Cobject and Csprite code)
2. Built-in 3d engine.
3. My daughter loves to try my programs on her DS.
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Space Impakto DS
« Reply #7 on: April 29, 2010 »
well rel i am astounded at how far youve come in this short time!

and absoulutly you can use the 2d engine and the 3d one at the same time although only on one screen at a time.

you can however do 3d on both screens at the same time at 30fps using the screencapture hardware (draw to the back buffer in 3d take a screen grab flip the 3d engine at the other screen blit the 3d meant for that screen, and yous the 2d core to blit the 3d image grab on the top screen) thats how its done in some of the ninty games but like i say it half your frame rate although its not so much of a big deal at 30fps it still plays nice.

or

double up the the max vertex limit on a single screen but you have to keep track of every thing your self if you use the screen capture for this.

do some bloom glow shader effects.
Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #8 on: April 30, 2010 »
I've tried to read up on the 3d engine and it seems not too hard to do since they made an opengl wrapper and that the DS registers are much like OpenGL's state machine.



http://rel.betterwebber.com/junk.php?id=102
« Last Edit: April 30, 2010 by relsoft »
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Space Impakto DS
« Reply #9 on: May 01, 2010 »
yeah the ds is perfectly suited for opengl and like i said you can do some really nifty feed back effects using the screen capture hardware.

lol im going to start experimenting again you have givin me the bug rel.
Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #10 on: May 07, 2010 »
Nino: Nice to see you getting back to DS coding.

Update:

Download:

http://rel.betterwebber.com/junk.php?id=101

* 2d/3d combo
* optimized the fixed-point spline funk
* I'm coding half-blind most of the time since I don't know the hardware that much.

screens:





Todo: Use the 3d engine to render some 2d sprites...
Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #11 on: May 11, 2010 »
3d to 2d engine almost done:

http://rel.betterwebber.com/junk.php?id=104

Bye-bye 128 sprite limit..

« Last Edit: May 11, 2010 by relsoft »
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Space Impakto DS
« Reply #12 on: May 19, 2010 »
Impressive Stuffs relsoft   :clap: :)

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #13 on: May 26, 2010 »
Thanks!

Update:

* Migrated the rendering engine to use the 3d core.
* Optimized the rendering a bit using GFX_VERTEX_XY instead of GFX_VERTEX_16. (depth is managed manually)
* Sprite rotation and clean stretch implemented
* Coded and BASIC(Freebasic) UV coord auto generator for my sprite images for ease of loading.

Screen:


Download:
http://rel.betterwebber.com/junk.php?id=101

As usual, source is included.
Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #14 on: May 30, 2010 »
Tool update:

Texture atlas generator(makes memory usage lower):
Based on this: http://www.blackpawn.com/texts/lightmaps/default.html

DL
http://rel.betterwebber.com/junk.php?id=106

Screen:


Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Space Impakto DS
« Reply #15 on: May 30, 2010 »
I can really use this. Thanks rel!

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #16 on: May 30, 2010 »
I can really use this. Thanks rel!

Because you need it...

Texture packer update:

http://rel.betterwebber.com/junk.php?id=106

Changes:

Multiple images support
Instructions on how to use (readme.txt)
Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Space Impakto DS
« Reply #17 on: June 16, 2010 »


Watch:
[youtube]http://www.youtube.com/watch?v=xuPRiI41BBs[/youtube]

Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Space Impakto DS
« Reply #18 on: June 29, 2010 »
hey rel,

i must admit i feel bad i was following your work closly then things in life have been a bit tough over the last couple of months.

but i feel that what you have acheived there with the ds needs a comment, that is awsome i cant belive you got the ds to throw that much around, and in such little time its really really very impressive and too any one else reading belive me what rel has done is no easy feet.
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Space Impakto DS
« Reply #19 on: June 29, 2010 »
totally agree!
game style is a bit to intense for me, but it's absolutely awesome Relsoft Dude
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won: