Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Goombert

2776
General ENIGMA / Re: Innacurate Framerate Counter
« on: May 25, 2013, 09:11:10 am »
... no forthevin, people do it manually; you set_automatic_draw(false); then add a delta timer and in your step event manuall screen_redraw or event_perform the draw events, for instance 70step events a second and 30fps draw events a second. You don't get it? People do it in Game Maker to allow more time for logic instead of drawing.

2777
General ENIGMA / Re: Testing and logging fps on different systems
« on: May 25, 2013, 08:32:21 am »
Here is a x64bit Linux executable for anybody to lazy to compile...

Download: https://www.dropbox.com/s/37w694x34lmk0ts/fps_logging
Size: 1.37mb's

OS: Ubuntu/GNU + Linux
Release: 13.04 Raring Ringtail
Graphics Capability: DX10/11 & Shader Model 3.0 and OpenGL3 with GLSL 3.0
CPU: Advanced Micro-Devices AMD x64 Quad Core at like 2.1 GHZ or something

Here are my results...
Code: [Select]
room_speed: 10, fps: 10
room_speed: 30, fps: 30
room_speed: 45, fps: 45
room_speed: 60, fps: 60
room_speed: 100, fps: 100
room_speed: 200, fps: 200
room_speed: 500, fps: 500
room_speed: 1000, fps: 967
room_speed: 2000, fps: 984

2778
Announcements / Re: LateralGM Update
« on: May 24, 2013, 04:55:00 pm »
IsmAvatar, no you didn't listen to gra, he said when he adds a code action then opens it and closes the object frame it gives another NPE, I assume because the object frame is disposed of before the Action frame. That is not a regression and is therefore not my fault, I checked the dispose of the object frame and it does not dispose of action frames, so I do not know.

2779
General ENIGMA / Re: Innacurate Framerate Counter
« on: May 24, 2013, 03:10:23 pm »
Forthevin:

4) No, they let step events happen at 60hz and drawing happen at 30hz or vice versa.

2780
Announcements / Re: Huge speed increase
« on: May 24, 2013, 03:08:57 pm »
Forthevin, I have confirmed if you attempt to set it to 0 in the room editor, it will just revert. Now setting it to 0 where I was setting it to 1000 in obj_gamestate create event will uncap it and give the above results.

2781
General ENIGMA / Re: NaturalGM Object Editor
« on: May 24, 2013, 02:03:00 am »
TheExDeus, yep I know exactly what you are talking about.

2782
Announcements / Re: LateralGM Update
« on: May 24, 2013, 01:59:21 am »
I have fixed the Null Pointer Exception gra, please download the new jar file...
https://www.dropbox.com/s/zwtpe77h0j9c2eq/LateralGM18.zip

Let me know if the issue persists or not.  (Y)

2783
General ENIGMA / Re: Innacurate Framerate Counter
« on: May 24, 2013, 12:51:50 am »
Least YoYoGames managed to code a stable update loop, where as you can not.

Edit: After adding the IQ test using a process priority lower than Game Makers, I was able to churn out 8000 objects each one drawing its own cube with 2 extra triangles per cube or 16000 extra triangles at a solid 90fps...


I will rewrite this again in the morning to use a single object drawing them all as one batched model  (Y)

2784


Looks like your trying to bend a spoon with your mind Josh, want some help with that?

2785
General ENIGMA / Innacurate Framerate Counter
« on: May 24, 2013, 12:28:47 am »
Yah I think it is suffice to say I as well as many others have a few discrepancies regarding the frame rate counter.

1) The darn thing is so inncarute, it would be a better measure to use a random number seed to generate the proper count
2) Everybody who tries ENIGMA asks the same question, why does an empty game run at only 53 fps? Because its not doing anything, make it draw something. Why are 1000 objects in Studio faster? Because its not doing enough make it 100,000 objects.  :(
3) It is horrible for when you are developing a game, take for instance when I was programming Project Mario. I knew that when I added particle effects my fps took a hit of 30fps, in ENIGMA it would probably go from 53 to 78fps because its alloted more CPU time, this is just stupid, there is no way then to accurately compare, and I for one can't work without it
4) A lot of Game Maker users I know will set_automatic_draw(false); then implement their own redrawing timer to lock draw events to 30fps and let the rest of the time go to updating, so you'd have perhaps 73 step events per second and 30 locked draw events, this is going to cause serious inconsistencies
5) Most game engines like Unity3D completely unlock the framerate and let vsynch catch, not even possible with ENIGMA, because ENIGMA may just decide your game does not need more than 53fps

Unity3D Reference 1
http://answers.unity3d.com/questions/15574/fixed-frame-rate.html
Unity3D Reference 2
http://forum.unity3d.com/threads/4607-Locking-the-framerate

If anything we need to have the option to uncap it if we want and control the CPU usage ourselves from Global Game Settings like you can in Game Maker, at least there I used to have control, but ENIGMA wants to just assume that every game runs at the same framerate, ignoring any other implications of testing and design of a game in the works.

2786
General ENIGMA / Re: Critical Change, Function Renaming
« on: May 24, 2013, 12:03:28 am »
Ahhh thank you forthevin, thats what I had assumed.  (Y)

2787
General ENIGMA / Shader Factory
« on: May 22, 2013, 08:59:15 pm »
I find the programming concept for shaders of Blender quite intersting and somewhat better that Drag and Drop and think this would also be something for us to look into. You basically can connect input and output to combine various textures and materials to get effects you are looking for.




Thoughts guys?

2788
General ENIGMA / Re: NaturalGM Object Editor
« on: May 22, 2013, 07:50:23 pm »
Yes it is just a prototype Dark  :D The widgets are resizable, and action list editor is a closable dock widget.  (Y)

2789
General ENIGMA / Re: Critical Change, Function Renaming
« on: May 22, 2013, 07:48:27 pm »
Yes Deus however in the new graphics system they are using Vertex Buffer Objects. That creates the problem there because when you pack the vertice data into the VBO it gets sent to the GPU and is then cleared. Now the polygon functions I have already added to my version of Box2D, as you know we have two extensions now. The shape functions are used for building the various polygonal collision objects and stuff within the world. I was just proposing the idea of making them drawable, and all inclusive. And there has got to be a way of modifying a VBO or how vertex data is stored so that a z value is not even passed, I can't think of why there would not be. But I am only proposing dropping d3d_* in the future really, because d3d_model_draw is not consistent with draw_sprite and other draw_* functions. If I am wanting to draw a model then I darn well need to know wtf models are and prefixing them with extra characters that I don't need to waste my time typing always, is not going to help me, in fact a clear abmiguation would help me more to see that their is in fact a difference.

2790
General ENIGMA / NaturalGM Object Editor
« on: May 22, 2013, 04:22:26 pm »
This is part of my proposed idea for incorporating actions and events altogether in a single code editor editor. I am looking into other methods of doing this such as combining it with a collapsible tree widget. In this prototype the symbol margin stores the unique event identifier, so there is no need to macro. Right clicking on the symbol margin gives you a context menu to add an event node.


Now I also had the idea we could just make the action list editor a dock widget and allow you to just close it if you dont want it and get my edit button like in the new LateralGM.



Another idea of mine is to use a toolbox..


Now this last idea of mine involvse us writing our own custom widget for making collapsible areas, which I in fact what to do for other things like the scene editor anyway.


I am still designing a few idea's yet, I would like everyone to discuss this and offer your own suggestions and proposals.  (Y)