Search found 18 matches
- Mon Aug 18, 2014 11:17 pm
- Forum: Game Programming
- Topic: Window and full screen switch
- Replies: 11
- Views: 8015
Re: Window and full screen switch
Bit limiting though!
- Mon Aug 18, 2014 11:31 am
- Forum: Game Programming
- Topic: Window and full screen switch
- Replies: 11
- Views: 8015
Re: Window and full screen switch
That is another side-affect. ErrorCode also causes... "problems"@BurpyMcFistyGuts: Your complete sample works fine switching between fullscreen and a windowed screen buts crashes when I close the window.
- Mon Aug 18, 2014 10:11 am
- Forum: Game Programming
- Topic: Window and full screen switch
- Replies: 11
- Views: 8015
Re: Window and full screen switch
It does seem like a PB bug then - there shouldn't be a limit to the number of times you can swap between full screen and a window...
- Mon Aug 18, 2014 9:28 am
- Forum: Game Programming
- Topic: Window and full screen switch
- Replies: 11
- Views: 8015
Re: Window and full screen switch
Quite true! Did you come across the aforementioned problem as well ?
- Sat Aug 16, 2014 11:50 pm
- Forum: Game Programming
- Topic: Window and full screen switch
- Replies: 11
- Views: 8015
Re: Window and full screen switch
Some code :
XIncludeFile "Triority.pb"
If __GLB_Defaults("","")=#False
Debug "Error initilising"
_END()
End
EndIf
SETSCREEN(800,600,#False)
;_LOADSPRITE("block.png",0)
;Debug "Music :"
;Debug _PLAYMUSIC("music.mp3")
Repeat
DRAWLINE(0,0,100,100,RGB(0,255,0))
; DRAWSPRITE(0,10,10 ...
XIncludeFile "Triority.pb"
If __GLB_Defaults("","")=#False
Debug "Error initilising"
_END()
End
EndIf
SETSCREEN(800,600,#False)
;_LOADSPRITE("block.png",0)
;Debug "Music :"
;Debug _PLAYMUSIC("music.mp3")
Repeat
DRAWLINE(0,0,100,100,RGB(0,255,0))
; DRAWSPRITE(0,10,10 ...
- Sat Aug 16, 2014 10:59 am
- Forum: Game Programming
- Topic: Window and full screen switch
- Replies: 11
- Views: 8015
Window and full screen switch
I'm trying to switch between full screen and window, and back again, but have hit a problem.
I can successfully switch between full screen and window, but the switch from window to full screen is a problem - namely OpenScreen fails for some reason, even though it has been closed previously.
The ...
I can successfully switch between full screen and window, but the switch from window to full screen is a problem - namely OpenScreen fails for some reason, even though it has been closed previously.
The ...
- Fri Aug 15, 2014 12:59 pm
- Forum: General Discussion
- Topic: Purebasic & Ubuntu 14.04
- Replies: 3
- Views: 2071
Re: Purebasic & Ubuntu 14.04
Thanks for that
- Fri Aug 15, 2014 11:23 am
- Forum: General Discussion
- Topic: Purebasic & Ubuntu 14.04
- Replies: 3
- Views: 2071
Purebasic & Ubuntu 14.04
It appears that one of PureBasic's dependencies (one of the printerutils ones - can't remember the exact name now) is no longer available. I haven't got around to seeing if its an absolute requirement or just prevents the use of printer functions yet.
- Thu Aug 14, 2014 2:46 pm
- Forum: Coding Questions
- Topic: Full screen/window switch
- Replies: 1
- Views: 843
Full screen/window switch
When switching between full screen and window mode, do graphics have to be destroyed and then reloaded ?
- Sat Jun 21, 2014 11:20 pm
- Forum: Game Programming
- Topic: Pseudo 3D code
- Replies: 7
- Views: 5048
Re: Pseudo 3D code
Ah, thanks - I'll try that
- Sat Jun 21, 2014 12:18 pm
- Forum: Game Programming
- Topic: Pseudo 3D code
- Replies: 7
- Views: 5048
Re: Pseudo 3D code
Thanks!
- Fri Jun 20, 2014 10:56 pm
- Forum: Game Programming
- Topic: Pseudo 3D code
- Replies: 7
- Views: 5048
Re: Pseudo 3D code
That'll be worth trying at some point!
- Fri Jun 20, 2014 10:52 pm
- Forum: Game Programming
- Topic: Pseudo 3D code
- Replies: 7
- Views: 5048
Re: Pseudo 3D code
Aside from the fact that I have no 3D editor, I will be converting it to SpiderBasic, and which, as you previously mentioned, has no 3D engine 

- Fri Jun 20, 2014 10:37 pm
- Forum: Game Programming
- Topic: Pseudo 3D code
- Replies: 7
- Views: 5048
Pseudo 3D code
This code is converted from Code Incompete javascript pseudo 3D road routine, with hills and curves. I haven't added the billboards and cars (yet).
#PLAYER_STRAIGHT = 0
#PLAYER_LEFT = 1
#PLAYER_RIGHT = 2
#PLAYER_UPHILL_STRAIGHT = 3
#PLAYER_UPHILL_LEFT = 4
#PLAYER_UPHILL_RIGHT = 5
#ROAD_LENGTH ...
#PLAYER_STRAIGHT = 0
#PLAYER_LEFT = 1
#PLAYER_RIGHT = 2
#PLAYER_UPHILL_STRAIGHT = 3
#PLAYER_UPHILL_LEFT = 4
#PLAYER_UPHILL_RIGHT = 5
#ROAD_LENGTH ...
- Fri Jun 20, 2014 12:51 pm
- Forum: General Discussion
- Topic: Performance & feature comparisons for 3D BASIC tools
- Replies: 14
- Views: 7107
Re: Performance & feature comparisons for 3D BASIC tools
You forgot to mentioned GLBasic, which has a very capable 3D system across multiple platforms. Unfortunately HTML5 output is not good. I have a pseudo 3D road system up and running, although it has problems with hills (jitters for some reason). You can see it here : https://www.youtube.com/watch?v ...