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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »
421
General ENIGMA / Re: New Beginnings
« on: June 01, 2014, 04:29:41 am »Yes, I've decided I am going to make this an engine for advanced users.
No drag and drop, strict C++, and an entity-component system.
Ok, fine. Let's think about this : if you are making a project for advanced users, why such a user would use your project instead of ones already existing like Unity or Unreal engine ? These projects are already mature, stable and comes with a lot of advanced tools.
If we think about the existing creation tools for games, more or less, we can list the following types (not exhaustive) :
- Powerful languages (e.g Darkbasic, Blitzbasic), or libraries (e.g XNA) which are easy to use and are optimized to make games. From my point of view the major drawback is that they don't have an integrated IDE for managing the resources of the games (sprites and maps editors for example). This means you have find different tools, compatible with your programming environment, in order to make these resources.
- Tools (e.g Stencyl, Construct) which are made for people who don't want to program. They use visual metaphors instead. I think this is a serious limitation.
- Professional tools for advanced users (Unity, Unreal engine, etc). They take a lot of time to learn and are used mainly for complex games.
And finally we have Gamer maker. It's very easy to learn, and users can quickly make and test simple games. You have also integrated IDE for managing all aspects of the game. I think that's why, despite all its flaws, it is so successful.
422
General ENIGMA / Re: New Beginnings
« on: June 01, 2014, 04:01:56 am »Why wouldn't we compete with UE or Unity?
Making a game engine for simple games is already a huge and very difficult task, so imagine doing a competitor of UE or Unity ! I think only a company can make such a project. Do you know an open-source project similar to UE or Unity ? It is no accident you will not find such a project.
423
Issues Help Desk / Re: instance_deactivate_region crashes the application
« on: May 31, 2014, 03:51:38 pm »Run a test egofree and make sure that it properly deactivates the instances when called from room create with that parameter
Yes it is working.
424
General ENIGMA / Re: New Beginnings
« on: May 31, 2014, 03:38:58 pm »There are more performance problems with .NET than just JIT. It's garbage collected, its object in-memory layout is terrible, calling non .NET code has all kinds of performance loss converting objects, etc. It is a little better than Java, at least in what's possible to express.
I've used .Net application only for business applications, not for games, and of course it's not the same. But i guess, except if you want to make very complex 3D games, it's not so important. As i see it, we are talking here about making a game engine for simple games, not making competitors to Unreal engine 4 or Unity !
425
Issues Help Desk / Re: instance_deactivate_region crashes the application
« on: May 31, 2014, 03:32:28 pm »Oh, holy fuck, I guess that's a major design flaw on GM's part. Try calling it with that parameter false.
Yes, with the parameter false, it's doesn't crash ! But in this case, the application should close, no ? Are you sure it's a design flaw from GM ? Or is it ENIGMA engine ?
I don't have now GM installed on my PC, but i don't remember any problem with this function with GM.
Perhaps it's not that serious, the last parameter is not taken into account or it's not tested correctly (false is taken as true, and vice versa)
426
Issues Help Desk / Re: instance_deactivate_region crashes the application
« on: May 31, 2014, 03:24:47 pm »Please provide me with a minimal test case that reproduces the issue or give me some simple exact steps to make an example which exhibits the crash.
I've uploaded a test project in my second message. But did you notice that i said this problem happens only in the creation code of the room ?
The first test was with Windows 8.1 at the office. I did more tests at home :
- On Windows 7 64 bits it crashes ENIGMA.
- On Linux Mint KDE 64 bits, it doesn't crash the application, but it closes the window. But as i understand it should not be the case as i wrote the following method :
Code: [Select]
instance_deactivate_region(0,0,100,100,true,true);In the enigma wiki, it's written the last parameter is :
Quote
notme boolean whether to deactivate the instance calling the function (optional, default set to true)
So the application should not deactivate itself ?
Update:
Here is a screenshot:
427
General ENIGMA / Re: New Beginnings
« on: May 31, 2014, 02:52:57 pm »
If you want to throw away GML and EDL, what about using C# instead of C++ ? From my point of view it's much more friendly than C++, it has compiler on Windows, Linux and Mac (mono), and Microsoft says the future of C# is open source and it's also possible now to make very fast applications with .Net Native :
http://blogs.msdn.com/b/dotnet/archive/2014/04/24/dotnetnative-performance.aspx
But again if think if GM was so successful, despite all its flaws, it's because it has the reputation to be very easy to learn. Well, i know that you could explain to users that the only difference between GML and C++ is only the semi-colon at the end, but i doubt they would listen to you !
Anyway Robert, that's was only my two cents. I am always grateful for all the work you've done and all the support you give on this forum, and whatever you want to make, it's YOUR decision, and i will wish you the best in any case !
Code: [Select]
.NET Native gives you the performance of C++ with the productivity of C#. http://blogs.msdn.com/b/dotnet/archive/2014/04/24/dotnetnative-performance.aspx
But again if think if GM was so successful, despite all its flaws, it's because it has the reputation to be very easy to learn. Well, i know that you could explain to users that the only difference between GML and C++ is only the semi-colon at the end, but i doubt they would listen to you !

Anyway Robert, that's was only my two cents. I am always grateful for all the work you've done and all the support you give on this forum, and whatever you want to make, it's YOUR decision, and i will wish you the best in any case !
428
Issues Help Desk / Re: Can't rename a resource under linux
« on: May 31, 2014, 11:12:22 am »Oh that certainly could be causing issues, why not try a 32bit Java installation?
Read my previous message !
429
Issues Help Desk / Re: Can't rename a resource under linux
« on: May 31, 2014, 11:08:25 am »How are you launching LGM? I cd to enigma-dev then java -jar lateralgm.jar, make sure you cd to the dir that contains LGM. I promise you egofree, nothing has changed, it has always been this way.
Yes that's what i am doing. Perhaps it's because i am using the 64 bits version of Java. I tried to install first the 32 bits version of Java, but when i tried to run LateralGM, it didn't find some libraries needed to run awt and swing. It is looking for 32 bits libraries, but as my OS is 64 bits, only the 32 bits version are installed. I tried to install also 32 bits version of these libraries but i didn't succeed so far.
430
General ENIGMA / Re: New Beginnings
« on: May 31, 2014, 10:45:28 am »
It's a little bit off-topic, but do you still want to support ENIGMA ? As you are the only developer doing it for the moment, if it's not the case, for me ENIGMA will be a dead project.
431
General ENIGMA / Re: New Beginnings
« on: May 31, 2014, 10:43:13 am »Only real difference is you would need to start placing ;
You are joking, right ?!!

I don't pretend to know really C++, i've done only a little bit at university. But what i remember is that from me it was the least pleasant language to read. We have more modern managed languages, so i don't see the pleasure to manage again pointers hell !
In this case, why bother about C++ ? Let's code everything in assembly, as you don't even need to compile the code !
432
General ENIGMA / Re: New Beginnings
« on: May 31, 2014, 10:24:14 am »* Possibly, strict C++, meaning no GML or EDL and no hybrid language, pure C++, variant type would remain most likely however, only differences would be more strict syntax, which ENIGMA kind of already has anyway.
For me, one of the most important aspect of GML and ENIGMA is the ease of use. If you impose C++, you will repel a lot of people, including myself. In this case, why bother ? Let's code everything with C++ and OpenGL. No need of GM or ENIGMA

But who will do this project ? You said you don't have much free time anymore
433
Issues Help Desk / Re: Can't rename a resource under linux
« on: May 31, 2014, 04:30:57 am »
It happens with all resources, by double-clicking on it, or by pressing f2, or also with the contextual menu.
I've Linux Mint KDE 64 bits. It comes with OpenJDK. First i tried to remove OpenJDK and install instead the official Oracle version of Java. It doesn't change anything. Then, i tried to open the LateralGm code in Eclipse and to see why i had this error. But when i run the Lateralgm code from Eclipse i didn't have this error anymore !
I did more tests, and i've found that if i run lateralgm.jar in another directory i don't have this error. (Of course if i run LateralGm alone i can't do much, but it's still possible to create a resource and to rename it). I did more tests, and i've found that if i rename the plugins folder in the enigma-dev folder, i don't have this error. I think the error must come from the jna.jar file. If i rename the enigma.jar file, i've still this error, and i can't run LateralGm if i try to change the name of the jna.jar file.
I've Linux Mint KDE 64 bits. It comes with OpenJDK. First i tried to remove OpenJDK and install instead the official Oracle version of Java. It doesn't change anything. Then, i tried to open the LateralGm code in Eclipse and to see why i had this error. But when i run the Lateralgm code from Eclipse i didn't have this error anymore !
I did more tests, and i've found that if i run lateralgm.jar in another directory i don't have this error. (Of course if i run LateralGm alone i can't do much, but it's still possible to create a resource and to rename it). I did more tests, and i've found that if i rename the plugins folder in the enigma-dev folder, i don't have this error. I think the error must come from the jna.jar file. If i rename the enigma.jar file, i've still this error, and i can't run LateralGm if i try to change the name of the jna.jar file.
434
Issues Help Desk / Can't rename a resource under linux KDE
« on: May 30, 2014, 11:05:08 am »
Here is the error message :
It happens only under linux. With Windows, it's fine.
Quote
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(TimSort.java:868)
at java.util.TimSort.mergeAt(TimSort.java:485)
at java.util.TimSort.mergeForceCollapse(TimSort.java:426)
at java.util.TimSort.sort(TimSort.java:223)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(SortingFocusTraversalPolicy.java:136)
at javax.swing.SortingFocusTraversalPolicy.getFocusTraversalCycle(SortingFocusTraversalPolicy.java:110)
at javax.swing.SortingFocusTraversalPolicy.getComponentAfter(SortingFocusTraversalPolicy.java:280)
at javax.swing.LayoutFocusTraversalPolicy.getComponentAfter(LayoutFocusTraversalPolicy.java:106)
at sun.swing.SwingUtilities2.compositeRequestFocus(SwingUtilities2.java:1556)
at javax.swing.plaf.basic.BasicTreeUI.startEditing(BasicTreeUI.java:2179)
at javax.swing.plaf.basic.BasicTreeUI.startEditingAtPath(BasicTreeUI.java:618)
at javax.swing.JTree.startEditingAtPath(JTree.java:2390)
at org.lateralgm.main.Listener.actionPerformed(Listener.java:390)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.AbstractButton.doClick(AbstractButton.java:356)
at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(BasicMenuItemUI.java:802)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1662)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2869)
at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:689)
at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:697)
at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:697)
at javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:668)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:293)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2961)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2953)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
at java.awt.Component.processEvent(Component.java:6282)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
It happens only under linux. With Windows, it's fine.
435
Issues Help Desk / Opening an EGM windows project under linux is not possible
« on: May 30, 2014, 04:37:14 am »
Hello,
If you make an empty enigma project under windows, save it with an egm file, and you try to open it again on linux, it crashes ENIGMA. I think i've found why : on Windows, in the Enigma Settings, the 'Make Directory' is '%PROGRAMDATA%/ENIGMA/'. On linux if you replace this setting with '%HOME%/.enigma/', it's ok !
Update:
What about having a value for each OS within the project file for the 'Make directory' setting ? It seems it would solve this problem.
Update2:
The gmk file doesn't have this problem. I guess we should implement the egm files as the gmk files concerning this setting.
If you make an empty enigma project under windows, save it with an egm file, and you try to open it again on linux, it crashes ENIGMA. I think i've found why : on Windows, in the Enigma Settings, the 'Make Directory' is '%PROGRAMDATA%/ENIGMA/'. On linux if you replace this setting with '%HOME%/.enigma/', it's ok !
Update:
What about having a value for each OS within the project file for the 'Make directory' setting ? It seems it would solve this problem.
Update2:
The gmk file doesn't have this problem. I guess we should implement the egm files as the gmk files concerning this setting.