Seheiah
|
 |
Posted on: May 15, 2014, 04:55:23 am |
|
|
 Joined: May 2014
Posts: 11
|
Hi everybody... I am new to Enigma so i was trying to find info and tutorials about it. I downloaded a metal slug demo fromm yoyo website http://sandbox.yoyogames.com/games/164682-metal-slug-example-editable-arms-enemys-tanks-aliens-and-moreand after changing 3 small things: != instead of <> an empty sprite i deleted break sentence in a for statement that i deleted all of them in marco_obj I managed it to run but i found a problem: The game starts in the title screen which works ok in full screen...but after pressing enter to go to the first level of the game, this level does not go in full screen. Instead of it you can see the game in a small area at bottom left of the screen. i tried with ogl1, and ogl 3 and the same...with dx9 the same but the game is at up-left of the screen and you can not see the platforms even. In GM8.1 works well without this issue Maybe is a problem that the title screen and the levels are different size and enigma is not updating the fullscreen when you change the rooms? On another hand, as i told you before, i am new in this envoronment...can i use tutorials from game maker? any differences with functions or system variables? what can you recomend me to start? any good tutorial? Is enigma at the same level of GM? any missing features? thanks a lot
|
|
« Last Edit: May 16, 2014, 09:47:38 am by Seheiah »
|
Logged
|
|
|
|
|
TheExDeus
|
 |
Reply #2 Posted on: May 16, 2014, 02:22:23 pm |
|
|
 Joined: Apr 2008
Posts: 1860
|
It seems that GM ignores view port when in full screen, while ENIGMA doesn't. ENIGMA forgets the "Full scale" option when changing rooms and resorts to default behavior. While it might be logical, I guess what GM does is better from usability standpoint. You can do something like: room_set_view(mision1,0,true,0,0,320,224,0,0,display_get_width(),display_get_height(),128,128,4,4,obj_marco); In game start event to fix that. I guess we should conform with GM in this behavior. Do you recomend me to work with Enigma or maybe is better at this moment to work with GM 8.1? Use what you want. If you are new to making games, then I suggest GM more. ENIGMA right now is kind of rough and you won't be able to use additional features that ENIGMA has without knowing more about programming (like basics in C++). Can you tell me the difference between Enigman and Construct Classic? That tool looks a lot different than ENIGMA, so I don't even think you can compare them. From technical standpoint ENIGMA seems more powerful (as that construct is only for 2D) and faster (as it's HTML5 tool as far as I know), but it supports web platforms. So I don't think you can really compare the two. They are both for making games (at least 2D), that's all they have in common.
|
|
|
Logged
|
|
|
|
Seheiah
|
 |
Reply #3 Posted on: May 16, 2014, 04:26:42 pm |
|
|
 Joined: May 2014
Posts: 11
|
Thanks for the response...
i put this code 'room_set_view(mision1,0,true,0,0,320,224,0,0,display_get_width(),display_get_height(),128,128,4,4,obj_marco);' in creation code in mision1, i tried as well when obj_marco is created and adding to obj_marco a game start event and no one of the three ways the mision1 went to fullscreen...what did i do wrong?
Thanks
|
|
|
Logged
|
|
|
|
|
Josh @ Dreamland
|
 |
Reply #5 Posted on: May 17, 2014, 11:02:20 am |
|
|
Prince of all Goldfish
 Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
You can edit views live using the existing arrays. I've gone and documented them for you, here.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|
Benxamix2
|
 |
Reply #8 Posted on: May 18, 2014, 08:13:57 am |
|
|
 Location: Chile Joined: Mar 2012
Posts: 69
|
Experiment, try anything you feel like trying and that you think you'll use. Like, make a simple game testing ENIGMA capabilities. The only C++ I can find using ENIGMA are the variable types and adding semicolons at the end of every statement. But that's more than enough. ENIGMA is mature enough to make games, I'm actually making one myself. But it may not be fit for complex 3D games. At best, you'll make it work. You can use every Game maker tutorial, as long as the function you look for is not within the Obsolete functions list. Also, check out the EDC for ENIGMA example games. There is good stuff to start with, there.
|
|
« Last Edit: May 18, 2014, 08:23:12 am by Benxamix2 »
|
Logged
|
|
|
|
|
Goombert
|
 |
Reply #10 Posted on: June 05, 2014, 06:01:42 am |
|
|
 Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Sorry I didn't responsd to this, I know Direct3D 9 screws up with changing focus or switching fullscreen, it is because the system does not handle lost devices yet, which is something OpenGL does not require, basically, Direct3D is retarded and when you switch focus it destroys all your resources so you need to reload them, which is basically retarded.
Anyway, I have no comment with the views, because again I don't feel the need to limit them so that the user can no longer utilize dual monitors, something that is also impossible in 8.1. We haven't deprecated the display functions like Studio, so really the whole argument is moot. Just code your game to handle the display resolution. If you disagree with me, take it up with Josh, or start a forum discussion because Darkstar and I think TKG agree as well, but I do not. I am not trying to be rude, I just think it is a bad idea.
Also, I am surprised that example worked out of the box.
|
|
« Last Edit: June 05, 2014, 06:03:27 am by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect. 
|
|
|
Goombert
|
 |
Reply #11 Posted on: June 05, 2014, 06:57:31 am |
|
|
 Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
I'll give you a rough overview of my opinion of the two.
1) D3D is more managed than OGL, which I find kind of nice, but also gives D3D overhead compared to OGL, the whole reason API's like Mantle are springing up is because API design is being reversed from focus on abstraction back to the desire for low-level. 2) OGL does not have zfighting it adopted a logarithmic depth buffer, which is fucking genius. 3) D3D does stupid shit, like delete your resources when losing focus. 4) D3D has a much more consistent implementation on graphics hardware, which is not OGL's fault. 5) OGL is cross-platform. 6) D3D is faster (not really), and again not OGL's fault. 7) D3D can switch between software and hardware vertex processing easily, the awesomeness of this is even more apparent in Direct3D10/11 because if your card does not support the new features it can still emulate them in the CPU. 8) Everything else in the DirectX API sucks, especially DirectSound, I have no complaints about OpenAL.
But overall, I would say OGL and D3D are equally shitty API's which we can blame on the industry, Microsoft, Nvidia, AMD, all of them can go to hell.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect. 
|
|
|
Goombert
|
 |
Reply #12 Posted on: June 05, 2014, 07:17:37 am |
|
|
 Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
OGL 3 is the same way, except the added benefit of it running on Embedded Systems with pretty much no differences. XAudio2 is just a layer on top of DirectSound, it also sucks, none of Microsofts audio API's compare to OpenAL. I don't really like any audio API in comparison to OpenAL, it really is my favorite, there is nothing it can't do.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect. 
|
|
|
|
|
|