|
Post by kennn on Jul 4, 2019 1:37:10 GMT -6
|
|
|
Post by tbird on Jul 4, 2019 6:23:37 GMT -6
Looks interesting, its being ported to SDL2, but keeping dependencies low, so will be missing alot of stuff, appears to be a less feature rich/slower version of RC.
|
|
|
Post by johnno56 on Jul 4, 2019 9:25:40 GMT -6
Install AllegroBasic without issue... Running it, however, was a different mater....
The editor ran fine. Opened and loaded some of the examples. The editor had no problem producing an executable. But the editor would not run either the loaded script or executable.
Ran it from a command terminal and executed "floodfill" which produced the following error. "./floodfill: error while loading shared libraries: liballeg.so.4.4: cannot open shared object file: No such file or directory"
Problem solved.... Scrolled a little lower down on the AllegroBasic homepage to read the command so as to install the library. Library installed successfully and AllegroBasic is now running.
It's almost 1:30am and I have to be up at 6am. I will read the documentation and "tinker" 'after' I have had my morning coffee and get back to you on what I find... Goodnight... lol
J
|
|
|
Post by johnno56 on Jul 4, 2019 17:07:20 GMT -6
Ok. I have read through the "manual" and found it, no pun intended, fairly basic. A few commands that are foreign to me, but hey, which flavour of basic doesn't have a few strange ones, right?
Right. I ran the Fractal example and it took 29.576 seconds to draw a mandelbrot set. RCBasic ran it in 8.5333 seconds. I would imagine that Allegro will improve once the conversion to SDL2 is finished. (fingers crossed) There seems to be some limitations, in regards to image and sound types, but that's not a 'deal breaker'... lol I would be curious to see how Allegro would handle games or even a 'benchmark' application.
Ran a simple 'counter' loop to 10,000,000. Allegro 0.332 and RC in 0.151
It looks interesting, but if the conversion to SDL2 is imminent, then perhaps I will wait until then to give it some serious testing. In the meantime I will continue to "tinker".
Thanks Kenn. Nice find.
|
|
|
Post by tbird on Jul 4, 2019 19:55:27 GMT -6
With all the quick click create engines out there, still makes me smile too see, people who just like to code for the sake of it  .
Quick question, if they convert to SDL2 what will the name be?
|
|
|
Post by johnno56 on Jul 4, 2019 20:41:00 GMT -6
I believe the Creator is going to call it 'RetroBasic'...
|
|
|
Post by kennn on Jul 5, 2019 1:51:52 GMT -6
It looks interesting, but if the conversion to SDL2 is imminent, then perhaps I will wait until then to give it some serious testing. In the meantime I will continue to "tinker". I hope that the author will not lose interest in converting to SDL2. The author may lose interest due to a lack of users because the community of that forum is so small!
|
|
|
Post by kennn on Jul 5, 2019 1:52:30 GMT -6
With all the quick click create engines out there, still makes me smile too see, people who just like to code for the sake of it  . Those game creation softwares are easier tools. They allow users to make each kind of game object in their games and attach some scripts(or some behaviours) to each kind of object. Using this method for game development is easier than traditional method of writing game in pure programming language.
|
|
|
Post by kennn on Jul 5, 2019 2:05:50 GMT -6
I don't understand: allegrobasic.pulsar2d.org/#mozTocId659252"As the name implies AllegroBASIC also uses the Allegro game development library. It is used in Version 4+ which is already an obsolete version. But don’t worry, I am porting AllegroBASIC to SDL2......" The Allegro library version 4+ is obsolete but the latest version 5.2.5 was released in Feb 2019! Why not simply change to the version 5.2.5? Why change to SDL2? en.wikipedia.org/wiki/Allegro_(software)Actually, the Allegro library's forum is so active! www.allegro.cc/forums/
|
|
|
Post by aurel on Jul 5, 2019 13:09:06 GMT -6
yes community is so small..hehe
well i don't know how is situation with allegro on linux but on windows is hmm very slow
|
|
|
Post by kennn on Jul 5, 2019 15:13:59 GMT -6
yes community is so small..hehe well i don't know how is situation with allegro on linux but on windows is hmm very slow Hi, there is an old post in their official forum. Allegro 4 doesn't look slow. "Using A4 my game was running at 100 fps pretty much all the time. Even with 32-bit bitmaps, 750,000 objects floating around space, and pixel perfect (PP) collision turned on I was rarely dropping below 80 fps (on an old Core 2 Duo E6600)." ( www.allegro.cc/forums/thread/607650/922084#target ) Maybe Allegro 4 is not slow but MY-BASIC interpreter is slow? If you are a forum member of Retrogamecoding forum, can you show the author this thread's link? Then the author may join our discussions.
|
|
|
Post by n00b on Jul 5, 2019 16:50:57 GMT -6
Allegro 4 is software rendered like SDL 1.2. Allegro 5 has moved to the hardware accelerated pipeline that is used in other modern libraries like SDL2 and SFML. I have mentioned before that there are advantages and disadvantages of each. For pure software rendering it is still pretty fast.
I believe My-BASIC is a pure interpreted BASIC so does not compile to intermediate byte code like alot of other dialects do. That would be why its probably not as fast as many other interpreters that compile to byte code. The guy who developed My-BASIC has also made a game focused interpreter based it called BASIC8 which is available on steam. He used to be an active member of the old Basic Programming forums before they moved to retrogamecoding.org. I don't think I have seen a post from them since the old site went down though.
I tried it out though and I like what he has done with it so far. I am looking forward to seeing where it goes.
|
|
|
Post by kennn on Jul 6, 2019 16:06:15 GMT -6
Comprehensive explanation!!!!!!! Thank you very much! I hope that the author of AllegroBASIC will come here and download RCBasic. A healthy competition will make the author's softwares better.
|
|
|
Post by johnno56 on Jul 7, 2019 5:02:29 GMT -6
Quick question. Would I be correct in assuming that the move from Allegro 4.4 to SDL2 is because AllegroBASIC does not 'play well' with Allegro 5? Just curious...
|
|
|
Post by n00b on Jul 7, 2019 6:51:08 GMT -6
That would be something you would have to ask to Cybermonkey on retrogamecoding forum.
|
|