Search found 108 matches

by Nelvin
Sat Feb 22, 2020 10:05 am
Forum: Support and Development
Topic: Any way to get canvases to be more efficient?
Replies: 26
Views: 388

Re: Any way to get canvases to be more efficient?

It would help if you give us some numbers and more details about your canvas sizes and the nature of your game. Is it a single screen or a scrolling game (because you created your batches on load and did not change them anymore)? How many tiles per layer, size of the tiles, size of the tileset (i.e....
by Nelvin
Sun Feb 16, 2020 7:11 am
Forum: Support and Development
Topic: Object-oriented problem
Replies: 2
Views: 1784

Re: Object-oriented problem

The devil is in the detail. To call into constructors of parent classes you need to call them like so ClassB.super.new( self, x ) This is, because ClassB etc. are class instances and when you use super:new and not use the explicit self of the current scope, you call those upper constructors with the...
by Nelvin
Wed Feb 12, 2020 11:55 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 31
Views: 3576

Re: [Proposal] Better multimedia formats.

Never mind ... life's to short for these nosense.
by Nelvin
Wed Feb 12, 2020 10:22 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 31
Views: 3576

Re: [Proposal] Better multimedia formats.

I'd love to hear an actual reason with, maybe an explanation why and how something else works the same way, instead of just a phrase of opinion
by Nelvin
Wed Feb 12, 2020 8:27 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 31
Views: 3576

Re: [Proposal] Better multimedia formats.

Well IMO the actual value of such a format (if I don't get anything wrong about it in general) is that you for sure would not want to decode all the frames of an animation upfront into textures/texture atlases but on demand (code controlled) as you use the animation. As already written, think of any...
by Nelvin
Tue Feb 11, 2020 7:24 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 31
Views: 3576

Re: [Proposal] Better multimedia formats.

I can easily imagine games where such formats would be a decent option compared to regular animsheets. Like all kinds of partialbackground/layer/item etc. animations for point & click adventures, visual novels, hidden object games etc. Of course you can use every frame as a decompressed one on textu...
by Nelvin
Sat Feb 08, 2020 6:00 pm
Forum: Games and Creations
Topic: And yet it hurt
Replies: 2
Views: 1331

Re: And yet it hurt

This is such a cool and unique idea - I really like it.

No idea if it's of any use, but I instantly got reminded of https://www.gridsagegames.com/rexpaint/
by Nelvin
Fri Feb 07, 2020 5:11 pm
Forum: Libraries and Tools
Topic: [11.3] AdMob support for Android + EU Consent
Replies: 72
Views: 57795

Re: [11.3] AdMob support for Android + EU Consent

Haven't used it so far, but I hope I'll at some point. Thanks for the update.
by Nelvin
Mon Jan 27, 2020 6:19 am
Forum: Support and Development
Topic: How can I encode images into a string?
Replies: 2
Views: 366

Re: How can I encode images into a string?

You can use imageData:getString and use the result with data.encode to get a base64 encoded string. Later on just reverse the operation with data.decode and image.newImageData