Vector Text in free...
 
Notifications
Clear all

Vector Text in freebasic . . .

AndyRCM
(@andyrcm)
Member Admin

Again something I am working on - early days yet - similiar to my laser effect seen elsewhere but supposed to look like a vector based drawing routine.

Andy

"I could see the faces of those who led pissing themselves laughing" - Funeral Pyre by The Jam

Quote
Topic starter Posted : 07/07/2009 8:17 pm
Panther
(@panther)
Member Moderator

Nowhere near upto your standard Andy, but it's early days  8)

ReplyQuote
Posted : 07/07/2009 8:42 pm
AndyRCM
(@andyrcm)
Member Admin

superb mate - im impressed!

"I could see the faces of those who led pissing themselves laughing" - Funeral Pyre by The Jam

ReplyQuote
Topic starter Posted : 07/07/2009 9:00 pm
Amiga Man
(@deaf-man)
Prominent Member

Nice Vector Text there ANDYRCM  🙂

Blackpather:  It nice to see somethings on the screen and keep going  😉  I am sure you will be up there with ANDYRCM when you keep working on it  😉

ReplyQuote
Posted : 07/07/2009 9:19 pm
AndyRCM
(@andyrcm)
Member Admin

up there with me . . . i hope he can show me some stuff . . . 😉

"I could see the faces of those who led pissing themselves laughing" - Funeral Pyre by The Jam

ReplyQuote
Topic starter Posted : 07/07/2009 9:21 pm
Blackpanther
(@blackpanther)
Noble Member

Nice Vector Text there ANDYRCM  🙂

Blackpather:  It nice to see somethings on the screen and keep going  😉  I am sure you will be up there with ANDYRCM when you keep working on it  😉

Thanks but I think you mean Panther!  ;D

Nintendo 3DS Friends Code: 2793-0594-8875

ReplyQuote
Posted : 07/07/2009 9:25 pm
Panther
(@panther)
Member Moderator

superb mate - im impressed!

High praise from the master  ;D

ReplyQuote
Posted : 07/07/2009 9:30 pm
AndyRCM
(@andyrcm)
Member Admin

Mate - im certainly not the master . . . not by any stretch of anybodys imagination! 🙁

I enjoy what i do and usually code for myself . . . as I did with Swarm . . . it was written for me! 😉

Seriously the guys on DBF are gods - some of them are really amazing coders, shockwave included! I have learnt so much from them it is amazing!

Some routines that Shockwave has shared such as Fire, Scrollers, Drawing Routines . . . etc . . . amazing!

Andy

"I could see the faces of those who led pissing themselves laughing" - Funeral Pyre by The Jam

ReplyQuote
Topic starter Posted : 07/07/2009 9:34 pm
Panther
(@panther)
Member Moderator

Saw the 8 colour twister that he did, awesome !!  😮 😮

I'm just having fun experimenting at the moment

ReplyQuote
Posted : 07/07/2009 10:04 pm
Amiga Man
(@deaf-man)
Prominent Member

very good and glad u are enjoying it 😉

ReplyQuote
Posted : 07/07/2009 10:21 pm
AndyRCM
(@andyrcm)
Member Admin

@Panther - I take it from what I have seen so far you are using the built in routines . . .

take a look at this code . . . and i have attached an .exe too! 😉


#include once "tinyptc_ext.bi"

const xres = 800
const yres = 600

    ptc_allowclose(0)
    ptc_setdialog(1,"Would you like to go Fullscreen?",0,1)
    If( ptc_open( "Starfield - Again!", XRES, YRES ) = 0 ) Then
    End -1
    End If

Dim Shared as Integer sb(xres*yres)
#define pp(x,y,argb) sb(y*XRES+x)=argb
Dim Shared as Integer aa,bb,r,g,b

Declare Sub Noise

WHILE(GETASYNCKEYSTATE(VK_ESCAPE)<> -32767 and PTC_GETLEFTBUTTON=FALSE)
    Noise
    ptc_update @sb(0)
Wend

ptc_close()
end

Sub Noise
    for aa=0 to xres-1
        for bb=0 to yres-1
        r=int(rnd(1)*255)b=int(rnd(1)*255)
        pp(aa,bb,rgb(r,g,b))
        next bb
    next aa
End Sub

🙂

"I could see the faces of those who led pissing themselves laughing" - Funeral Pyre by The Jam

ReplyQuote
Topic starter Posted : 07/07/2009 11:08 pm
Panther
(@panther)
Member Moderator

I had a similar effect to start with  🙂

But haven't got a clue about the tinyptc commands (even though I did download then as you suggested !), still trying to get to grips with Freebasic standard commands !

ReplyQuote
Posted : 08/07/2009 8:59 am
AndyRCM
(@andyrcm)
Member Admin

🙂 - nice one! Keep it up - we will have to create a new part on the forums for coding now! 😉

Andy

"I could see the faces of those who led pissing themselves laughing" - Funeral Pyre by The Jam

ReplyQuote
Topic starter Posted : 08/07/2009 9:07 am
Panther
(@panther)
Member Moderator

Could probably do with it, before we take over other areas  ;D

ReplyQuote
Posted : 08/07/2009 9:26 am
Share: