|
Post by vetea on May 7, 2018 18:07:26 GMT -5
Hello, I finished a very short demo using some metal slug sprites. Here, we find the main hero who is in {32x32}, a hostage that is a sprite of {32x64} and a War Robot which is a sprite of {64x64}. All that exceeds 32px are Metasprites, a pack of sprite block to form a larger one. No glitches and slowdown of course, Megadrive Powa ! All animation frames are dynamically loaded to save VRAM. I still worked on the recovery of TileSet to adapt them on MD. Thanks to my tool MdTools, the conversion is done very quickly .. The longest being to code the whole of the small project. I did not add the moving frames of the Robot ... In addition, there is still room in VRAM to put more elements ... Here the limit is 1344 Tiles, we have plenty of space! Here is a small demo video:The BEX Listing :www.dropbox.com/s/3ai0wv5ow5pc26t/MetalSLug%20BEX%20Sample.txt?dl=0You can use it and modifiy as you want. Cheers, Vetea
|
|
|
Post by linkuei on May 7, 2018 18:15:15 GMT -5
Thank you vetea!
Can't wait for a "Metal Papi Commando" LOL
|
|
|
Post by vetea on May 8, 2018 11:22:26 GMT -5
|
|
|
Post by vetea on May 10, 2018 2:49:29 GMT -5
A new tutorial is coming ...
|
|
|
Post by linkuei on May 10, 2018 9:31:44 GMT -5
Nice vetea! Make a tutorial showing us how to make a good horizontal/vertical level scrolling.
|
|
|
Post by vetea on May 10, 2018 10:11:25 GMT -5
Hello, Here is the third and last tutorial for BEX! What's news :- Better code structure.
- Added new Meta Sprite (64x64 and 96x96!)
- Management of the jump with button A and sprint button C.
- MultiPlan Differential Scrolling Management.
- Collision management with the ground.
- Animation Management.
- etc., etc ...BEX listing : www.dropbox.com/s/3ai0wv5ow5pc26t/MetalSLug%20BEX%20Sample.txt?dl=0ROM :www.dropbox.com/s/hazuqi53jpv0g2f/MetalSlugBEXSample.bin?dl=0Now, VRAM is saturated !! Nevertheless, we managed to animate and display an honorable number of Sprites (15 sprites of 32x32 forming the MetaSprite and Joe). The biggest consumer of VRAM being the background scenery, Metal Slug requires, it is the detail therefore which eat the VRAM! There is certainly a way to optimize things, but it's a tutorial, to start and show the possibilities of BEX! I hope that with these 3 listing, you can do your tests, addition and modification. Also, I share the resources I used for Tutorials: www.dropbox.com/s/k7sqar6danho9u7/Ressources%20Metal%20Slug.zip?dl=0The ROM on my Nomad ! Almost a GBA Gfx ! You can also change them as you wish, try to add shots or other enemies ... Hoping that you enjoyed these tutorials and makes you want to embark on this wonderful adventure that is HomeBrew video game development !! Cheers, Vetea
|
|
|
Post by Sg on May 12, 2018 18:42:31 GMT -5
Fantastic Result , you are very strong
|
|