Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Wrote a Quake style drop console using SFML  (Read 3778 times)

0 Members and 2 Guests are viewing this topic.

Antidote

  • Newbie
  • *
  • Posts: 35
    • View Profile
Wrote a Quake style drop console using SFML
« on: January 19, 2014, 08:50:55 am »
It's a bit convoluted, and could definitely use improvement, but it's something.

Not going to post it the code here yet since it's in major need of cleanup, but I'll post a couple screenshots



eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Wrote a Quake style drop console using SFML
« Reply #1 on: January 19, 2014, 01:24:27 pm »
Cool :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: Wrote a Quake style drop console using SFML
« Reply #2 on: January 20, 2014, 07:25:40 pm »
I'm used SFGUI to do the same. One hour - and smoothly sliding console is done.

Antidote

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Wrote a Quake style drop console using SFML
« Reply #3 on: January 21, 2014, 07:53:17 am »
Rendering is the easy part, it's everything else that's a pain, as an example here is the code for handling input:
http://pastebin.wiiking2.com/X5Y3gHxu

Be warned though, I wrote each part as i needed it, and it does a lot of really bad things.
« Last Edit: January 21, 2014, 07:56:06 am by Antidote »