All I want for a Corona Christmas is...

I don’t remember well because the last time I have a look on texture packer it was more than a year ago.

I have generate new image from my sprite that why I can’t use MaxRect. It reduce a lot the size of the image in pixel but not the memory size.

For a blank image of 20 000x20 000 (400 000 000 pixel) it’s took 50kb (it’s as much pixel as 40 000 images of 200px on 200px)( https://drive.google.com/open?id=1ZQIWTtjUi44UUnsH0Ta0FZAbwrxxI6gx ) That mean win pixel isn’t usefull if it’s transparent.

For me texture packer is obselete since 2014, I have done a lot of test and it’s very hard to optimize the texture memory because we need to remove some imagesheet when they are not use for long…

If we want to reduce the memory size we need to use APNG. APNG is a very good thing and it’s improve quite often. It’s a long time I follow APNG and a lot of system use it now as Google chrome since April

How did this get to be a discussion about texture packer?

Because I’m being a bad admin and let the thread get hijacked and even contributed to it.

Bad Rob! Bad!

Sorry everyone :frowning: that’s all my fault, I only want to prevent developer to loose time with texture packer or other packer software

It’s all good.  I just wanted to see more Christmas wish lists.

Some more (will never happen but hey “ho ho ho”)

  1. Proper multi-threading or at the very least some form of independent background threads that doesn’t lock the main UI thread.  This would be really useful for background saving, game state recalculations, etc.

  2. Currently the “can only do work on a frame” means we are wasting CPU cycles until the next 16 (or 33) ms code slot.  It would be useful, for large complicated apps and games to be able to run code continually - this relates to point 1.

  3. “Masked” images to not be such a performance hit.

  4. Simple polygons to be more optimised - like rects are.

  5. A single 1024x1024 icon: the build process creates all the different sizes and automatically creates Images.xcassets.

  6. A way of detecting other packages installed on a device - specifically app crackers like “Lucky Patcher”, etc.  Ideally an API to return true is known suspects are installed.

  7. Sublime debugging to actually work (not sure where the responsibility lies there).

  8. Phone manufacturers to stop making sill thin and tall devices.   Oh and iPads not to be so square… 16:9 works just fine so why change it?

  9. More resources at Corona to get more cool stuff into Core.

10.More hours in the day!

  • Timer and listener work as transition for pause, stop… with tag and other thing very useful

  • Listener with low priority, some listener/function who are call/run when the frame rate is at the maximum (30 fps or 60 fps). It’s help to hide the loading and do heavy computation

  • Have a new clock, one identical for everything (enterframe, timer, transition…) base on a the framerate. Actually when we have timer, transition, sprite, enterframe listener who run at the same time if the app lag(the frame rate go down), the game don’t totally run properly. There will be things who will go very slow and some will run properly.

  • Sprite could work as transition with call function at the beginning, repeat and end of the animation, with a delay…

I have my own library for all points below and I use them every day. The efficiency of my library are probably very bad and I think it would help a lot of corona user to have them as native corona function. And it will be more intuitive to have transition and sprite who can be run by the same way and also for timer and listener.

  • Have doc about efficiency of every line of code. For example how much consume a :play() instruction, =display.newImage(…

@roaminggamer The post is updated

@sgs regarding #1:

I do have a luaproc binding, with a basic example here. (Disclaimer mentioned in other thread for another plugin: some of my plugins are due for some maintenance, which I’ll try to scrounge up time for next week. Been carried away with a rather involved side project of late.)

@remiduchalard

Timer Wish - You can get that timer functionality here: http://www.jasonschroeder.com/2015/02/25/timer-2-0-library-for-corona-sdk/ (it is quite a nice library).

Sprite Wish - I’m pretty sure you can write custom transition code to drive sprite animations.

Can you clarify the other two points more?  I’m not entirely clear but they sound intriguing.

I wish

  • Tha corona is widely used as a business app development tool.
  • HTML5 export
  • better text manipulation
  • orientation change based on device type.

And all the best to Corona Team and forum contributors! :slight_smile:

Implementation of something like gnuplot would be very nice especially for business app development. Perhaps a future plugin?

http://gnuplot.sourceforge.net/demo/

Poke! I’m poking this in the hopes more folks will add more wishes.

So far, these wishes are great!  I love conversations like this.  :slight_smile:

Seen as this is something causing me issues at the moment (and multiple hacky code solutions)

  1. Particle emitters to respect their group when absolutely positioned (see Slack chat on this).

  2. Particles to be automatically resized when their container group is resized.

Whilst we are at it… a particle emitter editor in Core (other environments have this), we shouldn’t have to guess values and/or use websites other apps to simulate what is a core part of modern dev.

I still have a couple of wishes  :wub:

  • More code snippets/modules available. I always start to write them, bit then they blow up into something too big. Things to get people started like open a database, write data, get data, close database. 
     
  • Looking forward to Marketplace V2
     
  • Official map support would be nice, but I get that its tricky when things like Tiled change! On top of that, isometric support would be nice :slight_smile:
     
  • Of course, 3D would be nice :) 

@sgs,

Are aware of my Particle Editor  ==>  https://roaminggamer.github.io/RGDocs/pages/RGPE2/

While it isn’t part of the Core package, I did write it in Corona and you can run it in the simulator.  

Note: I haven’t tested it recently, and I’ll try to do  so soon to be sure no bugs have crept in (via SSK2 changes)

Note2:   Ignore the docs statement “Requires SSK Pro”  That is wrong. 

You can get the Tool here: https://github.com/roaminggamer/RG_FreeStuff/raw/master/SSK2/tools/rgpe2.zip

You can get SSK2 Here:  https://github.com/roaminggamer/SSK2 (or direct download)

step5.jpg

What I’d really like to make is a live-editor that would allow you to tweak values in-game… but that would require a whole pipeline around it for level creation, reloading, et al.  So I think that won’t be happening soon.

@graham, I do isometric and have done for years in Corona.  PM me if you need help with this

Regarding 3D:

If I had this sort of thing available, I could easily see myself making a 3D framework (I did, after all, mention it among the possibilities). I’ve implemented them before; it’s a matter of display hierarchy timing and use of the hardware, rather than know-how.

I do have a software-based polygon renderer (z-buffer and all), but haven’t submitted it as a plugin since it seems to cause simulator crashes on some relaunches (but only on Windows 7, not Mac or Windows 10… or maybe it’s a laptop issue). (I did file a bug report but haven’t heard back on it. Might be ticket #10434840, though I seem to remember the numbers being lower.) I brought this up in some post a long time back, but don’t remember which one.

Of course, if the timing and integration with the display hierarchy isn’t an issue, approaches like Scott Harrison’s SceneKit wrapper are a fine way to go.

My wish for Christmas is a car :’( I even hinted my wife that i want a Subaru Impreza 2011 for sale, I even left the link on the laptop screen on purpose so my wife can see it (https://carfromjapan.com/cheap-used-subaru-impreza-for-sale-year2011)

And I got a microwave for Christmas… :’( :’( I cannot drive a microwave to work honey…

In case if someone want to use Corona SDK on Ubuntu Linux here’s some step by step tutorial:

https://jacekk015.gitbooks.io/corona-skd-on-ubuntu-16-04/content/

I’d like a basic 3D engine and then I’d be happy

oh and masking images to not be such a performance hit (apparently that is coming)

oh and to be able to compile for nintendo switch!