Mobiles Disco - HTML5 | WebSockets | Python | JavaScript | jQuery

Status
Not open for further replies.
Socius Decennalis
Decennium
Joined
Oct 5, 2010
Messages
260
Reaction score
110
ljYJu67 - Mobiles Disco - HTML5 | WebSockets | Python | JavaScript | jQuery - RaGEZONE Forums

Hello guys,
Some time ago I started to edit the Jabbo Project, improved the whole project and after much work I just decided to create a Habbo in HTML5 was not what I really wanted. A few weeks later I started to create another set, also with HTML5, but there creativity went downhill. Then, after a few other weeks I had a great idea. Recreate the Mobiles Disco all from scratch, this time in HTML5, with WebSockets, JavaScript, jQuery and server in Python. The project is well underway, soon will open a Mobiles Disco Server.

Project Info:
  • Project Name: Mobiles Disco
  • Front-End: HTML5, JavaScript and jQuery
  • Back-End: Python with
Our features:
  • CMS: 100%
  • SSO Login: 100%
  • Avatar Imaging: [STRIKE]10%[/STRIKE] 25%
  • Walking: 65%
  • Bots: [STRIKE]8%[/STRIKE] 80%
  • Chat: [STRIKE]70%[/STRIKE] [STRIKE]90%[/STRIKE] 99%
  • Room effects (Disco Room): [STRIKE]90%[/STRIKE] 99%
  • A loooooot of things need improvements...
Missing features:
  • Register system: 0%
  • [STRIKE]Room effects (Disco Room): 0%[/STRIKE]
  • Avatar sit: 0%
  • Avatar with drink: 0%
Screenshots:
CMS Screenshots:
6CtYbeo - Mobiles Disco - HTML5 | WebSockets | Python | JavaScript | jQuery - RaGEZONE Forums
U2SSCZL - Mobiles Disco - HTML5 | WebSockets | Python | JavaScript | jQuery - RaGEZONE Forums
bzLW5Ak - Mobiles Disco - HTML5 | WebSockets | Python | JavaScript | jQuery - RaGEZONE Forums
Z4tMEb1 - Mobiles Disco - HTML5 | WebSockets | Python | JavaScript | jQuery - RaGEZONE Forums
Snippets:
Load Arena Snippet [SERVER]:
PHP:
def load_arena(self, user_id, arena_id):
        if arena_id in Arenas_Data:
            self.user_enter_arena(arena_id, user_id)
            self.load_users_in_arena(arena_id)
            self.write_line('[ROOM] USER ID: %s entered ROOM ID: %s' % (user_id, arena_id))
            if arena_id == 0:
                self.load_bot_in_arena()
        else:
            print 'Could not load this arena id.'

Add Avatar Snippet [CLIENT]:
PHP:
addAvatar: function (avatar_id, avatar_name, avatar_figure, avatar_about, pos_x, pos_y, dir) {
        $('#room_avatars').append('<div id="avatar' + avatar_id + '" class="avatar" style="width: 0px; height: 0px; position: absolute; background-image: url() no-repeat;"></div>');
        $('#avatar' + avatar_id).data('id', avatar_id);
        $('#avatar' + avatar_id).data('name', avatar_name);
        $('#avatar' + avatar_id).data('figure', avatar_figure);
        $('#avatar' + avatar_id).data('about', avatar_about);
        this.updatePos(avatar_id, pos_x, pos_y, dir, true);
        this.enableAvatarEvents();
    },
 
Last edited:
Are you going to make the source public any time soon?

I'm getting tired of people posting developments and keeping the source code to themselves.
 
Are you going to make the source public any time soon?

I'm getting tired of people posting developments and keeping the source code to themselves.

Well, for now I will not post anything about the source or something. I will continue to develop and open a server as well as possible, and then, after much improvement will think about the possibility of leaving the source open to all.
 
I don't agree with the whole 'no source snippets' policy on this thread.
IMO, if you really want people to follow your development and get into it, its always good to upload source snippets.
You'll get help on what you should/shouldn't use and it will keep faith restored in everyone subscribed.

Don't take the wrong path with this.
 
I'm wondering about the Python framework you're using for the web back-end care to share what framework you're using? :) If you're ever looking for something fun to work with CherryPy is amazing.

I'm using only Simple Framework (only for websockets)... :)

 
Last edited:
I'm not using Python for back-end, it's only for the server. My back-end is basically HTML5 and JavaScript :)

Server == Backend...

HTML5 and JavaScript are not back-end that's front-end lol Back-end is the code the player cannot see... Front-end is what they can see... Either way you never answered my question about Python...
 
Status
Not open for further replies.
Back