Status
Not open for further replies.

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
674
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
Veteran
Joined
Dec 17, 2012
Messages
4,699
Reaction score
945
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
Veteran
Joined
May 21, 2013
Messages
8,987
Reaction score
3,120
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
Veteran
Joined
Jun 25, 2015
Messages
709
Reaction score
644
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
Veteran
Joined
May 21, 2013
Messages
8,987
Reaction score
3,120
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
Veteran
Joined
Oct 2, 2014
Messages
3,608
Reaction score
3,887
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'
Veteran
Joined
May 15, 2012
Messages
14,693
Reaction score
3,031
First Language
Tagalog
Primarily Uses
RMVXA
Wow, that's full of reds for mobile
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,699
Reaction score
945
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

Veteran
Veteran
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
Veteran
Joined
Jun 25, 2015
Messages
709
Reaction score
644
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
Veteran
Joined
Dec 17, 2012
Messages
4,699
Reaction score
945
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
Veteran
Joined
Jun 25, 2015
Messages
709
Reaction score
644
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
Veteran
Joined
May 21, 2013
Messages
8,987
Reaction score
3,120
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

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
674
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 Posts

Latest Profile Posts

I've got good news and bad news. The good news is, there aren't any bad news to report. The bad news is, there aren't any good news to report.

Or as others say, yesterday was uneventful.


I am curious that can you "understand/get the point" about what does this place do generally?
(ARPG game)
If anyone knows any C# programmers, please send them my way.
Chilling at night in a tavern.
ChillingAtTavern.png

After 'multiple breakdowns', it's finally over. 10/10 will do this again.
Ever notice that villains can reform and become better people, but heroes can only ever die... or live long enough to see themselves become villains?

Isn't that interesting?

Forum statistics

Threads
129,845
Messages
1,205,684
Members
171,009
Latest member
FoxyRealm
Top