|
Post by tbird on Jul 26, 2018 18:31:06 GMT -6
Yes, I am still planning on it. It's not pertinent for my current game, so it's kinda on the backburner, but definitely something I want to look into.
|
|
|
Post by n00b on Jul 26, 2018 18:48:00 GMT -6
How long do you think it will be before you have a playable demo?
|
|
|
Post by tbird on Jul 26, 2018 19:40:22 GMT -6
Hah, another week at least an hour here and an hour there takes long time to get something done....which I am sure you know quite well lol.
|
|
|
Post by n00b on Jul 26, 2018 19:46:39 GMT -6
Believe me I know. Its just cool to actually see someone other than me work on something. If you look through the forum you will see a few other people over the years who started working on a game but never got it off the ground. I should have a playable demo of my game in about a week as well so we can swap feedback. This early in development any criticism is good criticism.
|
|
|
Post by tbird on Jul 26, 2018 21:20:57 GMT -6
Glad to receive and give, it's actually funny how many times I looked up on the basics page and never seen RC. Actually come to think of it, was it ever called something else? Maybe it's not even on there lol.
|
|
|
Post by n00b on Jul 26, 2018 21:52:06 GMT -6
It has always had the same name. It just has not been around as long as many other BASICs.
|
|
|
Post by tbird on Jul 27, 2018 8:18:55 GMT -6
Ok, I looked and I found where I seen it before, on moddb.
|
|
|
Post by tbird on Jul 27, 2018 9:08:32 GMT -6
-Removed Origin from CreateEntity() as RCBasic seems to rotate around center all by itself, so center only used for CircleCollisions
|
|
|
Post by n00b on Jul 27, 2018 11:25:17 GMT -6
I couldn't see why you wouldn't want to rotate on the center so I made rotate work that way by default.
|
|
|
Post by tbird on Jul 27, 2018 13:25:16 GMT -6
Yes, not something I am used to, most languages just say rotate but you have to set the middle....good man.
|
|
|
Post by tbird on Jul 28, 2018 9:04:27 GMT -6
Framework: - CreateShot() creates a shot at a parent entity with attached pointX and pointY
Working on GUI editor of sprites for setting points to save as pointX and pointY.
Example: Gun barrel, where to hold the sword etc...
SpaceBB: Nothing new lol
|
|
|
Post by n00b on Jul 28, 2018 11:46:51 GMT -6
If you want I can upload the most recent version of my gui library. If your editor will require a lot of features it could save you some time.
But I definitely understand if you just want to code everything from scratch yourself.
|
|
|
Post by tbird on Jul 28, 2018 11:52:36 GMT -6
Hey that would be awesome, I would love to code everything myself but anything that helps is appreciated. Thank you!
|
|
|
Post by n00b on Jul 28, 2018 12:33:13 GMT -6
I have attached the gui library along with the documentation. The documentation isn't super indepth because I mainly made it for me. But here is an example of how to setup a program with it. Extract the gui_gfx folder to the same place you put gui.bas. Your folder structure should be: -gui.bas -/gui_gfx/ Also note that the gui library only works with one window right now. But if you need to open multiple windows I can show you some tricks to make it work. I actually use multiple windows with my editor and I haven't had any problems. Just ask. Include "gui.bas" 'include the gui library
win = Gui_WindowOpen("Test Gui", WINDOWPOS_CENTERED, WINDOWPOS_CENTERED, 640, 480) 'open a window
example_button = Gui_CreateButton("Test Button", 100, 20) 'Create a button example_checkbox = Gui_CreateCheckBox(16,16) 'Create a Checkbox
example_panel = Gui_CreatePanel(300, 300) 'Create a panel
Gui_Panel_AddObject(example_panel, example_checkbox, 20, 20) 'Add checkbox to panel at (x = 20, y = 20)
Gui_Panel_AddObject(example_panel, example_button, 20, 100) 'Add button to panel at (x = 20, y = 100)
Gui_Window_AddPanel(win, example_panel, 150, 50) 'Add panel to window at (x = 150, y = 50)
While Not Key(K_Q) 'Check for Events If Gui_Button_Clicked(example_button) Then Exit While End If 'Update events and draw gui Gui_Update() 'update must be called at the end of the main loop Wend
Gui_WindowClose(win) 'closes the window
Attachments:gui_doc.bas (8.88 KB)
gui.bas (103.48 KB)
gui_gfx.zip (101.42 KB)
|
|
|
Post by tbird on Jul 28, 2018 13:21:14 GMT -6
Sweet, will check out tonight when I get home, thank you.
|
|