Author Topic: Little Text Demo (UPDATED WITH SOURCE FILES)  (Read 7457 times)

0 Members and 1 Guest are viewing this topic.

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
(Updated with source files now)

I hesitate to post this as I'm not really happy with it, but I also want to take the techniques I've learned from doing it forward into a 'proper' project so I need to draw a line under it soon and I might as well share what I've been messing around with.

It's a quick little scroller I threw together and carried on bolting little bits on (always a bad idea).  I will release the code when I've tidied it up so it doesn't embarrass me as much as it would now.

The code is a huge mess of unused variables, partial routines that I couldn't work out how to include, and so on.  It has no music or sound effects because it doesn't really have a theme or progression that would warrant it.

(I'd never make a salesman would I)

Although there are a couple of non text bits in there, the whole point of the thing was to test a concept for text scrollers.  As such, you won't find any 3D routines in there but you'll find lots of text.

Anyway, now I've REALLY sold it to you, download it and have a giggle.

Xal.
« Last Edit: July 02, 2008 by Xalthorn »
Challenge Trophies Won:

Offline stormbringer

  • Time moves by fast, no second chance
  • Amiga 1200
  • ****
  • Posts: 453
  • Karma: 73
    • View Profile
    • www.retro-remakes.net
Re: Little Text Demo
« Reply #1 on: July 02, 2008 »
Great! I love it! Keep it on
We once had a passion
It all seemed so right
So young and so eager
No end in sight
But now we are prisoners
In our own hearts
Nothing seems real
It's all torn apart

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Little Text Demo
« Reply #2 on: July 02, 2008 »
Xalthorn this is fantastic I love the reflections and the way the tiny text gets pushed around. You definately got some skills  8) karma comin your way for a great prod

Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Little Text Demo
« Reply #3 on: July 02, 2008 »
Unbelievable. This is truly rocking. Please add some music. It is very
good !!!

K++
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Little Text Demo
« Reply #4 on: July 02, 2008 »
I like it, but there're more envelopes to be pushed ;)

Jim
Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: Little Text Demo
« Reply #5 on: July 02, 2008 »
Thanks for the comments folks, I've nearly tidied the code up so I'll post that in a bit.

I considered adding music, and even popped the code in and threw a tune at it.  However, it didn't really fit as I kept changing what the demo did so the music would never be more than a simple backing track.  You may as well simply pop a tune on your PC and play that whilst watching the thing :)

I like it, but there're more envelopes to be pushed ;)

Jim

Hehe, I know.  This is hardly groundbreaking or even nudging envelopes.  It started as a little concept but I kept adding things to it (without any coordination or planning) simply because I could.

As a result, rather than trying to wrap a full demo around it, I figured I'd step back, take what I'd learned and plan (scary concept) something bigger.

I intend to use that proportional font quite heavily for all sorts of things, including a game project that I have planned (there's that scary word again).

I had fun (?!?) coding the plasma, drawing from a source in C I found on the net.  I had to change some things to make the gradient smooth (the original code had definite banding), which confused me for a while and then I threw it down to a single colour.

There is a commented line in my source that changes the plasma colour but it didn't look right for that use as the background then started to attract more attention than the text.  It also messed up the anti-aliasing on the font as I'm cheating rather than using alpha mixing.
Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #6 on: July 02, 2008 »
Okay, the source files are now in the updated zip.

Help yourself to the code and stuff, and if you want me to try to explain why the heck I did something in a certain way, just ask.

On the flip side, if you're scratching your head because you know a better way to do something I did, PLEASE PLEASE tell me.

If you read through the source, you may get the impression that I was aiming to do more with the principle behind it than I demonstrated.  If you get this impression, then you'd be perfectly correct.  I was aiming to make a fairly generic object handling system.  I was tempted to drop some fun objects in there with the scroller, but it felt like I would be adding stuff just because I could.

Which all boils down to the fact that I'll probably use this system for something a little bigger next time :D
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #7 on: July 02, 2008 »
More K for supplying code!!!

Looking forward to see more projects by you!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #8 on: July 02, 2008 »
Thanks for sharing the source, BTW what version of FB are you using I think you need to update. Also you should use rbz's tinyPTC_ext it has fixed some issues (mmx + refresh rate related) its only available here at dbf and is excellent for pixel pushing

Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #9 on: July 02, 2008 »
Thanks for sharing the source, BTW what version of FB are you using I think you need to update. Also you should use rbz's tinyPTC_ext it has fixed some issues (mmx + refresh rate related) its only available here at dbf and is excellent for pixel pushing


I'm using the version with modifications found on here, following Shocky's tutorial on getting going with FB.

when I run 'fbc -version' it says I'm using Version 0.15 for win32.
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #10 on: July 02, 2008 »
The current release is 0.18. Maybe a good idea to switch now so that others interested in your code / code by others will compile without having to use commandline parameters.

Just looking through the source preaty well coded with plenty of inlining in there too :) I like what I see you keep your code lean and mean. Only real problem is the bloat but it isnt your code bloating it maybe its crt.bi?

Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #11 on: July 02, 2008 »
yeah excellent stuff xalthorn!

i had a good look at your code and i think youve done quite a good job there. i use a diffrent style when i code in that i try to make my basic look a bit like oop and i try to keep every thing in types but for the way you code i dont think theres much to falt there.
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #12 on: July 02, 2008 »
Thats amazing Xalthorn dude, welldone. Great work and effort :)

Cheers,
Clyde
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #13 on: July 02, 2008 »
Astonishingly good for a first FB demo Xalthorn :)  :clap:

I often wondered what you would make if you had proper graphics capabilities, please add a song next time though :D

Have some good karma!
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Voltage

  • Professor
  • Pentium
  • *****
  • Posts: 857
  • Karma: 53
    • View Profile
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #14 on: July 03, 2008 »
Wow!  Great effects mate.  Keep these coming.
Challenge Trophies Won:

Offline DrewPee

  • I Toast Therefore I am
  • Pentium
  • *****
  • Posts: 563
  • Karma: 25
  • Eat Cheese - It's good for you!
    • View Profile
    • Retro Computer Museum
Re: Little Text Demo (UPDATED WITH SOURCE FILES)
« Reply #15 on: July 08, 2008 »
Love what you have done there - excellent visuals!

Andy
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk