Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Syntax Highlighting

Author
Message
Kevin Picone
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 10th Aug 2007 15:14 Edited at: 16th Apr 2022 15:21
Syntax Highlighting

Knocked this one up yesterday, basically it loads a PlayBASIC source code and displays it like the IDE, you can scroll through it. Took a bit long longer than expected due discovering an oddity with VM2 string engine, but once that was ironed out it pretty much came straight to life. Works pretty well considered it's just straight PB code. Rendering text is the main bottle neck, every draw icall it's locking, rendering, unlocking the surface. Could get rid of that but not sure it's worth tinkering with. Since is just an experiment at the moment.

PlayBASIC To HTML5/WEB - Convert PlayBASIC To Machine Code

Attachments

Login to view attachments
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 11th Aug 2007 02:54
looks pretty good, a lot like the Guy Savoie DBC editor which is a good thing in my book.
Not sure about the gold
good work

Your signature has been erased by a mod because it was rubbish.
Kevin Picone
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 12th Aug 2007 18:48 Edited at: 28th Mar 2011 03:56
It's really just tossed together. Was thinking though, that if I tied this with the new menu stuff. Could make make a little text/source editor in PB.. Hmmm

Flexi Menu

Login to post a reply

Server time is: 2024-05-19 05:44:14
Your offset time is: 2024-05-19 05:44:14