Status
Not open for further replies.

Lecode

(─‿‿─)
Regular
Joined
Dec 18, 2013
Messages
490
Reaction score
676
First Language
French
Primarily Uses
N/A
@Jonforum: Saw that but you need to use "use strict". It's causing a lot of issues.
 

Zalerinian

Jack of all Errors
Regular
Joined
Dec 17, 2012
Messages
4,699
Reaction score
947
First Language
English
Primarily Uses
N/A
@Jonforum: Saw that but you need to use "use strict". It's causing a lot of issues.



Issues like what? If it's throwing errors, then it's pretty much trying to warn you that you're doing something dangerous.
 

nio kasgami

VampCat
Regular
Joined
May 21, 2013
Messages
9,000
Reaction score
3,129
First Language
French
Primarily Uses
RMMV
Issues like what? If it's throwing errors, then it's pretty much trying to warn you that you're doing something dangerous.

yeah it's not throwing any issue here neither.


on a side note


we can forget ES6 will be use in MV because most features aren't yet implemented in Browser
 

LTN Games

Indie Studio
Regular
Joined
Jun 25, 2015
Messages
709
Reaction score
645
First Language
English
Primarily Uses
RMMV
@nio kasgami Modern browsers support about 95+ % of all ES6 features. What nade you think most features were not supported? The problem is mobile devices and outdated browsers, if you want to reach all platforms and a wider audience you need to transpile your code to ES5. I would love to see ES6 in MV too, it would be a great next step and when browsers finally support ES6 modules, plugins will be a whole new story.
 

nio kasgami

VampCat
Regular
Joined
May 21, 2013
Messages
9,000
Reaction score
3,129
First Language
French
Primarily Uses
RMMV
@nio kasgami Modern browsers support about 95+ % of all ES6 features. What nade you think most features were not supported? The problem is mobile devices and outdated browsers, if you want to reach all platforms and a wider audience you need to transpile your code to ES5. I would love to see ES6 in MV too, it would be a great next step and when browsers finally support ES6 modules, plugins will be a whole new story.

I highly doubt that browser will ever support the ES6 modules evers but that's another story.


Plugin will be mostly editing ES5 because you technically can't edit a class without using the prototype ways.
 

Hudell

Dog Lord
Regular
Joined
Oct 2, 2014
Messages
3,608
Reaction score
3,892
First Language
Java's Crypt
Primarily Uses
RMMZ
ES5 is fine. It's a little lengthier than ES2015 without all the syntax sugars, but it's perfectly fine for gamedev.


Perhaps in the next RM iteration.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,035
First Language
Tagalog
Primarily Uses
RMVXA
Wow, that's full of reds for mobile
 

Zalerinian

Jack of all Errors
Regular
Joined
Dec 17, 2012
Messages
4,699
Reaction score
947
First Language
English
Primarily Uses
N/A
@nio kasgami Modern browsers support about 95+ % of all ES6 features. What nade you think most features were not supported? The problem is mobile devices and outdated browsers, if you want to reach all platforms and a wider audience you need to transpile your code to ES5. I would love to see ES6 in MV too, it would be a great next step and when browsers finally support ES6 modules, plugins will be a whole new story.



Supporting modern browsers in anything is not typically a problem, but you very rarely make anything exclusively for the newest line of products (be it graphics cards for native games, or web browsers for MV). There's always going to be backward compatibility involved because you can't expect everyone to shell out money in order to be able to play your game. Sure, updating a web browser is free, but that still doesn't mean people will do it. People are notorious for not updating things. Look at Java, for example. How often do people just close the update prompt window instead of just updating it to make it go away? And making the user perform more steps to be able to use your product is a quick and easy way to lose audience interest fairly fast. 
 

Koder

Regular
Regular
Joined
Oct 23, 2016
Messages
30
Reaction score
23
First Language
Polish
Primarily Uses
Supporting legacy browser is not exactly an issue with MV, as games come bundled with their own - compatible - browser. However, I would not consider rewrite of MV to ES6 to be worthwhile at this point.
 

LTN Games

Indie Studio
Regular
Joined
Jun 25, 2015
Messages
709
Reaction score
645
First Language
English
Primarily Uses
RMMV
Supporting modern browsers in anything is not typically a problem, but you very rarely make anything exclusively for the newest line of products (be it graphics cards for native games, or web browsers for MV). There's always going to be backward compatibility involved because you can't expect everyone to shell out money in order to be able to play your game. Sure, updating a web browser is free, but that still doesn't mean people will do it. People are notorious for not updating things. Look at Java, for example. How often do people just close the update prompt window instead of just updating it to make it go away? And making the user perform more steps to be able to use your product is a quick and easy way to lose audience interest fairly fast. 

This is precisely why i mentioned transpiling. I dont expect many people to have latest browsers and technology. I only mentioned ES6 compatability because Nio thought most browsers dont support it when in fact most browsers including a few older versions support over 90% of ES6, the largest problem is mobile browsers and support. It would be awesome to start using all features, I could care less if MV rewrites it or not because I can start writing ES6 either way and it still work find as long as i transpile and dont use modules.
 

Zalerinian

Jack of all Errors
Regular
Joined
Dec 17, 2012
Messages
4,699
Reaction score
947
First Language
English
Primarily Uses
N/A
I'd rather have code I can understand in ES5 than the crap that comes out of a transpiler.
 

LTN Games

Indie Studio
Regular
Joined
Jun 25, 2015
Messages
709
Reaction score
645
First Language
English
Primarily Uses
RMMV
I'd rather have code I can understand in ES5 than the crap that comes out of a transpiler.

Lol it is definitly ugly, you will always have the main ES6 file though , just when its ready to be released and you want full compatability you can transpile it. Right now though most features work with nwjs so you dont need to transpile it for testing and even if you did sourcemaps will have you covered. I only wrote one plugin with ES6 and it was pretty fun but as you mentioned its easier and more manageable to have readable ES5 code. 
 

nio kasgami

VampCat
Regular
Joined
May 21, 2013
Messages
9,000
Reaction score
3,129
First Language
French
Primarily Uses
RMMV
Lol it is definitly ugly, you will always have the main ES6 file though , just when its ready to be released and you want full compatability you can transpile it. Right now though most features work with nwjs so you dont need to transpile it for testing and even if you did sourcemaps will have you covered. I only wrote one plugin with ES6 and it was pretty fun but as you mentioned its easier and more manageable to have readable ES5 code. 

peoples are lazy and want to have straight forward for when it's about game dev and I can say ES5 transpiled code is annoying and peoples doesn't want to have to install or learn how to compile their code.


you will see how peoples are lazy.
 

Lecode

(─‿‿─)
Regular
Joined
Dec 18, 2013
Messages
490
Reaction score
676
First Language
French
Primarily Uses
N/A
Issues like what? If it's throwing errors, then it's pretty much trying to warn you that you're doing something dangerous.

Oh, nothing serious. JShint was yelling that stuff like $gameMap wasn't defined. Searched how to exclude


RM objects for a while but found nothing so I just gave up to use strict mode x).


That's so unfortunate. I would love to use ES6 arrow functions.
 
Last edited by a moderator:

RCDeschene

Villager
Member
Joined
Oct 24, 2015
Messages
10
Reaction score
0
First Language
English
Any word on the updates with the Child generator options? How about the music/graphic errors?
 

RCDeschene

Villager
Member
Joined
Oct 24, 2015
Messages
10
Reaction score
0
First Language
English
Seriously? so the "elf ears" for adult is more important than Sound lags/ Memory leaks bugs? 


.........


you should really try to understand the prioritization of game software dev in general.

This^
 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Day #2 for advent is compiled. Please, go to their threads to share love! But, if you wanna talk to me…what’s your favorite Christmas carol or holiday song?

WIP of Sheila Williams new Menu Status Artwork
Though I'd take a break from all the eventing and database stuff to draw some more

Screenshot 2023-12-02 145142.png
Screenshot saturday!

Granny's home

Happy weekend all

home.png
Would an older woman be eligible for Blondus points?
Or is that a privilege exclusive to the youngsters?
Lindsey-Neutral.png

Forum statistics

Threads
136,691
Messages
1,268,799
Members
180,403
Latest member
Gremoooroo
Top