Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-24-2012, 11:36 PM
brokk brokk is offline
Registered User
Join Date: May 2012
Posts: 84
brokk is on a distinguished road
iphone screen size

Lets say you want to make an iphone server.

What are some of the things you have to keep in mind as far as the screen size goes?
Reply With Quote
  #2  
Old 12-24-2012, 11:46 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
the resolution
__________________
Reply With Quote
  #3  
Old 12-25-2012, 12:05 AM
Unkownsoldier Unkownsoldier is offline
Ignorance has no future
Join Date: Sep 2008
Posts: 1,287
Unkownsoldier is on a distinguished road
Do you want to know about the resolution, h x w, or content-related things like how to economize your gui on the your server etc?
__________________
Look beyond the monitor.
Reply With Quote
  #4  
Old 12-25-2012, 12:07 AM
brokk brokk is offline
Registered User
Join Date: May 2012
Posts: 84
brokk is on a distinguished road
Quote:
Do you want to know about the resolution, h x w, or content-related things like how to economize your gui on the your server etc?
If you feel like going in to detail, the more I know, the better
Reply With Quote
  #5  
Old 12-25-2012, 12:49 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
- you should use as less loops as possible
- you can always set your GraalControl size to the size of an iPhone/iPad size and see if you think that the size of your guis being displayed is alright (i debug my stuff on my iPod right away on iEra; if i couldnt i probably would do the GraalControl thing)
- for weapon things: you should have enough protections that people wont lose their items but if its about to release the server, stefan will check it anyway
- enough protections added (for hacks, secured checks because of CheatEngine users, ...)

pretty much i can think of as of now
__________________
MEEP!
Reply With Quote
  #6  
Old 12-25-2012, 05:21 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Not specifically related to screen size (most of those problems are pretty obvious), but here are some quick tips I wrote out a while back:

Quote:
Originally Posted by cbk1994 View Post
There are some general common-sense guidelines for lots of players, and some specific things to keep in mind on mobile devices as well:
  • Use as few timeouts as possible. Try using scheduleevent when you need to schedule something, but avoid 0.05 second scheduled events, too.
  • Use the default movement system.
  • Avoid as much scripting as possible in level NPCs.
  • Avoid as much scripting as possible in general.
  • Set player.ani directly instead of using setAni. This only works on v6/iPhone.
  • Design everything to be run by touch.
  • Keep in mind that there are multiple mice (contact points with fingers) and use the mouse ID included in touch events.
  • Use clientstats aggressively to profile your scripts.
  • Use as few timeouts as possible.
  • Use the new transitions in v6 when possible.
  • Use as few client/clientr variables as possible. If it's only needed serverside, store it in a player. variable.
  • Avoid quirky things like joining classes to the player clientside.
  • Do as many things serverside as possible.
  • Avoid triggers where possible for things that can be done serverside entirely (e.g. healing player while in a bed).
  • Avoid abusing SQLite. With so many players, you need to be careful not to use too many queries.
  • Avoid writing to files. Use player attributes to store stuff when possible.
  • Use as few timeouts as possible.
Remember that these are guidelines and not hard rules.
__________________
Reply With Quote
  #7  
Old 12-25-2012, 03:32 PM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is just really niceMysticalDragon is just really nice
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
We have access to Iphone from Delteria but we also use a tool that sets small iPhone display and we can re-size our graal screen to the display so that we can make easy updates without having to log on the iphone server.

I guess I'll share it...


PHP Code:
function onCreated(){
 
show_iphone();
}

function 
show_iphone() {
  
this.showing = !this.showing;
  if (!
this.showing) {
    
hideimg(500);
    
hideimg(501);
    
hideimg(502);
  } else {
    
temp.poly showpoly(500, {
      
00,
      
4800,
      
480320,
      
0320,
      
00
    
});
    
temp.poly.layer 4;
    
temp.poly.alpha 0.05;


    
temp.poly showimg(501"eraiphone_movement1.png"5125);
    
temp.poly.layer 4;
    
temp.poly.alpha 0.3;

    
temp.poly showimg(502"eraiphone_movement4.png"300125);
    
temp.poly.layer 4;
    
temp.poly.alpha 0.3;
  }

P.S
It's really recommended by Stefan that you make a PC server first, Iphone servers have to be really polished.

*Edit
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.