Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

FPGA Based Car Game (Christmas Themed)

Status
Not open for further replies.

bwarlord01

Junior Member level 3
Joined
Sep 2, 2017
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
194
can anyone help me how to change the background of my FPGA Based car game into Christmas themed game? the background should be like snowing, and i want to convert the car into santa's sleigh
 

Recalling early years with my VIC-20 computer...

Add snow by painting individual pixels white. The first time can start with snow at row 1, column 1.
1) Paint every 20th pixel horizontally.
2) Skip 20 pixels down and repeat step 1.
3) Repeat the above many times.
4) Let the scene remain for a fraction of a second.
5) Add one row to the snow position.
6) Draw the next frame.

To create your own graphical icons you need to know how to store an image in memory, and how to retrieve it and draw it onscreen. Storing a color image requires more work than a black and white image. Draw a simple cartoonish picture of a sleigh. Break it up into pixels. Store it in memory. Paint it where the car would appear. Create a variable for storing its row and column position from frame to frame.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top