You are browsing as a guest. Sign up (or log in) to start making projects!

AsciiBird

  • 8 Devlogs
  • 8 Total hours

A terminal based flappy bird game!

Super Star

As a prize for your great work, look out for a bonus prize in the mail :)

Ship #1

I creaded a AsciiBird! A flappy bird version on the terminal. I learned about frame buffers, memcpy() and how to handle user input without the canonical mode and the terminal ECHO.

Space Jumps
R restarts
Q exits

  • 8 devlogs
  • 8h
  • 14.29x multiplier
  • 119 Stardust
Try project → See source code →
Open comments for this post

21m 34s logged

Devlog #07

Added finally windows support!
I added the tag _WIN32 to speciallized compile.

As i do not have windows, i cannot compile the inary and put it on releases. If your’re on windows, you’ll need to build it from source… ;(

0
0
9
Open comments for this post

40m 41s logged

Devlog #06
GAME COMPLETE

I added the points and gameover system.

I did it fast, so the code is crappy by the moment. But after i refactor it. I only need to port it to windows before shipping.
(Yeah, i’m terrible in my own game, as yall can see in this clip)

0
0
10
Open comments for this post

43m 28s logged

Devlog #06
Working pipes!

I added the pipe mechanic. So now it spawns at different Y levels and returns to the X initial position to not waste memory.

It does not make the player die or anything, i’ll add this later.

0
0
9
Open comments for this post

1h 25m 35s logged

Devlog #05
Basic Mechanics added!

So basicly my core ascii engine is ready. So, i’ll start making the flappy bird logic. Since is simple, i’ll make it faster. after i can make some other scenes such as a menu or stuff.

By the time, i have a funcitonal gravity and a jump mechanic. Still needs the pipes.

0
0
8
Open comments for this post

1h 25m 1s logged

Devlog #04
Finally working clock!

I now finished the interface. The std::chrono Library is a really torture to convert and display. THe documentation is the end of the world.

Todos:

  • Add a setTargetFPS() function
  • Add a getFrameTime() function for deltatime
  • Start the game itself,
0
0
12
Open comments for this post

1h 42m 20s logged

Devlog #03
FINALLY NONBLOCK INPUT
I’ve navigated for like almost 40 minutes and not found any reasonable or good answer. I had to search with AI to learn what is the termios struct and how it works on the linux headers.

Is a lot more simple than stack overflow answers. I thought using ncurses but it still not have a full port for windows later. I’ll use <conio.h> to read input on windows.

0
0
11
Open comments for this post

1h 29m 39s logged

Devlog #02
I added sprite loading and rendering. The Framebuffer is also implemented and i had some headaches
I wanted to load sprites from files. I searched all over the google to see how to use only \n as delimeter. I didn’t find.
THIS TOOK ME HALF AN HOUR
I used AI for that. I’m not a machine ;(

0
0
2
Open comments for this post

30m 52s logged

Devlog #01
Project initialized. Cmake, README and Git repo all setted
Just started writting my logic to render things on the terminal! The idea is to be mantainable and secure. Here’s the renderer class scaffold

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…