I've tried others like Unity, DirectX Studio, GameStudio... the list goes on. The bottom line is that programming your own engine is the best way to go.
If the engine is very fast and flexible, chances are you'll have to suffer from no documentation.
Writing your own version of something that "acts" as an engine is way less gay than writing something gay like an engine, or using engines that bring not enough help.
Um what font do you use. im making a GUI and im having a little trouble with getting positions of where a user clicked to put the cursor in that spot to edit the string. ??? did that make sense? Im "using" seogeui.
@Deeharok I'm using callback functions for that. Each Button object has a pointer to a function, when I create an Button I assign a function to that pointer. When the button is pressed "GUI" calls that function. Yes, callback functions can receive arguments... Google is your friend.
I'm currently learning OpenGL (writing a tonne of notes while reading), but I have been using SDL for quite a while, which I will probably use SDL for the window management; which library do you use for window management, user input, etc.
@Deeharok I'm using callback functions for that. Each Button object has a pointer to a function, when I create an Button I assign a function to that pointer. When the button is pressed "GUI" calls that function. Yes, callback functions can receive arguments... Google is your friend.
Great Video, thumbs up :D One question though: For the rotating cube, are you simply doing another rendering "pass"? What I mean by that is, are you rendering all the windows, re-adjusting camera settings, and then rendering the cube in 3D space (all in the draw function)? Thanks for the awesome videos by the way, I love 'em :)
Fantastic! I envy your abilities. One question though, how did you manage to determine the "graphical" width of the strings in order to determine whether or not they are small enough to fit in some arbitrary rectangle?
@CodeCriminal Yes in this example it's coded by me, but I don't plan to use this type of text rendering in the final product...so it will be handled with OpenGL and it will look much better. (:
The nice thing about your controls being coded in OpenGL is all the controls will have full 3D acceleration. Another thing is your controls should be pretty platform independent so you could use them in Linux, Mac OS X, Windows, or PS3 without having to change much if anything. Very nice keep up the good work.
So the OGL windows, can they show different OGL apps in different windows, or are they the same thing, and if the GUI is in OGL can't you have a gui inside of the OGL window?
i cant find part 1 :O and when i click the screen at the end, nothing happens :( btw i would love to see an update every week :3 and it looks REALY great btw! good work xD
Game engines are a pain in the ass.
I've tried others like Unity, DirectX Studio, GameStudio... the list goes on. The bottom line is that programming your own engine is the best way to go.
If the engine is very fast and flexible, chances are you'll have to suffer from no documentation.
Writing your own version of something that "acts" as an engine is way less gay than writing something gay like an engine, or using engines that bring not enough help.
Write games raw.
-Anti-Engine Team.
GameEnginesAreGay 3 months ago
Um what font do you use. im making a GUI and im having a little trouble with getting positions of where a user clicked to put the cursor in that spot to edit the string. ??? did that make sense? Im "using" seogeui.
batchnerd 3 months ago
when you click a button do you call a function or simply just make a bool that it has been clicked to true?
If you call a function, how would you pass arguments through it with the ... ellipse or do you have to rewrite it or something?
Deeharok 7 months ago
@Deeharok I'm using callback functions for that. Each Button object has a pointer to a function, when I create an Button I assign a function to that pointer. When the button is pressed "GUI" calls that function. Yes, callback functions can receive arguments... Google is your friend.
FrozenPixelStudio 7 months ago
@FrozenPixelStudio ahhh thanks helped a lot :D
I'm currently learning OpenGL (writing a tonne of notes while reading), but I have been using SDL for quite a while, which I will probably use SDL for the window management; which library do you use for window management, user input, etc.
Deeharok 7 months ago
@Deeharok Originally, I used Windos API. But since I started writing engine from scratch, and I have different expectations, I switched to SDL.
FrozenPixelStudio 7 months ago
@Deeharok I'm using callback functions for that. Each Button object has a pointer to a function, when I create an Button I assign a function to that pointer. When the button is pressed "GUI" calls that function. Yes, callback functions can receive arguments... Google is your friend.
FrozenPixelStudio 7 months ago
Great Video, thumbs up :D One question though: For the rotating cube, are you simply doing another rendering "pass"? What I mean by that is, are you rendering all the windows, re-adjusting camera settings, and then rendering the cube in 3D space (all in the draw function)? Thanks for the awesome videos by the way, I love 'em :)
pinkistoughjj 8 months ago
@pinkistoughjj Yes, I'm doing a completely separated rendering pass :) Thank you for your awesome comment :)
FrozenPixelStudio 8 months ago
@FrozenPixelStudio Wow! I wasn't expecting a reply that quick :D Okay, that helps me a lot, thank you!
pinkistoughjj 8 months ago
Remember scaling the GUI with the cube? I did something similar and it crashed my pc. I wonder what pc your using.
mateo11593 8 months ago
@mateo11593 I'd say you did something wrong in your code.
FrozenPixelStudio 8 months ago
im just learning and i was wondering how you accomplished drag and drop. i've been searching for days now and found no help...
batchnerd 10 months ago
hey what books do you use? I have quite a few books though most are mind blowing.
HDyonis 10 months ago
@HDyonis Red, Blue and Orange
FrozenPixelStudio 10 months ago
@FrozenPixelStudio awesome thanks alot for the quick reply excellent job btw
HDyonis 10 months ago
@HDyonis Thanks mate :D
FrozenPixelStudio 10 months ago
Amazing! You are a amazing programmer! :-D
GCGGAMES 1 year ago
@GCGGAMES Thanks :P
FrozenPixelStudio 1 year ago
Fantastic! I envy your abilities. One question though, how did you manage to determine the "graphical" width of the strings in order to determine whether or not they are small enough to fit in some arbitrary rectangle?
CodeCriminal 1 year ago
@CodeCriminal Thanks mate. It depends on the type of font that you are using...? (and on many other things)
FrozenPixelStudio 1 year ago
@FrozenPixelStudio Ah so what your saying is, that you have hardcoded it ? In the case of the font you are using how did you achieve it?
CodeCriminal 1 year ago
@CodeCriminal Yes in this example it's coded by me, but I don't plan to use this type of text rendering in the final product...so it will be handled with OpenGL and it will look much better. (:
FrozenPixelStudio 1 year ago
The nice thing about your controls being coded in OpenGL is all the controls will have full 3D acceleration. Another thing is your controls should be pretty platform independent so you could use them in Linux, Mac OS X, Windows, or PS3 without having to change much if anything. Very nice keep up the good work.
casey0102 1 year ago
@casey0102 That's the beauty of OGL. Thanks mate (:
FrozenPixelStudio 1 year ago
So the OGL windows, can they show different OGL apps in different windows, or are they the same thing, and if the GUI is in OGL can't you have a gui inside of the OGL window?
eatcomics 1 year ago
@eatcomics It works like any other OGL window, you can render anything inside. You could get the MDI effect (:
FrozenPixelStudio 1 year ago
@FrozenPixelStudio That's awesome!
eatcomics 1 year ago
I wonder if there's a drop down menu like in most programms.
Kosake82 1 year ago
@Kosake82 It will be soon (:
FrozenPixelStudio 1 year ago
the cube is totaly awesome ! nice and yes dont be lazy anymore , just kidding :P nice vid keep the progressing up m8
Animatixxking 1 year ago
@Animatixxking Cube is nice and shiny O_O... Garfield is my role model ;)
FrozenPixelStudio 1 year ago
@HythlothCoder We have same hopes (: I hope it will help other programmers as well, it's just a matter of time...If you know what I mean =)
FrozenPixelStudio 1 year ago
Amazing as always.
AbstractRS 1 year ago
@AbstractRS :D Thanks!
FrozenPixelStudio 1 year ago
@snasebrase weeee! ;)
FrozenPixelStudio 1 year ago
I'd say that looks really neat. *thumbs up* :)
Kosake82 1 year ago
@Kosake82 Thanks mate (:
FrozenPixelStudio 1 year ago
i cant find part 1 :O and when i click the screen at the end, nothing happens :( btw i would love to see an update every week :3 and it looks REALY great btw! good work xD
TheMastaGlazy 1 year ago
@TheMastaGlazy Part 1 is currently being uploaded. You will need to wait for it...This video will be private for that time. Thanks (:
FrozenPixelStudio 1 year ago
Finaly a new update!!! x3 i thought you guys quit the project :O
TheMastaGlazy 1 year ago
@TheMastaGlazy Never Quit, Never Surrender!!! ;)
FrozenPixelStudio 1 year ago