gfxgfxFreeBASIC Games Directory Forumgfxgfx
gfx gfx
gfx
Welcome, Guest. Please login or register. August 16, 2018, 08:09:19 PM

Login with username, password and session length
14.09.2014 - Check the results of our latest game dev competition here: http://games.freebasic.net/forum/index.php?topic=606.0
gfx
gfx
*
gfxgfx
gfxgfx gfxgfx
gfxgfx Home Help Search Login Register   gfxgfx
gfx gfx
gfx
Pages: [1]
Print
Author Topic: how would i make a window from scratch in FB  (Read 3783 times)
neo
Novice
***
Gender: Male
Posts: 77


View Profile Email
« on: March 29, 2013, 04:14:51 PM »

how would i make a window from scratch in FB  ?
Logged

IF you can make a game that's cool and fun....
in time you may have a good job in time ......

its like at the end of doom 2 what do i have to kill next lol put code in my brain and i will think mmmm css rocks
BadMrBox
Forum Sage
*****
Gender: Male
Posts: 401



View Profile WWW
« Reply #1 on: March 29, 2013, 06:37:28 PM »

What do you mean exactly?
Logged

neo
Novice
***
Gender: Male
Posts: 77


View Profile Email
« Reply #2 on: March 29, 2013, 07:52:09 PM »



well take a look what i have now

http://www.youtube.com/watch?v=ToYaPQYmhNE&feature=youtu.be

watch in 720p or looks like crap ...
Logged

IF you can make a game that's cool and fun....
in time you may have a good job in time ......

its like at the end of doom 2 what do i have to kill next lol put code in my brain and i will think mmmm css rocks
BadMrBox
Forum Sage
*****
Gender: Male
Posts: 401



View Profile WWW
« Reply #3 on: March 30, 2013, 02:42:43 AM »

Oh, I see. I have never dwelled into the matter myself so I cant really help.
I did however find this on FB's forum http://www.freebasic.net/forum/viewtopic.php?f=7&t=2861&p=21649&hilit=+fbgx#p21649
I'm unable to test the example myself as I dont have SDL installed. Check it out. It might help you.
Logged

ecxjoe
Novice
***
Gender: Male
Posts: 77



View Profile WWW
« Reply #4 on: March 30, 2013, 09:06:02 PM »

You've asked a very broad question. What do you want your window to do? Do you want a basic container or something more feature-rich?

It looks like you have most of the functionality there already, with the buttons and start bar. In a Windows program, everything is a window -- buttons and input boxes are just subsets of windows. This makes sense, because they share many of the same properties: location, size, events, etc. So a "window" contains windows that contain windows, and so on. I'd suggest going with this approach. So a window would have the basic properties -- location, size -- and a list of sub-windows (buttons, input-boxes, more windows). When rendering, you cascade down this pyramid of windows.
Logged

neo
Novice
***
Gender: Male
Posts: 77


View Profile Email
« Reply #5 on: July 07, 2013, 07:04:09 PM »

ps if u know any who wishes to add programs to this interface let me know ?
Logged

IF you can make a game that's cool and fun....
in time you may have a good job in time ......

its like at the end of doom 2 what do i have to kill next lol put code in my brain and i will think mmmm css rocks
neo
Novice
***
Gender: Male
Posts: 77


View Profile Email
« Reply #6 on: February 04, 2014, 01:06:42 PM »

i think i got the window to work
Logged

IF you can make a game that's cool and fun....
in time you may have a good job in time ......

its like at the end of doom 2 what do i have to kill next lol put code in my brain and i will think mmmm css rocks
neo
Novice
***
Gender: Male
Posts: 77


View Profile Email
« Reply #7 on: February 05, 2014, 07:13:30 AM »

if i had program 1 running and 1 runs 2 but dont want to close 1
how do i do this ?
Logged

IF you can make a game that's cool and fun....
in time you may have a good job in time ......

its like at the end of doom 2 what do i have to kill next lol put code in my brain and i will think mmmm css rocks
neo
Novice
***
Gender: Male
Posts: 77


View Profile Email
« Reply #8 on: July 26, 2014, 11:09:09 AM »

i have the starting to the window done now it works well
now i have to make the file menu soon for the windows or box ...
Logged

IF you can make a game that's cool and fun....
in time you may have a good job in time ......

its like at the end of doom 2 what do i have to kill next lol put code in my brain and i will think mmmm css rocks
Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Cerberus design by Bloc
Valid XHTML 1.0! Valid CSS!
gfx
gfxgfx gfxgfx