Author |
Message |
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Sun Mar 31, 2024 12:06 am
|
Had to take a break from programming today.
Added a guy to the title screen, not sure if I'll do anymore with it yet, I might animate the laser.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Mon Apr 01, 2024 8:03 pm
|
Started doing boss stuff.
I had considered vertical scrolling/moving boss but quickly gave up on that idea, plus I think horizontal only is fine for this game.
|
|
|
- Joined: 15 Dec 2015
- Posts: 17
|
Posted: Tue Apr 02, 2024 7:42 am
|
Wow, it looks really great now!
|
|
|
- Joined: 15 Jul 2022
- Posts: 29
|
Posted: Tue Apr 02, 2024 8:23 am
|
it's so cool !
Can't wait to see the rest.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Tue Apr 02, 2024 11:04 pm
|
Thanks!
Another work in progress boss.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Wed Apr 10, 2024 8:54 pm
|
Small bump with the jungle stage preview. This might be the last stage background I show before the game is finished I think.
Lots of enemy sprites and enemy events to do next.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Wed Apr 17, 2024 6:46 pm
|
Freed up some tiles on the volcano stage so added some more lava to give it some movement.
Added 3 new enemy sprites today too, a lot left to do...
Sound and music is complete and in the game though.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Thu Apr 25, 2024 7:04 pm
|
Small bump. Starting to design enemy and stage patterns now.
There seems to be plenty of CPU time left for more bullets but this enemy will probably do something more interesting.
|
|
|
- Joined: 02 Mar 2011
- Posts: 168
- Location: Valencia,Spain.
|
Posted: Thu Apr 25, 2024 7:56 pm
|
Great job! I follow your progress via X, and your game seems to me to have nothing to envy compared to commercial games for the SMS in the 90s.
|
|
|
- Joined: 01 Apr 2005
- Posts: 252
- Location: Almere, The Netherlands
|
Posted: Thu Apr 25, 2024 10:10 pm
|
Looks great. Can't wait to play it.
Please go easy with the color purple. It's a dead give away that the game is not designed by graphic designers. Me personally, I really hate the color purple in video games. But if it's just me then ignore the rant. lol.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Fri Apr 26, 2024 8:03 am
|
Aranya wrote Great job! I follow your progress via X, and your game seems to me to have nothing to envy compared to commercial games for the SMS in the 90s.
Thanks Aranya!
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Fri Apr 26, 2024 8:56 am
|
D wrote Looks great. Can't wait to play it.
Please go easy with the color purple. It's a dead give away that the game is not designed by graphic designers. Me personally, I really hate the color purple in video games. But if it's just me then ignore the rant. lol.
Thanks! I'm sorry you don't like purple but I probably won't change much, particularly on the backgrounds. It's a good compliment to yellow, which I'm sure you understand if you're a graphic designer.
I recently added a darker red to the sprite palette so that will replace purple in a lot of places though.
|
|
|
- Joined: 01 Feb 2014
- Posts: 882
|
Posted: Fri Apr 26, 2024 9:20 am
|
Speaking of graphic designers, I am one and I have no problems whatsoever with the color purple. I think your graphics are excellent and your choice of color in particular is outstanding.
What I’m not too sure about is that the origin of the player's shots is off-center of the player sprite. I understand it from a graphical point of view, but I think it might feel weird and require much getting used to in regards to the gameplay.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Fri Apr 26, 2024 10:59 am
|
[quote="Kagesan"]Speaking of graphic designers, I am one and I have no problems whatsoever with the color purple. I think your graphics are excellent and your choice of color in particular is outstanding.[quote]
Thanks!
Quote What I’m not too sure about is that the origin of the player's shots is off-center of the player sprite. I understand it from a graphical point of view, but I think it might feel weird and require much getting used to in regards to the gameplay.
That's a good point, the player is more visible than the player gun so it makes sense. I'll try it centred for a while and see how it feels.
|
|
|
- Joined: 03 Dec 2021
- Posts: 55
|
Posted: Fri Apr 26, 2024 1:27 pm
|
Hello and first of all congratulations for the development made so far, it looks stellar!
badcomputer wrote Kagesan wrote What I’m not too sure about is that the origin of the player's shots is off-center of the player sprite. I understand it from a graphical point of view, but I think it might feel weird and require much getting used to in regards to the gameplay.
That's a good point, the player is more visible than the player gun so it makes sense. I'll try it centred for a while and see how it feels.
This reminds me of some games which happened to have the shots off-centered: Time Soldiers and Rambo-first-blood-part-2 (although technically they might not qualify as "fixed screen shoot-em-up" though).
Just wanted to throw in this :)
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Fri Apr 26, 2024 7:57 pm
|
umbe1987 wrote Hello and first of all congratulations for the development made so far, it looks stellar!
Thanks!
umbe1987 wrote badcomputer wrote Kagesan wrote What I’m not too sure about is that the origin of the player's shots is off-center of the player sprite. I understand it from a graphical point of view, but I think it might feel weird and require much getting used to in regards to the gameplay.
That's a good point, the player is more visible than the player gun so it makes sense. I'll try it centred for a while and see how it feels.
This reminds me of some games which happened to have the shots off-centered: Time Soldiers and Rambo-first-blood-part-2 (although technically they might not qualify as "fixed screen shoot-em-up" though).
Just wanted to throw in this :)
I like Time Soldiers but wasn't a big fan of the guns to the side, it seems to work less well with 8 directions.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Fri Apr 26, 2024 8:02 pm
|
Continuing work on this mid boss.
Starting work on enemies with the mid boss turned out to be a good idea, as a mid boss like this has allowd me to work on simple movement and shooting functions and also branching patterns that big bosses have.
I have a lot of the underlying code in place for small enemies and bosses now, but building good/fun enemy patterns is gonna take a lot of time...
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Sat Apr 27, 2024 8:52 am
|
Some WIP screenshots/marketing. These stages will likely be the "back of the box" shots. There are two other stages that won't be revealed until some time after release.
|
|
|
- Joined: 18 Jul 2020
- Posts: 386
|
Posted: Sat Apr 27, 2024 10:23 am
|
Gorgeous looking game, much like your last game. The palette really pops. Very nice job on all your designs.
|
|
|
- Joined: 15 Aug 2005
- Posts: 25
- Location: Odivelas, Portugal
|
Posted: Sat Apr 27, 2024 11:46 am
|
badcomputer wrote Some WIP screenshots/marketing. These stages will likely be the "back of the box" shots. There are two other stages that won't be revealed until some time after release.
Have been following you on Twitter!!! Awesome game...crossing my fingers for a physical release. Keep up the good work!!!
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Sat Apr 27, 2024 1:09 pm
|
Thanks guys!
Dezanuebe wrote Have been following you on Twitter!!! Awesome game...crossing my fingers for a physical release. Keep up the good work!!!
I'm hoping for a physical release too, but just focussing on finishing the game for now.
|
|
|
- Joined: 02 Mar 2011
- Posts: 168
- Location: Valencia,Spain.
|
Posted: Sat Apr 27, 2024 7:53 pm
|
I believe your game definitely deserves a physical release.
"There are two other stages that won't be revealed until some time after the release."
I like this kind of secrets/surprises.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Sun Apr 28, 2024 7:12 pm
|
Aranya wrote I believe your game definitely deserves a physical release.
"There are two other stages that won't be revealed until some time after the release."
I like this kind of secrets/surprises.
Thanks, yes plenty of surprises still left to show!
And the soundtrack by Crisps, which takes about half the ROM!
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Yesterday at 12:28 pm
|
I'm currently adding little animations and bits that might drain the CPU. I decided it might be best to add these before building the stage events (enemy spawning), so I know how many enemies and bullets I can get on screen.
Spawning aimed enemy bullets is probably the biggest single-frame CPU hit, even with a lookup table for atan2, so I'm spacing those out appropriately.
|
|
|
- Joined: 01 Feb 2014
- Posts: 882
|
Posted: Yesterday at 3:13 pm
|
badcomputer wrote Spawning aimed enemy bullets is probably the biggest single-frame CPU hit, even with a lookup table for atan2, so I'm spacing those out appropriately.
Why do you want to actually calculate the trajectory?
For Flight of Pigarus I used four lookup tables with hardcoded x/y speed values for 16 directions. I only had to check the player's position relative to the enemy bullet source to assign the correct values to the bullet entity. The tables didn’t get more granular than 8x8 pixel cells and the accuracy of the aim was still more than sufficient. In your case, things could even be simpler, since your player's y position is fixed. That way you get aimed bullets with a minimum of cpu time wasted.
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Yesterday at 4:39 pm
|
Kagesan wrote badcomputer wrote Spawning aimed enemy bullets is probably the biggest single-frame CPU hit, even with a lookup table for atan2, so I'm spacing those out appropriately.
Why do you want to actually calculate the trajectory?
For Flight of Pigarus I used four lookup tables with hardcoded x/y speed values for 16 directions. I only had to check the player's position relative to the enemy bullet source to assign the correct values to the bullet entity. The tables didn’t get more granular than 8x8 pixel cells and the accuracy of the aim was still more than sufficient. In your case, things could even be simpler, since your player's y position is fixed. That way you get aimed bullets with a minimum of cpu time wasted.
Hmm maths is not my strong point (to put it mildly) so I could be over-engineering the problem.
I have an atan2 LUT (2d array) 32x24 which holds a value for each 8x8 pixel cell. I calculate the enemy-player offset and round to 8x8 pixel coord, and use those coords to get the atan2 value, and then use that to fetch the velocity from the SIN/COS LUT.
This is the function:
(create_next_* are globals for the next "creation" event normally set/used elsewhere)
bool enemy_bullet_aimed_create(void) {
if (num_enemy_shots >= MAX_ENEMY_SHOTS) {
return false;
}
static signed int dx, dy;
static unsigned char atan_two;
dx = (FIXED_TO_INT(player_x) + 8) - (create_next_at_x + 4);
dy = (FIXED_TO_INT(player_y) + 8) - (create_next_at_y + 4);
atan_two = atan2_get((dy + 4) >> 3, (dx + 4) >> 3);
SMS_mapROMBank(CODE_BANK_1_NUM); // SIN_LUT
create_next_vx = SIN_LUT[atan_two + 64] << 2;
create_next_vy = SIN_LUT[atan_two] << 2;
static EnemyShot *s;
s = &enemy_shots[num_enemy_shots++];
enemy_shot_set_new(s);
s->update_func = enemy_bullet_update;
return true;
}
One thing is I still need to be able to adjust velocity of aimed bullets based on 3 difficulty levels, but that's not included in the function yet.
Open to any suggestions for changes/improvements!
|
|
|
- Joined: 19 Oct 2023
- Posts: 147
|
Posted: Yesterday at 5:21 pm
|
As an addition to the above, I'm using only 16 directions for enemy movement events to keep it simple to construct paths, but I felt it didn't offer enough accuracy for aimed bullets. Some shot were missing and the player didn't have to move.
|
|
|