|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Rate this entry!
This poll has expired.
|
||||||||||||||||||||||||||||
Author | Message | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Coding competition 2016] 3D City by SteveProXNA
Posted: Mon Mar 21, 2016 6:58 pm
|
|||||||||||||||||||||||||||
http://www.smspower.org/Homebrew/3DCity-SMS
|
||||||||||||||||||||||||||||
|
Posted: Mon Mar 28, 2016 3:46 pm | |||||||||||||||||||||||||||
I very much like this idea of a Space Harrier type game! And, as my Star Wars crazy son said, now with Tie Fighters coming at you :) The 3D/flying into the screen and towards the city-effect does not convince my brain as much as the original Harrier checkerboard effect, though. Nice touch with fine tuning the aim with button 2.
No problems on my emulator. On my PAL SMS1 (through an Everdrive), the graphics glitch - it looks like the VDP recieves data too fast/during active display? |
||||||||||||||||||||||||||||
|
Posted: Mon Mar 28, 2016 8:44 pm | |||||||||||||||||||||||||||
Thanks for the awesome feedback!
RE: graphics glitch I actually received a direct message from Calindro about this earlier today As you may have guessed, I'm new to SMS Power: I used Fusion + Meka during development thus didn't see any graphics glitches here However, I just found out about the "Emulate VDP constraints" option in Emulicious And now I'm able to see the graphics glitch immediately :( FYI: I followed code samples written by haroldoop using z88dk to complete 3D City; Super thankful for these but not sure if these VDP issues can be resolved in C?!? Any suggestions to fix or assistance here would be greatly appreciated. Thanks! |
||||||||||||||||||||||||||||
|
Posted: Mon Mar 28, 2016 9:46 pm | |||||||||||||||||||||||||||
It's all about timing, control and optimisation. Make sure all your VRAM writing happens immediately after the VBlank (timing). You have a limited amount of time, so make sure you are not writing more than you need to (control and optimisation). If you really have to exceed the time available then you need to drop the write speed down once the display starts being active. | ||||||||||||||||||||||||||||
|
Posted: Tue Mar 29, 2016 2:58 am | |||||||||||||||||||||||||||
Lots of fun. Had most fun on hard, easy was too well... easy :p
If i had a suggestion it would be to have ships slightly different depending on how aggressive they are, a different colour possibly. Very enjoyable. |
||||||||||||||||||||||||||||
|
Posted: Tue Mar 29, 2016 10:02 am | |||||||||||||||||||||||||||
I don't know haroldoop's code, but it is something that shouldn't require any attention on your part IMHO. With devkitSMS (shameless promotion...) you just write to VRAM as you wish with no VDP issues and if you need to write data faster (when screen is off or in vblank) you can call an UNSAFE function (but it's explicitly named so, so you know what you're doing...) |
||||||||||||||||||||||||||||
|
Posted: Tue Mar 29, 2016 7:12 pm | |||||||||||||||||||||||||||
@psidum Awesome! Thanks for your feedback |
||||||||||||||||||||||||||||
|
Posted: Tue Mar 29, 2016 9:24 pm | |||||||||||||||||||||||||||
Thanks sverx for the feedback! I actually only heard about devkitSMS recently so was already committed to using z88dk for the competition. As you mention, calling high level functions that just write to VRAM as you wish with no VDP issues sounds perfect! |
||||||||||||||||||||||||||||
|
Posted: Tue Mar 29, 2016 10:21 pm | |||||||||||||||||||||||||||
Having just made two games using SDCC + devkitSMS, I must say that they have less limitations, a better library, and the generated code is more efficient than what Z88DK is capable of. ;) | ||||||||||||||||||||||||||||
|
Posted: Wed Mar 30, 2016 9:12 am | |||||||||||||||||||||||||||
On emulators it runs just smoothly and I enjoyed it, even if it's not really my genre of game (I found Space Harrier boring, enough said [yes you can now insult me] ;) ) | ||||||||||||||||||||||||||||
|
Posted: Wed Mar 30, 2016 4:18 pm Last edited by SteveProXNA on Wed Mar 30, 2016 7:10 pm; edited 2 times in total |
|||||||||||||||||||||||||||
Thanks haroldoop! I see how you've re-written DataStorm using SDCC + devkitSMS and runs great on Emulicious with the "Emulate VDP constraints" option enabled. I see your other game written using devkitSMS was "TwinMaze" Thanks for attaching the source code... this is always helpful...!! |
||||||||||||||||||||||||||||
|
Posted: Wed Mar 30, 2016 4:19 pm | |||||||||||||||||||||||||||
Awesome! Thanks sverx :) |
||||||||||||||||||||||||||||
|
Posted: Wed Mar 30, 2016 10:06 pm | |||||||||||||||||||||||||||
You're welcome. I'm glad you enjoy it! ;) |
||||||||||||||||||||||||||||