And new update is ready, here are current additions:
- Making window to fit app [Alt+F]
- Bringing player to front on launch
- Passing all key events to Gideros with event->realCode, event->keyCode works as previously
- Opening Gideros documents/resources/temp directory from player
- Opening previously launched projects from player on desktop (use menu), android and ios (hold finger on screen for more than 5 seconds and release)
Note: you need to relaunch project with this new player to be able to open it later
- Receiving touch events (including multi touch) on desktop
- Restart player's project [Ctrl+R]
- Added Event.APPLICATION_RESIZE event for when window is resized, get new dimensions using respective application class method
- Implemented Application:isPlayerMode() method returning true if project is running on player and false if as an app
- Android player using immersive view by default
- IOS fixing crash when only landscape supported in Gideros Player
- Implemented Sprite setAnchorPosition/getAnchorPosition which changes Sprites relative anchor position in Sprite's internal coordinates. Meaning Sprite with dimensions 100x100 and anchor position of 50x50 would rotate around its center
- Included plugin building in build workflow, each new build should include updated plugins now
https://github.com/gideros/gideros/releases/tag/2015.03.22
Comments
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh, bali001
https://deluxepixel.com
@SinisterSoft previous media plugin was using OpenCV, as now we are using QT5 it has similar capabilities without the 3rd party code, so I started rewriting plugin to QT5, but did not finish yet
But I wanted to make a release in yesterday, because I will be busy couple of next weeks and probably won't be able to make a build in that time.
Likes: SinisterSoft
Likes: vitalitymobile, SinisterSoft, pie
https://deluxepixel.com
Likes: SinisterSoft
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
btw, Talis's idea is a great idea - I think we should go with that.
https://deluxepixel.com
Niclas
Likes: SinisterSoft, keszegh, bali001, hgy29, simwhi
great to see this release.. I have a question regarding Sprite:setAnchorPosition/getAnchorPosition.. Earlier this functionality was implemented using GCE .. is that deprecated ? or should i comment relevant portions of that code to use the new API ?
needless to say i use it heavily
the new feature:
"Opening previously launched projects from player on desktop (use menu), android and ios (hold finger on screen for more than 5 seconds and release)"
is really getting on my nerves as it applies during the game too and in my game long touches are regular, so it always pops up.
on the other hand when no project is started yet, the previous projects chooser menu could be always shown, why not?
so all in all the 5sec feature is annoying ingame and unnecessary offgame (as the menu could be always shown and then no need to touch and wait 5 sec).
whatever you choose, could you make some reasonable solution so that it does not mess up the game's behavior?
thanks
Fragmenter - animated loop machine and IKONOMIKON - the memory game
@uncleking the functionality is actually a little different, (as the name says) as it takes position, not the relative point between 0 and 1 as in setAnchorPoint. The only clash I think is, that they both use anchorX and anchorY names in set and get functions.
What I think needs to be done is to rewrite GCE to provide setAnchorPoint based on this new function setAnchorPosition. But till then I want to let setAnchorPosition to sunk in a little more and have feedback about how it works, etc
@keszegh I was thinking a lot on how to implement the menu without messing the game, and 5 second long click was the only bearable solution I could come up with.
Can't really show the menu by default, as it would overlay ip and other data.
But what we probably could do, is to display the menu on simple tap on the screen when app is not running?
Any better solutions?
So there must be some kind of gesture to do that while game is running, question is which one, that it won't be obtrusive to game testing
another (not exclusive) option would be to put a tickbox to the main screen to enable/disable the 5sec longtouch gesture option.
btw the list of previous projects could start below the ip address etc and then they could be shown always. but that's more minor issue, as you said, a short touch could already open the list of previous projects in the player main screen.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
1) I can't intercept exit/quit, there could be no modification, the app in player should run exactly as it runs standalone
2) on ios, there is no "quit"
So there must be a gesture or something like that
Fragmenter - animated loop machine and IKONOMIKON - the memory game
most of the times anyway we send+run the project from the desktop, aren't we.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
So the feature is actually for the case, when you are not at your computer and you want to test game, that you were previously launching on device.
Let me try the closing and reopening app thing, if it kills app, it could work
https://deluxepixel.com
Has anyone else noticed this?
https://deluxepixel.com
@vyh77 at some point yes.
It would help a lot if someone would provide working Android Studio project of Gideros game, so I could make a template out of it
Fragmenter - animated loop machine and IKONOMIKON - the memory game
How so?
http://docs.giderosmobile.com/reference/gideros/Sprite/Event.KEY_DOWN#Event.KEY_DOWN
more questions then:
is this realcode triggered for every key, like space etc and can it distinguish between lower and upper case letters etc?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
but realCode just passes what its platform passed it, so yes all keys will work including space, and whether it differs upper case or lower case purely depends on platform