Poster | Thread |
amigakit
| |
Re: PortablE r6 beta released Posted on 27-Apr-2016 11:10:04
| | [ #1 ] |
|
|
|
Amiga Kit |
Joined: 28-Jun-2004 Posts: 2595
From: www.amigakit.com | | |
|
| |
Status: Offline |
|
|
zzd10h
| |
Re: PortablE r6 beta released Posted on 27-Apr-2016 18:31:20
| | [ #2 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| Hi, by curiosity, do you have names/links of actual OS4 programs that use PortablE ? I would like to see it in real use condition.
Thank you _________________ http://apps.amistore.net/zTools
|
|
Status: Offline |
|
|
Alloye
| |
Re: PortablE r6 beta released Posted on 27-Apr-2016 19:16:41
| | [ #3 ] |
|
|
|
Member |
Joined: 3-Oct-2015 Posts: 41
From: Colorado, USA | | |
|
| Nice! I'll have to give this a try. I had a license for Amiga E back in the day and really enjoyed it. |
|
Status: Offline |
|
|
ChrisH
| |
Re: PortablE r6 beta released Posted on 27-Apr-2016 20:31:26
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @zzd10h Quote:
by curiosity, do you have names/links of actual OS4 programs that use PortablE ? I would like to see it in real use condition. |
Programs that I've written (see here), including: * eGame (nice GUI, especially the dynamically-updated list) * PictureAlbum (scrollable album of pictures, all implemented as 'sprites') * RunInUAE (heavy patching of OS4) * AmiSystemRestore (nice GUI (from before I'd added dynamic lists) & patching OS4)
Mr Darek wrote many games (see here), including: * Ami-Ingenious (rather pretty graphics, nice sound, also good mouse control) * Davidope puzzle (dizzyingly large/smooth animations, rather impressive - try puzzle 7 first) * FlowerWay (nice animations) * 7-boings (nice graphics & animation)
Some of the examples I wrote (see here) are almost full programs in their own right: * Example 1: ShootEmUp.e (a simple shoot em up, but nice graphics, animation, sound & music) * Example 5: SOTB.e (nice animation, music, and umm nostalgia!) * Example 11: StarsDemo.e (an A500 style boot block loader, won't fit on one though!) * Example 19: Stacker.e (nice GUI demo, also a fully functional system utility) * Example 12: Clock.e (I didn't write this, only ported it from AmigaE, but it's still a nice toy)
If you want some idea of how these were done, I mention which "std" modules were used to write them (just search for their name... although more recent games/programs are not mentioned) : http://cshandley.co.uk/portable/StandardFunctionality.html#19_0 (Non-std modules are not mentioned, such as AmigaOS modules.)Last edited by ChrisH on 27-Apr-2016 at 08:50 PM. Last edited by ChrisH on 27-Apr-2016 at 08:49 PM. Last edited by ChrisH on 27-Apr-2016 at 08:45 PM. Last edited by ChrisH on 27-Apr-2016 at 08:36 PM. Last edited by ChrisH on 27-Apr-2016 at 08:35 PM.
_________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue...
|
|
Status: Offline |
|
|
zzd10h
| |
Re: PortablE r6 beta released Posted on 27-Apr-2016 20:43:54
| | [ #5 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
kamelito
| |
Re: PortablE r6 beta released Posted on 28-Apr-2016 6:16:00
| | [ #6 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @ChrisH Nice, any plan to add an installer? Same for OpenGL ES 2, is there plans to support it when released? Kamelito |
|
Status: Offline |
|
|
ChrisH
| |
Re: PortablE r6 beta released Posted on 28-Apr-2016 7:50:00
| | [ #7 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @kamelit0 PortablE already comes with an installer, so I am puzzled by your question.
As for OpenGL ES 2, or any 3D support, that seems unlikely at the moment... Although, it's technically possible for anyone to add support for any (C-based) stuff to PortablE. _________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue...
|
|
Status: Offline |
|
|
kamelito
| |
Re: PortablE r6 beta released Posted on 28-Apr-2016 11:22:35
| | [ #8 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @ChrisH Just extracted the archive and just seen a PortablE folder with different version depending on the OS but I'll look at it again. I can see them under windows but don't know why I missed them on Amiga.
As for OpenGL ES 2 not even for 2D acceleration?
Kamelito Last edited by kamelit0 on 28-Apr-2016 at 11:30 AM. Last edited by kamelit0 on 28-Apr-2016 at 11:23 AM.
|
|
Status: Offline |
|
|
Chris_Y
| |
Re: PortablE r6 beta released Posted on 28-Apr-2016 14:51:58
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @zzd10h
Some of my older stuff is written in E and ported across using PortablE. The most notable being PDHFIC. _________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz
|
|
Status: Offline |
|
|
kamelito
| |
Re: PortablE r6 beta released Posted on 28-Apr-2016 20:06:23
| | [ #10 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @ChrisH
The file I downloaded was corrupt hence the problem. Kamelito Last edited by kamelit0 on 28-Apr-2016 at 08:08 PM.
|
|
Status: Offline |
|
|
ChrisH
| |
Re: PortablE r6 beta released Posted on 28-Apr-2016 20:44:32
| | [ #11 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @kamelit0 Quote:
As for OpenGL ES 2 not even for 2D acceleration? |
I don't really see much need? I'm already using hardware acceleration, which at least on OS4 & MOS (can't remember about AROS) means the drivers use some 3D features to accelerate some 2D operations.
More specifically, I'm using Compositing on OS4. While on MOS I'm using BltBitMapAlpha(), which uses "3d hardware acceleration" on gfx cards that support it.
Directly using OpenGL to fake 2D seems to have a lot of down sides, without much benefit: I'd need to completely rewrite my 2D abstraction (a lot of work). It would only work on Amigas with (half-decent!) 3D cards, so I'd need to maintain the old 2D implementation & provide some way to automatically switch between them at run-time (or force the developer to choose at compile time). Doing 2D using 3D seemed to cause AmiDARK all sorts of difficulties. I'm not familiar with OpenGL/etc (another difficulty!), but I have a feeling it might increase video memory usage (the current PortablE implementation is fairly frugal with video memory).
The few benefits seems to be: You could do scaling & rotating with no extra overhead. PortablE would not need to "fake" sprites, which would merely mean you can more easily combine arbitrary drawing operations with sprites. These don't seem like strong reasons.Last edited by ChrisH on 28-Apr-2016 at 08:51 PM. Last edited by ChrisH on 28-Apr-2016 at 08:46 PM.
_________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue...
|
|
Status: Offline |
|
|
kamelito
| |
Re: PortablE r6 beta released Posted on 29-Apr-2016 6:20:46
| | [ #12 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @ChrisH Maybe one day it'll be supported at the OS level being OpenGL or directly through Nova. This will give the programmer such functions for free or they'll do that once they finish Gallium. Kamelito Last edited by kamelit0 on 29-Apr-2016 at 06:22 AM.
|
|
Status: Offline |
|
|
Chris_Y
| |
Re: PortablE r6 beta released Posted on 29-Apr-2016 11:27:54
| | [ #13 ] |
|
|
|
Elite Member |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| Quote:
The few benefits seems to be: You could do scaling & rotating with no extra overhead. |
CompositeTags() does hardware accelerated scaling anyway (and probably rotation too if you understand the matrix stuff) _________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz
|
|
Status: Offline |
|
|
broadblues
| |
Re: PortablE r6 beta released Posted on 29-Apr-2016 12:45:24
| | [ #14 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
From: Portsmouth England | | |
|
| @Chris_Y
Using triangle mode CompositeTags() can do rotation easily and no need for any matrix math. For example the SketchBlock rotation tool preview is created using CompositeTags()
@ChrisH
I'm wondering why people think you should be ading this to the language, does PortablE not expose / give access to the graphics.librrary funxtions directly? Last edited by broadblues on 29-Apr-2016 at 12:47 PM.
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad
|
|
Status: Offline |
|
|
ChrisH
| |
Re: PortablE r6 beta released Posted on 29-Apr-2016 13:30:21
| | [ #15 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @ChrisY Quote:
CompositeTags() does hardware accelerated scaling anyway (and probably rotation too if you understand the matrix stuff) |
I do in fact use CompositeTags() for scaling bitmaps... But the point I was trying to make is that using OpenGL directly gives you scaling *for free* (just about).
edit: I suppose that I could get CompositeTags() to scale & rotate AT THE SAME TIME as rendering the bitmap to the screen. Then scale & rotate would be "free" as well... Maybe something I can do as a future enhancement! Then even less need for OpenGL On OS4 anyway (MOS & AROS don't have such features, without using OpenGL).Last edited by ChrisH on 29-Apr-2016 at 01:54 PM. Last edited by ChrisH on 29-Apr-2016 at 01:53 PM. Last edited by ChrisH on 29-Apr-2016 at 01:52 PM.
_________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue...
|
|
Status: Offline |
|
|
ChrisH
| |
Re: PortablE r6 beta released Posted on 29-Apr-2016 13:39:44
| | [ #16 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @broadblues Quote:
I'm wondering why people think you should be ading this to the language, does PortablE not expose / give access to the graphics.librrary funxtions directly? |
Yes, PortablE does give direct access to graphics.library functions.
But what I was talking about earlier, when I vaguely said "PortablE", was the user-friendly graphics modules (which most beginners are likely to use). These completely hide the OS, and provide a simplified "AMOS like" way of doing graphics & animation. (It's not directly clone of AMOS, just inspired by it, and to a lesser extend Dark BASIC & other BASICs.)
It is these user-friendly modules that, for example, enable me to write a Shadow Of The Beast style graphics demo in just 151 lines of commented code. Hardware accelerated & VSynced . (My user-friendly graphics module even automatically handles the fact that one of the bitmaps is larger than the graphics card can handle, by automatically splitting it up, not that you'd notice this.)Last edited by ChrisH on 29-Apr-2016 at 01:59 PM. Last edited by ChrisH on 29-Apr-2016 at 01:50 PM. Last edited by ChrisH on 29-Apr-2016 at 01:42 PM. Last edited by ChrisH on 29-Apr-2016 at 01:40 PM.
_________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue...
|
|
Status: Offline |
|
|
Chris_Y
| |
Re: PortablE r6 beta released Posted on 29-Apr-2016 16:59:25
| | [ #17 ] |
|
|
|
Elite Member |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @broadblues
I didn't know CompositeTags had a "triangle mode". Interesting. _________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz
|
|
Status: Offline |
|
|
kamelito
| |
Re: PortablE r6 beta released Posted on 1-May-2016 19:01:52
| | [ #18 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 832
From: Unknown | | |
|
| @ChrisH, Is it to use the windows version of PortablE to generate executable for all target? If not that would be nice since you could use the power of the PC and it's tools, same as GCC crosscompiler for C/C++
Kamelito |
|
Status: Offline |
|
|
ChrisH
| |
Re: PortablE r6 beta released Posted on 1-May-2016 20:14:48
| | [ #19 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @kamelit0 Quote:
Is it to use the windows version of PortablE to generate executable for all target? |
Not exactly. Windows version of PortablE can generate the C++ files for all targets, but you still need a cross-compiler to generate executables for all targets.
I successfully use AmiDevCpp to compile executables for AROS, MorphOS, AmigaOS3 & Windows (and AmigaOS4 in the past), but obviously it can be a bit tedious...
...So I wrote my own special Build scripts for AmiDevCpp, which can compile a program for multiple targets in one go. And then I wrote a program which generates an AmiDevCpp Build script for compiling multiple PortablE programs in one go. But making such stuff suitable for public release would be a fair bit of work (it possible at all), and I've not seen any interest in such. _________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue...
|
|
Status: Offline |
|
|