Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - spacefractal

#21
Instead writing in the message to gernot thread, im will write it here as a general trhead.

The progress to move glbasic to Android Studio is now more more became great, which will means im dont thinks its really is a long time to release it. Im thinks max a month and you would see a new platform. Today im have just got JavaCalls to works and im using SDK Api 29 (Android 9) with minimum Api 16 required (due the newer NDK require it).

Now its compiles and run fine, but with few issues and missing bits left.

Currectly the Gamecontrollers require some changes and hopefully im still can support gameInput API to cross support it, but SDL do have a nice progress about this area, so its should even been possible to route it to the official joy commands. Also im will support single player by using KEY() as well throught fore more simple games.

Also currectly Android TV and normal apps is supported, but im have not have Ouya and other microconsoles in mind at all. Its should been pretty easy to implement them again later eventuelly, but Android TV is a bit more important.

So im dont think we are far to get this platform working again.
#22
gb.h: under // Extern Symbols

Code (glbasic) Select

extern int __DG_DOBORDERLESSWINDOW;


glb-full somewhere under namespace __GLBASIC__ {
Code (glbasic) Select

int             __DG_DOBORDERLESSWINDOW=0;


gb_pc.cpp: under void   SETSCREEN(DGNat w, DGNat h, DGNat fs) {

Code (glbasic) Select

// do you want a borderless window?
__DG_DOBORDERLESSWINDOW=0;
if (fs==2) { __DG_DOBORDERLESSWINDOW=1; fs=0; }
   
   
openglrainbows.cpp in the function bool OpenGLRainbows::DoWindowed()

replaec all code between    // -------- WIN32 -------- and  // update desktop

Code (glbasic) Select

#elif defined(WIN32)
if (m_WND.fullscreen)
{
::ChangeDisplaySettings(NULL, 0);
restore_desktop();
}

if (__DG_DOBORDERLESSWINDOW==1)
{
::SetWindowLong(m_WND.hwnd, GWL_STYLE, WS_POPUP);
}
else
{
::SetWindowLong(m_WND.hwnd, GWL_EXSTYLE, 0);
::SetWindowLong(m_WND.hwnd, GWL_STYLE, WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX); // | WS_CLIPCHILDREN | WS_CLIPSIBLINGS);
}
::UpdateWindow(m_WND.hwnd);

WINDOWPLACEMENT wpl;
if(0  ) // !::GetWindowPlacement(m_WND.hwnd, &wpl)) // Win98 will fail this here...
{
wpl.rcNormalPosition.top=0;
wpl.rcNormalPosition.right=m_WND.width;
wpl.rcNormalPosition.bottom=m_WND.height;
::OffsetRect(&wpl.rcNormalPosition, (::GetSystemMetrics(SM_CXSCREEN)-m_WND.width)/2, (::GetSystemMetrics(SM_CYSCREEN)-m_WND.width)/2);
}
else
{

RECT rcCenter, rcArea;
::GetWindowRect(m_WND.hwnd, &rcCenter);
HMONITOR hMonitor = MonitorFromRect(&rcCenter, MONITOR_DEFAULTTONEAREST);
if(hMonitor)
{
MONITORINFO MonitorInfo = { sizeof MonitorInfo };
GetMonitorInfo(hMonitor, &MonitorInfo);
rcArea = MonitorInfo.rcWork;
}
else
::SystemParametersInfo(SPI_GETWORKAREA, 0, &rcArea, 0);

wpl.rcNormalPosition.left=0;
wpl.rcNormalPosition.top=0;
wpl.rcNormalPosition.right=m_WND.width                                   +::GetSystemMetrics(SM_CXBORDER)*6;
wpl.rcNormalPosition.bottom=m_WND.height+::GetSystemMetrics(SM_CYCAPTION)+::GetSystemMetrics(SM_CYBORDER)*6;
::OffsetRect(&wpl.rcNormalPosition, ((rcArea.right-rcArea.left)-m_WND.width)/2, ((rcArea.bottom-rcArea.top)-m_WND.height)/2);
}

if (__DG_DOBORDERLESSWINDOW==0)
{
::SetWindowPos(m_WND.hwnd, HWND_NOTOPMOST,
wpl.rcNormalPosition.left,
wpl.rcNormalPosition.top,
wpl.rcNormalPosition.right - wpl.rcNormalPosition.left,
wpl.rcNormalPosition.bottom- wpl.rcNormalPosition.top,
SWP_SHOWWINDOW);
}
else
{
::SetWindowPos(m_WND.hwnd,HWND_NOTOPMOST,wpl.rcNormalPosition.left,wpl.rcNormalPosition.top, m_WND.width, m_WND.height, 0);
}
::ShowWindow(m_WND.hwnd, SW_SHOWNORMAL);


Now you can set a borderless window by just SETSCREEN, X, Y, 2
#23


Yes, im guess Spectrum fans know who he is and....

This why im dedicated to delete a post from the Spectrum Next (of my own), due this pic. Spectrum Next keyboard issues is finally done and is soon mass produce.

Also that Baggers in Space on the picture is also finished as well and is yet to been released. The game became a 17 level game, a lots of screens to explore and pretty much use all memory on a none expanded Spectrum Next, and the whole game is in one load.
#24
Im sometimes get PM about common (im got 2 yesterday) and uncommon questions of various features, which im gonna to been a bit tired of. Im do not want to do personally support and use my time on that. Thanks. Im perfer using the forum than the pms and reply here.
#25
im got a PM about only registred users can post on the forum. This CAN actuelly give some backslash for new users! Im can agree with that, because its can lock out new users that might ask before a purcahse.

But now we do now have a new forum on steam, which all registred steam users can use. Gernot might not post here, but im will do monitor it. All very negative posts etc will been deleted and reported throught.

Here is the link to the discussions forum on steam:
https://steamcommunity.com/app/819510/discussions/

PS. All games and applications get a forum for steam released games, so......
#27
as topic said, Alt Tab dosent work in fullscreen, and even jobcenter can been shown at all! This bug needs to been fixed before the steam release really. Im not sure what it happens, since im even used AUTOPAUSE True, that also dosent work correctly on Windows.

Etc there also no way to set a borderless windowered mode at all, which could have fix it.
#28
im do fear and see glbasic v15 mightbeen the last version. Gernot have wrote basic on those date have lost its purpose and people even write phyton or such language instead. Even glbasic competer, darkbasic and blitzmax/blitz basic is gone.

But yes, he is right on this point. but we also talked about a steam release as well property to ditch all platforms, except Windows and HTML5. HTML5 had a quite nice progressing, which would been possible to use that in the future, and then example use PhoneGab to wrap the code into app for Android, Ios, Mac as well eventuelly Linux.

So if you ask me, glbasic 15 could property been the last version you will see from us. Basic is gonna to been outdated , sadly. Im did also like glbasic my self.

But if we countinue to Work with glbasic, its could been under a new name, and then focus 100% only to Windows and HTML5 and steam. Rest will simply just been ditched. HTML5 have simply have been approve very much since some of the last years.
#29
While im polish my new games (its pretty much ready for release), im have seen AUTUOPAUSE TRUE does not work at all on Windows 10. Sound is disabled/enabled as intended, but the sub rutines is newer called.
#30
Since Lobo suddently jims in and want to do some graphics for the game (first time that happens), then im have went back to a project im scrapped for some years ago (hence the source code for the prototype is currectly removed). Its a fun game to get back too. Later its can being a Spectrum Next game? We let see. A version to C64 could been fun too. But for now its a Windows game :-). Im have currectly no plans to release the game to mobile platforms.

Here is a early look of that game...<

Yes, the graphics have been in much better since that. Currectly im have graphics for 5 Worlds.
#31
This topic has been moved to Bug Reports.

http://www.glbasic.com/forum/index.php?topic=11136.0

This is really more a bug. so moved to there.
#32
Im a doing a little pixel palette application to convert images to Spectrum Next, so im need the graphics video. but when that is used, then STDOUT does NOT work at all. Its does nothing at all, and im have no idea how to declare __AllocConsole() to been send to the commandpromth when running from there or from a bat file.
#33
Today I'm have dedicated I'm will leave both iOS and Android market. The reason is im fell the mobile market is not what its have been before at all... and im have not earn a cliam in the last two year at all. Steam have totally overtake the market for me.

The maintain of the mobileplatforms seens to been pretty much none fune and annoying and sometimes they also breaks compatible with no reasons at all.

Now example, Apple have dedicated to obsolute my mac (last year thought), which im now have sold, and im did newer really go back again to a virtual system, due updates, updates and another updates and upgrades. Its take hell of time.

Google is also NOT that much better. They have own issues and recently require the project move to Android Studio. its a bout a least 2-3gb download and im newer got into that system at all.... just to support few thing with newer platforms. Its no fun for me and im fell im used too much time with no gain at all.

Even some major company in Denmark does not like them anymore, last time im have heard, due heavy none seance maintime of apps.

So Android and iOS is simply not that cool anymore and im not even played very much mobile game generally. Im could today use both Android and iOS as main phone (or even Windows Phone) if im wish.

So from today im will not or will not fix any issues with Android and iOS anymore, due im are quite tired against those platforms.

Im do still stay here. Windows is really all that fine and should focus on desktop again.
#34
Off Topic / Spectrum Next
2017-Dec-07
Yes im not and newer have been fan of the Spectrum machines and have newer really been that. Howover im have do some spectrum port projects etc.

Spectrum Next which some people just have got the dev boards have got arrived, so its seen that kick start project is one of them that dont go wrong. Spectrum Next does have some extended modes, which im actuelly like, example trible AY chips as well a FM chip. The sid chip is howover gone, which is good. Spectrum using Sid would fell very weird anyway. But doing Dual AY tunes is actuelly fun.

Howover im also got asked to write some music to a Spectrum Next game. Its a port from the Nintendo DS with new fancy graphics, found the Atari 800 tune of the original, which im approvede to use Dual AY and much more. Im guess many of you know Warhawk :-).

Also im have done few tunes for fun in either Dual or Single AY. Im post them later when converted and uploaded in the Spectrum section on my homepage.



PS. Its based on the Atari 800 version, but im approvede and extended it.
#35
with glbasic 14, MacOS platform is completly broken and correctly have no idea why.

First at all im get permission errors for chd every time. But after copy to the virtual mac, then its wont launch at all (im have no longer a real mac) with no errors at all (not even a GateKeeper issue, which im do did get permission for this app using terminal).

Im will testing with glbasic 15.

As with iOS, Mac version should have been ported to xCode project, just like the iOS. Future versions of MacOS would also been 64bit only. Currectly its dosent work.

Also ANDROID def is present for the MacOSX compiler, which its should NOT do that. Im was need to do a undef to get to get past Android Java fatal errors.

PS. Also im also diddent get it to work on SteamOS at all too (but this is a debate to a another thread).
#36
the fix to the issue is more simple than excepted and took 15 min to fix:

When GETJOYNAME$(x)="" then the JOY command should not been called at all (for all JOY command).

That it.

GETJOYNAME$() is NOT one of the commands that slowdown.

The most stupid issue and im newer noticed it before today.
#37
This is quite annoying, which means you cannot set a costume text.... because glbasic want to change it by its self when you resume it, dispite AUTOPAUSE was set to FALSE.....

Nice bug. Its should not change the title at all, if that was set to FALSE, only when its was set to TRUE.
#39
https://galencia.itch.io/galencia

Im just came to purchase this game. While the background is a bit simply, then that game have a excellent use of the Commodore 64 mulitiplexed Sprites and cool use of them, and its run very smooth.

Its the same publisher that will release the long dev Journey C64 game, Sam's Journey.

#40
If there is a space before any commands, then its cause a very strange syntax error..... That should not been happens and glbasic should have auto trimmed its first per line.