SFML community forums

General => General discussions => Topic started by: Antidote on January 19, 2014, 08:50:55 am

Title: Wrote a Quake style drop console using SFML
Post by: Antidote 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

(http://alttpremake.wiiking2.com/screenshots/screenshot_1390117673.png)
(http://alttpremake.wiiking2.com/screenshots/screenshot_1390117732.png)
Title: Re: Wrote a Quake style drop console using SFML
Post by: eXpl0it3r on January 19, 2014, 01:24:27 pm
Cool :)
Title: Re: Wrote a Quake style drop console using SFML
Post by: ChronicRat on January 20, 2014, 07:25:40 pm
I'm used SFGUI to do the same. One hour - and smoothly sliding console is done.
Title: Re: Wrote a Quake style drop console using SFML
Post by: Antidote 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.