It is currently Mon Nov 20, 2017 6:55 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Spacy Shooty 2016
PostPosted: Thu Aug 25, 2016 5:17 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1823
Location: DIGDUG
I've rewritten the example game from my blog. It's almost a full game now...you can play through it in 5-10 min. Eventually, I will make the source code available. This is a bit of a test version of it. It may still have bugs, and I'm going to tweek/rewrite the patterns and order.

http://dl.dropboxusercontent.com/s/70f8 ... Spacy4.zip

Let me know what you think. Thanks.

I'm pretty happy with the sprite object system that I came up with...I'm using a lot of structs and pointers. I'm using the 'metasprite' tool from NES Screen Tool, and I wrote a python script to take the metasprite output, and convert it into a format that works really well with my sprite rendering system. The OAM is completely dynamic, and is rebuilt every frame.

EDIT: link updated 8:23 PM EST


Attachments:
SPACY4.png
SPACY4.png [ 2.19 KiB | Viewed 2170 times ]

_________________
nesdoug.com -- blog/tutorial on programming for the NES
Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Thu Aug 25, 2016 5:27 pm 
Offline
User avatar

Joined: Wed Apr 02, 2008 2:09 pm
Posts: 1035
Left seems more powerful than right?

Image

_________________
https://kasumi.itch.io/indivisible


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Thu Aug 25, 2016 5:31 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1823
Location: DIGDUG
I'll iron out the bugs a little later. Thanks.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Thu Aug 25, 2016 5:35 pm 
Offline
User avatar

Joined: Wed Apr 02, 2008 2:09 pm
Posts: 1035
Then one more and I'll be off. I died and this happened:

Image

I got hit near the edge while drifting right. My ship exploded and respawned halfway into the screen. No enemies could hit me there until the boss.

_________________
https://kasumi.itch.io/indivisible


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Mon Aug 29, 2016 10:45 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1823
Location: DIGDUG
Link updated, made a few tweaks. It's a bit harder now. Added some random enemy bullets. And they kind of angle at you now.

Still need to clean up and comment the code a bit more before I post the source code, since it is supposed to be example code.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Tue Sep 06, 2016 2:55 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1823
Location: DIGDUG
Link above now includes source code.

Also, if anyone wants to use this code to make a different / better game, go right ahead.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Thu Sep 15, 2016 10:37 pm 
Offline

Joined: Sun Nov 23, 2014 12:16 pm
Posts: 175
This looks so cool. I support this project and want to see you finish it! Maybe even a cartridge release.


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Sat Nov 11, 2017 6:55 am 
Offline
User avatar

Joined: Wed Mar 16, 2016 2:08 pm
Posts: 25
Location: World 9 - Warp Zone
The game looks pretty good. The only thing that does not convince me is the control of the spacecraft. It seems that when you move the sprite of the ship it moves with a certain level of inertia towards that same side.

In any case, thanks for including the source code of the game.

_________________
Projects:
My HomeBrew Stuff (8bits/16bits/32bits)
J_GB Emulator (GB / GBC / SGB Emulator written in Java)
NES4J Emulator (NES / FAMICOM / FDS Emulator written in JAVA)


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Sat Nov 11, 2017 6:45 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1823
Location: DIGDUG
I'm still waiting for someone to use this source code to make a better game. 100,000 unique visitors to my blog, and not 1 taker.

Maybe I made it too complex, using tons of ASM functions, and a mid-screen Y scroll change.

Do you think I should redo it, and make it simpler? Maybe? Use only C code?

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Sun Nov 12, 2017 3:19 am 
Offline
User avatar

Joined: Thu Sep 15, 2016 6:29 am
Posts: 382
Location: Denmark (PAL)
Agreed with Ryoga on the inertia - sorry to be so "absolute" about it, but it has to go. It works in games like Defender and Asteroids where it's a central gameplay element, but in a pure shoot/dodge'em up game, you want absolute 100% precise control of the spaceship. Galaga did it right, no reason to change that.
This might sound like nitpicking, but it's actually a big issue with anyone who's into that kind of games. It's a very common thing to add when westerners develop shooting games, and it's almost universally bad - a typical "euroshmup" trope. It makes the controls less intuitive and the game less fun to play, so why have it. :) There are much more fun ways to make a game harder.
Otherwise I think this looks reall promising and a lot of fun.

Oh yeah, another things shmup developers learned over time is that the hitbox of your ship should never be larger than it needs to. I'm not talking bullet hell style 1x1 px hitboxes, just something that's at least somewhat smaller than the visible sprite, to make the game feel more fair to your player. Whenever something feels off about the hitbox, you much rather want the player to think "whew, I don't know what happened, but I was lucky I made that" than "what the hell, I didn't touch that!"

The latter was a stable of many otherwise great, classic Konami shooters, and they would have been better off without that (ie. see the awesome PC Engine port of Salamander vs. the problematic arcade original)


Top
 Profile  
 
 Post subject: Re: Spacy Shooty 2016
PostPosted: Sun Nov 12, 2017 4:43 am 
Offline
User avatar

Joined: Wed Mar 16, 2016 2:08 pm
Posts: 25
Location: World 9 - Warp Zone
dougeff wrote:
I'm still waiting for someone to use this source code to make a better game. 100,000 unique visitors to my blog, and not 1 taker.


I've been wanting to do some homebrew game for NES for some time and that's why I was interested in this thread. When I have more free time of insurance that I will get to it (and who knows if I can ever contribute in some compo). I'm interested in doing a shoot em up for NES since I made a game of this genre in C for the open-source console GP2X-Wiz years ago and I wanted to make a port of that game to a console like the NES, although during some time I was considering the option of porting it to GB-Color or GB-Advance, systems for which I have also programmed some games.

dougeff wrote:
Do you think I should redo it, and make it simpler? Maybe? Use only C code?


I downloaded the source code of the game but I have not yet had the time to study it carefully. In any case, the assembly language (in any system) is always harder to learn or understand than the C language. If you want to make your code more accessible to people, you may be able to consider the change but I do not think it is a priority. taking into account that nobody has really been interested in it in your blog.

_________________
Projects:
My HomeBrew Stuff (8bits/16bits/32bits)
J_GB Emulator (GB / GBC / SGB Emulator written in Java)
NES4J Emulator (NES / FAMICOM / FDS Emulator written in JAVA)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group