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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 »
826
Issues Help Desk / Re: Weird sprite issue
« on: May 24, 2014, 11:04:54 pm »Well I can't import them myself, APNG don't show because they're not a "SPI compatible format".
On the file selector, manually enter *.apng
the file appears, click on it. That's how I did it,
and it worked. Beware doing this though, it will only read the first frame from the APNG, as it's stored as a normal PNG stream and probably ignore the rest or error. LGM does not import directly from APNG.
If that was a non animated sprite, you could rename the APNG to PNG. Any PNG reader will be able to read the first frame of the PNG.
I only did this for testing purposes.
Quote
Another fact here: I haven't even set my ENIGMA installation to Spanish. But somehow it has always been like that, in spanish by itself.
This is absolutely strange even paranormal
Is your windows version spanish ? Maybe somehow it is detecting some keyboard/language settings and saving info into the EGM ?
As strang as it may sound, maybe this has to do ? Some glitch/bug in LGM ?
827
Issues Help Desk / Re: Weird sprite issue
« on: May 24, 2014, 10:51:06 pm »APNGs can be viewed trough Firefox, Robert.Very strange indeed.
Ok I extracted the spr_0.apng
I could view the sprite just fine.
How could you view a 169 bytes-sized sprite? It doesn't contain anything! Or at least that's what my Firefox tells me from my point of view here.
You mean you extracted the EGM file I attached, and viewed those APNG files?
Yes I extracted it from your EGM into a folder, loaded that back into a blank project, the sprite displayed fine.
Had no problem importing APNG to LGM, after all if not mistaken that is is the format used internally.
BTW I noticed when I opened your EGM file in LGM, the enigma settings below extension displayed in spanish...... How is this possible that LGM change language based on the EGM file, first time I see this
828
Issues Help Desk / Re: Weird sprite issue
« on: May 24, 2014, 10:07:54 pm »
Very strange indeed.
Ok I extracted the spr_0.apng
I could view the sprite just fine.
I imported it inside a new project, it displays fine.
I saved the project (EGM) and closed, opened enigma again and load it, and it still displays fine.
I repeatedly saved and closed, open, and it's still there.
I could not reproduce this at all.
@Robert: Could he be using an outdated version of JAVA or this has nothing to do ?
Ok I extracted the spr_0.apng
I could view the sprite just fine.
I imported it inside a new project, it displays fine.
I saved the project (EGM) and closed, opened enigma again and load it, and it still displays fine.
I repeatedly saved and closed, open, and it's still there.
I could not reproduce this at all.
@Robert: Could he be using an outdated version of JAVA or this has nothing to do ?
829
Issues Help Desk / Re: game end EVENT issues
« on: May 24, 2014, 03:04:41 am »
Oh I forgot about that ...
ok used alone if not using a return value
and index if using a return value.
much like a regular script
ok used alone if not using a return value
and index if using a return value.
much like a regular script
830
Issues Help Desk / Re: Weird sprite issue
« on: May 24, 2014, 01:50:46 am »
Before you saved that project and sent attachment were the sprites visible?
Try making a new project with the sprites,
save it once and attach it.
All 3 are blank.
However if I manually add the sprite example you used above and save / reopen it does not go blank.
Try making a new project with the sprites,
save it once and attach it.
All 3 are blank.
However if I manually add the sprite example you used above and save / reopen it does not go blank.
831
Issues Help Desk / Re: Weird sprite issue
« on: May 24, 2014, 12:29:07 am »
Well I reproduced the error.
BTW, get used to that, there are tons of ways to force a crash in LGM Remember the tip I gave you, save your projects frequently. There is probably shite pile of stuff to be fixed / redone, more so than any remaining dev(s) will ever have time to fix
Is this what you see?
I still cannot reproduce your sprite problem.
Strange indeed.
Is this happening inside an existing project you are working in ?
Can you reproduce this with a new project, importing just this sprite, saving project and reloading ?
If so, attach a sample project.
BTW, get used to that, there are tons of ways to force a crash in LGM Remember the tip I gave you, save your projects frequently. There is probably shite pile of stuff to be fixed / redone, more so than any remaining dev(s) will ever have time to fix
Is this what you see?
Quote
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I still cannot reproduce your sprite problem.
Strange indeed.
Is this happening inside an existing project you are working in ?
Can you reproduce this with a new project, importing just this sprite, saving project and reloading ?
If so, attach a sample project.
832
Issues Help Desk / Re: Weird sprite issue
« on: May 24, 2014, 12:07:31 am »I use EGM already, that's not the problem.
It's a problem I've had since a good time ago, while making my game (from scratch).
Even making new projects don't help me, the sprites don't load.
I work with EGM on a daily basis, bug chasing and experimenting with things, opening cans of worms along the way (Robert likes those )! so far sprites display fine and I open/close many times.
Does the sprite only disappear in the resource tree or also in the room ? Is it still visible in the room?
833
Issues Help Desk / Re: What's this half a second black screen in OGL before game starts ?
« on: May 23, 2014, 11:58:07 pm »I already know what causes that for Direct3D, but I had no idea our Window code was this bad, the aspect ratio should have been applied to the the screen viewport, this is a real mess.
BTW just for testing purposes I am testing the changes as you made them.
The windows positioning seems ok now.
However, the delay is back...... for all gfx systems. before the recent change there was no delay, it was same as GM.
More so when using allow window resize,
you can only make it bigger but you cannot make reduce it back it sticks. stretching with mouse, bigger, works but if you want to reduce it back it does not work.
delay is back and dx9 fullscreen is not working even partially. in other words aside from windows center/position glitch, everything else is back to square 1
834
Issues Help Desk / Re: What's this half a second black screen in OGL before game starts ?
« on: May 23, 2014, 11:33:36 pm »
I understand, just reporting stuff as I find them. This windows glitch was not present before.
BTW, DX9 is not working at all now.
Nothing is getting drawn.
with recent change, it is working, but
room display delay is back. (all systems)
OGl1, and OGL3 work, sprites display
DX9 nothing gets drawn, even with draw_self()
Perhaps at the same time do you think you might find out what causes the screen to go blank when going from windows to full screen ? and even full to window does not reset back the screen it stays blank.
BTW, DX9 is not working at all now.
Nothing is getting drawn.
with recent change, it is working, but
room display delay is back. (all systems)
DX9 nothing gets drawn, even with draw_self()
Perhaps at the same time do you think you might find out what causes the screen to go blank when going from windows to full screen ? and even full to window does not reset back the screen it stays blank.
835
Issues Help Desk / Re: Weird sprite issue
« on: May 23, 2014, 11:31:42 pm »
I could not reproduce this. I followed exactly your steps.
I saved your png,
loaded it as png sprite
and loaded it as strip
it displays fine.
Saved the project and loaded it again
displays fine.
I've had similar issues when importing projects from GM/GMS, was this a new ENIGMA project or import from GM?
Try saving in EGM format instead of the default GM1.2 save. I always save in EGM as I don't intend to port them to GM/GMS.
Once you save to EGM and load back from EGM it should work fine.
I saved your png,
loaded it as png sprite
and loaded it as strip
it displays fine.
Saved the project and loaded it again
displays fine.
I've had similar issues when importing projects from GM/GMS, was this a new ENIGMA project or import from GM?
Try saving in EGM format instead of the default GM1.2 save. I always save in EGM as I don't intend to port them to GM/GMS.
Once you save to EGM and load back from EGM it should work fine.
836
Issues Help Desk / Re: What's this half a second black screen in OGL before game starts ?
« on: May 23, 2014, 10:48:09 pm »
Ok fixed, I re-applied the changes.
Here are the results of my testing:
I will attach the program I made,
empty project, 2 rooms of different colors,
1 object in those 2 rooms,
page up room 1
page down room 2
You can flip back and forth:
* Windows centering issue seems fixed, but some new bug appeared.
I positioned the window in different places
and it stays there so that works fine.
Run my program and flip back and forth rooms, see if you can notice the glitch. a fraction of a second (frame) before the room window appears where it should, it is displayed at the top left position then immediately in its right place. As you switch back and forth look closely you will see what I mean........ if you can't see it, hold down the pageup or pagedown key it will be pretty obvious ! it's as if the window appears at coordinates 0,0 first then at its right position.
This not only when room changes but try with your mouse moving the windows around, you will see once you move the window to a new position it will draw it at 0,0 then its new position.
That's it for now I hope this helps.
Have fun
here is the testing project attached:
Here are the results of my testing:
I will attach the program I made,
empty project, 2 rooms of different colors,
1 object in those 2 rooms,
page up room 1
page down room 2
You can flip back and forth:
* Windows centering issue seems fixed, but some new bug appeared.
I positioned the window in different places
and it stays there so that works fine.
Run my program and flip back and forth rooms, see if you can notice the glitch. a fraction of a second (frame) before the room window appears where it should, it is displayed at the top left position then immediately in its right place. As you switch back and forth look closely you will see what I mean........ if you can't see it, hold down the pageup or pagedown key it will be pretty obvious ! it's as if the window appears at coordinates 0,0 first then at its right position.
This not only when room changes but try with your mouse moving the windows around, you will see once you move the window to a new position it will draw it at 0,0 then its new position.
That's it for now I hope this helps.
Have fun
here is the testing project attached:
837
Issues Help Desk / Re: game end EVENT issues
« on: May 23, 2014, 09:47:27 pm »
Thanks
BTW, why do I have to use thread=script_thread, can't I call script_thread directly ?
BTW, why do I have to use thread=script_thread, can't I call script_thread directly ?
838
Issues Help Desk / Re: What's this half a second black screen in OGL before game starts ?
« on: May 23, 2014, 09:44:49 pm »It'll be slightly faster, and I've already uncovered a bug, we have the window being centered when switching rooms which is not supposed to happen, this is a can of worms.
https://github.com/enigma-dev/enigma-dev/pull/732#issuecomment-44071761
lol....knew I smelled some worms somewhere
So this has nothing to do with the 2nd screen thingy right ?
BTW, forgot an i, it's genius !
839
Issues Help Desk / Re: What's this half a second black screen in OGL before game starts ?
« on: May 23, 2014, 09:06:59 pm »
Will removing this affect performance, meaning faster execution/games/drawing/rendering etc... or it has nothing to do and only affects initial running ?
840
Issues Help Desk / Re: game end EVENT issues
« on: May 23, 2014, 09:04:38 pm »
lol.
Could you please give me an example?
Let's say I am inside a game window and click the "X" to close the window, before the program exits, I would like a page to display a message and wait 10 seconds or wait for any key then game end.
BTW when using script thread, do I have to end the thread or close it, or is this done automatically upon the return from the script ?
Could you please give me an example?
Let's say I am inside a game window and click the "X" to close the window, before the program exits, I would like a page to display a message and wait 10 seconds or wait for any key then game end.
BTW when using script thread, do I have to end the thread or close it, or is this done automatically upon the return from the script ?