Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:26 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : picoflap

     Page 1 of 4    
Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 08:19pm 12 Jan 2024
Copy link to clipboard 
Print this post


PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 08:21pm 12 Jan 2024
Copy link to clipboard 
Print this post

Just a teaser....

It is 10 years ago that flappy bird was taken out of the APP stores because "it was addictive" ....



It is far from finished... so patience....

Volhout
Edited 2024-01-13 06:24 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 396
Posted: 09:27pm 12 Jan 2024
Copy link to clipboard 
Print this post

Haha!! How cool is that?! Nice!
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 08:12pm 14 Jan 2024
Copy link to clipboard 
Print this post

Here is the first version of the flappy bird game for picomite VGA.
It took met almost 6 hours to complete. Most of it in graphics design.
SPRED102 is your best friend, as is MS PAINT.

Game mechanics
- you control the bird with the space bar, that makes the bird fly higher
- avoid hitting the pipes
- just try to get as far as you can

known issues:
- the game ending does not show the score board and the medals, it just stops
- there are no sound effects yet, only the music.
- collision detection is not perfect.

to do list
- game ending and medals
- LCD version
- controllers.

Have fun playing....

flappy7.zip

Unzip all...
RUN "FLAPPY7.BAS"

Volhout

P.S. if you find it difficult to play, change line 76 "v=-8" to "v=-7"
Edited 2024-01-15 19:14 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 12:07pm 15 Jan 2024
Copy link to clipboard 
Print this post

looks like the Zip File is corrupt.
nul.spr couldn't be extracted
Edited 2024-01-15 22:07 by Martin H.
'no comment
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 12:20pm 15 Jan 2024
Copy link to clipboard 
Print this post

Re-zipped....

RUN "FLAPPY8.BAS" with minor changes.

flappy7.zip

It is a stupid simple game, not in the league of any other. Too simple.

Regards,

Volhout
Edited 2024-01-15 22:23 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 01:11pm 15 Jan 2024
Copy link to clipboard 
Print this post

Simple is good.
Looking forward to the GameMite version.

Geoff
Geoff Graham - http://geoffg.net
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 06:31am 16 Jan 2024
Copy link to clipboard 
Print this post

Hi Geoff,

The LCD version will be quite different. Re-think from bottom up. The VGA version uses SPRITE commmands that may not be available as BLIT. Such as SPRITE SCROLL and SPRITE MOVE. And it has a loop tick of 50ms, with pixel scroll, where PETSCII had 100ms ans scrolled in 24 pixel blocks.

I will take up the challenge, but first want to finish this VGA version.

Volhout
Edited 2024-01-16 17:02 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 09:52am 16 Jan 2024
Copy link to clipboard 
Print this post

Harm,
Can you publishe the mp3 for the SFX. I can convert them to 8Bit Mono 16kHz Waves and add them to the MOD (as ususal).
Cheers
  Martin
'no comment
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4036
Posted: 10:11am 16 Jan 2024
Copy link to clipboard 
Print this post

  Volhout said  The LCD version will be quite different. Re-think from bottom up. The VGA version uses SPRITE commmands that may not be available as BLIT. Such as SPRITE SCROLL and SPRITE MOVE. And it has a loop tick of 50ms, with pixel scroll, where PETSCII had 100ms ans scrolled in 24 pixel blocks.


IIRC the Game*Mite's ILI9341 can hardware scroll to the left/right when in landscape orientation (or up/down when in portrait orientation), I'm sure @matherp has posted some *magic* for setting the appropriate "registers" ... it was perhaps even mentioned by him in the PETSCII Robots thread.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 08:16am 17 Jan 2024
Copy link to clipboard 
Print this post

Hi Martin,

I did send this yesterday, but the post did progress to the thread.
So here ... re-try....

This is the SFX that I found and think sounds good.

The music MOD file is in the flappy7 folder.

If you would be so kind to combine them. Much appreciated !!

flappy_sfx.zip

Volhout

@Tom,

I will look at this, but the current flappy implementation scrolls the N layer 1 pixel per 90 loops, and the L layer 1 pixel per loop. To be honest, the N layer (background scroll) is not essential, just eye candy for those who master 10 pipes...
But there is a lot to change before the LCD version does approximately the same as the VGA version. I may have to revert to 2 pixel scroll per 100ms, and change all the sprites to a binary library like PETSCII.

Volhout
Edited 2024-01-17 18:17 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 09:51am 17 Jan 2024
Copy link to clipboard 
Print this post

here the Mod with SFX

modsample 16 = Die
modsample 17 = Hit
modsample 18 = Swosh
modsample 19 = Wing

ssl3sfx.zip
'no comment
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 09:55am 17 Jan 2024
Copy link to clipboard 
Print this post

Hi Martin,

That is fast..!!! I am excited !!! Will try this tonight.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 10:07am 17 Jan 2024
Copy link to clipboard 
Print this post

  Volhout said  Hi Martin,

That is fast..!!! I am excited !!! Will try this tonight.

Volhout


since you only have 4 SFX samples, you can also use a separate channel (1-4) for each one.
This has the advantage that they don't get in each other's way when playing.
Good Luck
Martin
Edited 2024-01-17 20:08 by Martin H.
'no comment
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 10:21am 17 Jan 2024
Copy link to clipboard 
Print this post

Quick test...

Is there any way to make the music less loud ? Or the sfx louder ? The SFX are almost inaudible because the music is so loud. I guess you need 6 or even 12 db difference.

Volhout
Edited 2024-01-17 20:31 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 10:39am 17 Jan 2024
Copy link to clipboard 
Print this post

  Volhout said  Quick test...

Is there any way to make the music less loud ? The SFX are almost inaudible becuase the music is so loud.

Volhout

hmm
I don't know a quick method, but I can make every single instrument of the music a little quieter and the SFX as loud as possible.


sll3sfx2.zip

I hope this does the Job
Edited 2024-01-17 20:42 by Martin H.
'no comment
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 11:07am 17 Jan 2024
Copy link to clipboard 
Print this post

Hi Martin,

This is good. Thank you !!

Volhout
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 12:50pm 17 Jan 2024
Copy link to clipboard 
Print this post

All,

It was less work than I thought, so I finished functionality of flappy bird for picomite VGA (tested on V50800RC3).

I consider this as the first release candidate. Any feedback will be appreciated.
Implemented is only keyboard control (only the <space> bar).

flappy10.zip

Unzip all to your SD card or A: drive.
Then RUN "FLAPPY10.BAS".

Have fun with this game,

Volhout
PicomiteVGA PETSCII ROBOTS
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 01:09pm 17 Jan 2024
Copy link to clipboard 
Print this post

Be careful, the game can be addictive,
but it's a nice, simple game . And I'm so bad at it

when unpacking I had problems with the nul.spr.. (nul is a devicename in Windows)
I replaced them with one.spr in the listing..
Edited 2024-01-17 23:21 by Martin H.
'no comment
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 02:20pm 17 Jan 2024
Copy link to clipboard 
Print this post

Hi Martin,

Never heard of this. There always is a surprize...

Then this should work...
Renamed the file inside the ZIP to "nulll.spr" and changed the program to work with the new name.

flappy10_1.zip

Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 1 of 4    
Print this page
© JAQ Software 2024