- Joined
- Oct 5, 2010
- Messages
- 260
- Reaction score
- 109
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
You must be registered to see links
- 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...
- Register system: 0%
- [STRIKE]Room effects (Disco Room): 0%[/STRIKE]
- Avatar sit: 0%
- Avatar with drink: 0%
You must be registered to see links
Load Arena Snippet [SERVER]:
Add Avatar Snippet [CLIENT]:
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();
},
Attachments
You must be registered for see attachments list
Last edited: