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.


Messages - spacefractal

Pages: [1] 2 3 ... 222
1
first time was due the compiler glbasic was used was simply just...... too old... but howover yes you are right as archivements, mostly in Genius Greedy Mouse (which have bounch of internal once) should do have them.

The compilers is updated and should been quite easy to integrate the steam SDK directly into the source code im should do this a day.

2
Off Topic / Re: Now that cool.....
« on: 2019-Mar-25 »
The game runs on the original Spectrum Next hardware and im have a devkit board for testing (im have tested the game a LOTS). Spectrum Next is still a 8bit machine and fell like something a PC Engine or around that. PC Engine is the machine im would compare most with, if you ask me.

So the sound is of course only using the AY chip inside the Spectrum Next, but we do have 3 of them here. So this is what its are and why music sounds as its are :-). Its retro and its a 8bit machine and should fit as a 8bit game.

In Baggers in Space case, Music in Baggers in space is a single AY 3 channel music, while tunes outside ingame uses 2 AY's for music (6 channels), except the death one.

3
You should try to move glbasic to a folder without spacebar in the foldername and try again.

Please note: This platform has been depreacted, due Apple choice to remove OpenGL, which is vital for glbasic (exept if we can find a OpenGL->Metal wrapper).

This platform should really been moved compeltly to xcode, but im do no longer have a Mac, nor a Iphone as well, and they has too been very pricy as well.

4
Off Topic / Re: Now that cool.....
« on: 2019-Mar-20 »
Scramble on Spectrum Next is finished and is pretty much a arcade perfect port with only sound that is a little bit different. We still yet to release it and also have plans to release the source code as well.

Anyway here is a Teaser for Baggers in Space:
<a href="http://www.youtube.com/watch?v=BuHuoFdRrdQ" target="_blank">http://www.youtube.com/watch?v=BuHuoFdRrdQ</a>

https://www.youtube.com/watch?v=BuHuoFdRrdQ

5
Off Topic / Re: Hacker News
« on: 2019-Mar-12 »
nice

6
Off Topic / Re: Now that cool.....
« on: 2019-Mar-12 »
he thanks. Currectly we are doing a fun little side project to the Spectrum Next: Scramble from Konami

Here its a pretty much perfect port of the original and even keep the original resolution of the original (Next with the new tile mode can show 320x256px). Im also just seen a great Amstrad version of the same game. Must say its much better than the 2015 C64 effort. Even the port is not spot on, its still very close, and that is the point.

7
Snoopy, can you use the source code. its a easy fix with the total number objects really. Its can been happens more than 4096 is required throught if speed is not a issue.

Just change the define and rebuild it with the platforms _build.bat and then you can have more than 4096 objects.

Source Code is possible to download.

8
Im wasent aware of the other very old post and im property have not found it or aware of it. But. Here is so a integrated source code version of it, so you can invoke it by SETSCREEN command directly and its dosent break combatible, nor using inline when working.

This is how borderless windows should have been done really, which is what SETSCREEN is for. but both is actuelly valid and is not required if the old one still works.

Also there was various issues with the normal fullscreen in Windows 10 general, but its a totally different issue. But here all that was required is just mininmize its window when its got inactive from fullscreen.

PS. im also update the post for avoid a another little bug, so its fill the full window.

9
Here it's just so you could use SETSCREEN directly and do a borderless window more correctly. I'm haven't update with a tiny bug, but I'm know how to do it and is not home yet to update it.

I'm required such a window for a little arcade frontend for my pinball machine..... Other programs simply did dent like the full screen glbasic is using and freak out.


10
Found a little issue I'm take a look later. Look like y position is still taking the top border as it's should not do it. But worked OK for the extracly purpose I'm wanted througt.

11
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

12
GLBasic - en / Re: Smooth scroll
« on: 2019-Mar-05 »
im remember im did used floats in a least both Karma Miwa and Genius Greedy Mouse and the camera even can zoom in and out in the last game. Howover im did allways make sure the tiles was in a Interger size as well the camera positon, so yes im did fighted with a similar issues due the floats imprecision. you can eventuelly round it and Interger it. Its was something like that im did in my games to avoid various artifact in that fact im newer used virtual screen.

13
There is a _build.bat for every platform, which will compile the whole platform. Then done then you can build as normal. There is a limit of 4096 objects in this case, but would been nice if you can set it  to any number by your self. but for now, this is the way for go.

14
confirmed.

howover if you have access to the source code and download it. Not sure why Gernot limit it, since its could been higher. its currectly limited to 4096. If you ask me, this should been possible to change to whatever limit, so its a array issue.

But if you have download the source code, you can change this line in the file rainbows3d.h to a higher value:

#define GLR_MAX_OBJECTS      0x1000

0x1000 is set to extractly 4096 and not sure its possible to REDIM it.

You can actuelly download the source code and recompile it.

15
im put the source code under compiler/platform/source from the downloaded one (can been download from the main site). then you can build the source code by using _build.bat from each platform.

Hopefully Gernot adds this to the glbasic 16 soon. Im only just added 2 lines or code or such in glb_pc.cpp.

Here im do manual minimize it (which worked best in this case), if its fullscreen when the windows inactivate status is called.

This seens to also make sure the Windows dosent got stuck in the game, which was happens (im was needed to reset it).

Pages: [1] 2 3 ... 222