Help - Search - Members - Calendar
Full Version: RPG JS: Your online RPG on your browser
RPG RPG Revolution Forums > Game Engines > RPG Maker 2000 / 2003 > General Game Engines Discussion
Sama Rium
RPG JS: Your online RPG on your browser


Information

Author: Samarium
License: GPL
Languages: English, French
Release Date (for initial use): End of March

Introduction

- RPG JS is a framework to achieve RPG browser. Please note, you must have a minimum of programming knowledge to use the framework even if it greatly facilitates the task (scrolling, collision, motion ...)

- RPG JS uses the HTML 5 and Javascript. It builds on the framework EaselJS for manipulating bitmaps, sprites, etc..

- A script on RPG Maker XP can convert a Map to RPG JS

- Browser Compatibility: IE9, Google Chrome, Firefox> = 3.5, Safari> = 4.0, Opera> = 10.5

Benefits

I found several advantages:
- No need to download
- Ability to link with a database (with Ajax requests) and record scores for example (not implemented in the framework)
- Ability to link with other contents of the site (see the bars of life outside the game ...)
- Ability to play with the mouse
- Added non-existing commands on RPG Maker
- Integrated Tactical RPG
- Possible evolution (towards MMORPG)
- Play on iPhone / IPAD / Archos ...
- Open Source

Operation

RPG JS uses the same structure as RPG Maker. You load a Map showing properties (Tileset, Music ...) and nothing else. In fact, you also specify events in the Map. Next you create events with an appearance of the pages and controls event. You can find the switches, local switches and common commands such as displaying a message, moving a character, etc..

For now, some commands have been programmed.

Take an example:

CODE
var rpg = new Rpg("canvas");
rpg.loadMap('Map007', {
   tileset: '006-Desert01.png',
   events:  ['Event02'],
   player:  {x: 14, y: 11}
}, mapLoad);


In a nutshell, you load a map. Resources are the same types of file that RPG Maker XP ("Graphics/Tilesets" for example)

The event "Event02", This is a file in "Data / Events" which includes cleanliness of the event (see above)
A English documentation will be present.

Screenshots:

In the order of images:
1) Single display (based on an RPG)
2) Interaction with events
3) Tactical RPG with your mouse (even with a slight defect in overlays)

Screenshots






Additional Details

Late March, the first version released. But he surely will miss several elements from RPG Maker. But the framework is comprehensive enough to make a simple RPG.
stripe103
Looks really cool! Just don't make an exact copy of RMXP so you don't get any issues with Enterbrain being mad that you provide a free version of a program that they have, and with the possibility of having it online as well. But other than that, I really look forward to see this project evolving. biggrin.gif
Sama Rium
Thank you

Graphic resources for RPG Maker XP are free right? (I think because the license authorizes the sale of RPG Maker games: /)

Otherwise, RPG JS guard even thought of creation as RPG Maker, but its design is different.
stripe103
Actually, when you think about it, graphics rescourses aren't free. You pay for them when you buy RPG Maker and, sure you can release the game free, but if you want to earn money on it, you most probably will encrypt the game somehow, which makes the rescourses unavailable to the player. There are crackers out there, but it don't matter since, if you really try, you can get into any game and change it and steal resources from it. Of course you do as you want, but if you don't want any problems, I'd suggest that you at least contact Enterbrain and ask them, just in case.
Kread-EX
Yeah, no you can't provide the RTP with your framework.
kraz007
Sounds very interesting. We're developing an online RPG using HTML5 and JavaScript as well.

Click to view attachment
storm020
Can you convert games straight to work with this system then?

Does this mean games can be hosted online through a website?

I'm the creator of www.valhira.com and am very interested in what this mean smile.gif
Gaurav
Hi, this is not exactly a new idea. I've also been working on an open source HTML5 RPG. You can see the wip demo and the source code. I invite anyone interested to help me turn it into the first complete game/framework. Since you are using a compatible license, maybe we can steal some code from each other. smile.gif

screenshot
Sama Rium
QUOTE
Can you convert games straight to work with this system then?


No, you can convert only the map. But the structure of RPG JS allows (in the future) also convert events.

QUOTE
Does this mean games can be hosted online through a website?


Yes, very easily.

@Gaurav: Yes, this is not a new idea. The originality of this project is mainly to use the editor of RPG Maker to create a game

Since my last post, RPG JS has:

- Views of autotiles
- Adding actions :
For example, allowing the hero to give a sword when you press a button, to defend himself with a shield, etc..
- Action Battle System
- Animations

In my opinion, the framework is comprehensive enough to manage maps, events, objects, etc.. For example, you can give the various movements in an event: random, approach the heroes follow a particular path (A* pathfinding) ... two methods for scrolling are present, the possibility of using the mouse, display windows reusing the windowskin RPG Maker, view life bars, etc..
storm020
This is going to take a long time to get to a stable state to which rpg maker can be used with this right? Or are you coding quite fast?

I'm really interested in this
Sama Rium
Yes, I program pretty quickly. Normally, a first outlet will be held late March (early April ?) and with English documentation

Screenshot of the combat in real time (thank you for benben resources) :

Geri
cute

Please add more to your post. One word replies are considered spam. ~Kread
storm020
Are you doing this for fun or...?

btw, printscreens looking awesome!
Sama Rium
Yes, yes, just for fun.
storm020
Keep us updated smile.gif Any news?
Sama Rium
Global information

1) The output of a first version was postponed to April 10, 2011

2) Following several MP received, I said that I will not attend other projects MMORPG. I'm focusing only on the framework RPG JS that allows you to deploy your own RPG (and MMORPG the future) browser.

News

1) The performance tests were performed. Lags are present for maps of larger sizes. Following this issue, the display algorithm has been redesigned. Now, only the part visible screen is displayed. This means that maps gigantic (for example, and in theory because RPG Maker does not allow: 2000 * 2000 tiles) can be created without any lag.

Here is a test performed on a computer:
- Processor: 2 GHz
- RAM: 2 GB

Browsers. Tested on more than 25 FPS, a game screen 640 * 480px (same that RPG Maker XP), 3 sets of overlays (such as RPG Maker) and each tile is 32 * 32px. 20 FPS is correct. FPS on average:
- Internet Explorer 9: 24 FPS
- Firefox 4: 22 FPS
- Google Chrome 10: 25 FPS
- Safari 5: 23.5 FPS
- Opera: 25 FPS
- Maxthon 3 Beta: 25 FPS

No problems reported from this side now.

2) A feature is being added: the possibility of dynamically create an event from another event. It
to say ? The very simple case: a bomb on the ground as Zelda. An event will be automatically generated on the card according to the positions of player. The bomb will be placed next to the player.
The special is to give a real movement and an area Attack
- The actual movement differs from the simple displacement. The latter is a moving cell by cell. To move to a position N, the hero will do a step down, step right, etc.. The actual movement is simply a shift from point A to point B. Interest is give a clearer path, acceleration
- The area of ​​attack. As its name suggests, everything is around event may be affected (hit points down). it serves especially for real-time combat. For example, a skill is launched. The event generated displays an animation of the enemies and attack in the attack zone are affected.

3) Some improvements have been made: on the box of melted dialogue, animation attached to an event, etc..

Those are some news. The next will be accompanied by a new video. it will be more telling than the sentences above.
Jordan500k
Can't wait for this to come out!
It seems like something I would enjoy every day. laugh.gif
Sama Rium
Hello,

New !

After several news explaining some features of RPG JS. Here is a video showing you the practical framework:



http://www.youtube.com/watch?v=M60VdGlLfQg


Note

The RPG Maker XP animations can be exported. At the exit of RPG Alpha JS, 100 animations RPG Maker XP is available.
Sama Rium
Hello,

Here is the official website of the framework:

http://rpgjs.com
Mirror site : http://rpgjs.rpgcreative.net
gRaViJa
Great work, i use html5 and JS for webdesign, but projects like this show the true potential of these langauages. Only qyestion i have: some people have javascript turned off, so they won't be able to create games or play games from others. How are you handling this? With some kind of message i presume to turn JS back on?

And how does the "import rmxp" function work? Can any rmxp game be transformed into a rpg js game or can maps only be imported?
Sama Rium
Hello,

QUOTE
How are you handling this? With some kind of message i presume to turn JS back on?


If the user has disabled JavaScript, he was invited to activate.

QUOTE
And how does the "import rmxp" function work? Can any rmxp game be transformed into a rpg js game or can maps only be imported?


For now, only the maps and animations can be imported into RPG JS
espen
About when on the day will you release it? How does the editor work, like does one have to code where npc go or is a tool or something simmilar to make this easier?
Sama Rium
Version will be released today. For events, we must define parameters in Javascript. Later, it will be possible to import events RPG Maker XP to RPG JS
espen
I cant see a download link anywhere. Where do i download it?
Sama Rium
Sorry, I misspoke. Version will be released today
espen
QUOTE (Sama Rium @ Apr 10 2011, 05:07 AM) *
Sorry, I misspoke. Version will be released today

Ok, everyone can make mistakes. How many hours till release do you think?
juelpatwary
What time will it be released?
Kread-EX
Today. Please read the posts before replying. As for the exact hour, who cares? Waiting a bit won't kill.
BlitZa
It will.. - I feel like a big kid waiting for icecream haha..
Sama Rium
Hello,

The Alpha version is available on http://rpgjs.com

If you have problems, you can advertise on the page Github:
https://github.com/RSamaium/RPG-JS
BlitZa
Is there an editor for it?
Sama Rium
Hello,

The editor is RPG Maker XP. You have a script in the folder "rmxp" . Read the "readme.txt" file for use
espen
I am having problems with the engine. The demo wont run propperly on my server. You can see for yourself here
Sama Rium
Ok, I note for future corrections

Thanks
Sama Rium
Hello,

- A new version is now available: Alpha 2. This version fixes several bugs. For the occasion, the demonstration is more complete. You have a quest to perform. This will allow you to see little more detail the possibilities of RPG JS.
- Demonstrating a contest, please vote for support the project (link below)
- The next version will normally be the Beta. The script to import Events RPG Maker XP is underway.
- tutorials on the official website are being written (in French)

Play the demo

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.