Sega Saturn Development > Project announcement

Project Blaze

<< < (3/5) > >>

NeoSnk:

--- Quote from: Chron on September 02, 2016, 06:49:51 pm ---I like how that rain looks, nice job.  Snow is a bit jittery, but still good.

If I may make some comments on your code:
You've got a lot of "magic numbers" in multiple places, which are constant literals (100, 160, etc) that would make your code more readable and easier to maintain as either constant variables or compiler definitions.

A simple example, from your code:

--- Code: ---
int drops = 100;
int save_y[100];
int save_x[100];
int save_speed[100];

--- End code ---

It could be easier to do it like this:

--- Code: ---
const int DROPS = 100;
int save_y[DROPS];
int save_x[DROPS];
int save_speed[DROPS];

--- End code ---

#define DROPS 100
is also a way to do this thing.

Then any place you have code which depends on the number of drops you don't have to remember to change, you just change the value of the constant or the compiler macro; saves a lot of headache with larger programs.

You may also want to consider using an array of structures to keep track of the data you have in separate arrays.

Apologies if you already know this stuff, I just felt like pointing it out.

--- End quote ---

Hey man great advices, I will do these changes!!! Tks for sharing!

NeoSnk:
I updated to the "Share your code" section with these changes, thank you man!

NeoSnk:
[Testing] Movement on the platforms and applying effects on the game.

https://www.youtube.com/watch?v=lXuIigWEdLU

NeoSnk:
The Sega Saturn version is looking great with our own art and music now. We will show it only in November :p LoL. For now I want to show you guys that I'm working on the Dreamcast version on this month.

https://www.youtube.com/watch?v=g7vFXYz8t8Y

In one month we will show the Saturn/Dreamcast/Mobile version updated with new graphics, music, effects!!! Our game is starting to look professional now hehe.

Thank you for all the support.

NeoSnk:
Hey guys, here is a test with the new art on Sega Saturn. I still have a lot to do, but this is just to have an idea of what is coming in November!

https://youtu.be/RqXfYPC0WLc

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version