Suggestions

Code Highlighting on the forums

by varo_mix on ‎26-06-2012 01:28 AM
 Hey Guys

 

I guess we all agree that the CODE tag here is not as COOL :robothappy:

can we do something about it?

 

public void Delay(int ms)
		{
		    int time = Environment.TickCount;
		
		    while(true)
		        if(Environment.TickCount - time >= ms) return;
		}
		

 

something like this would be cool

 

 

  1. public static void Update ()
  2.         {
  3.             // Query gamepad for current state
  4.             var gamePadData = GamePad.GetData (0);
  5.                
  6.         }
  7.  
  8.         public static void Render ()
  9.         {
  10.             // Clear the screen
  11.             graphics.SetClearColor (0.0f, 0.0f, 0.0f, 0.0f);
  12.             graphics.Clear ();
  13.  
  14.             // Present the screen
  15.             graphics.SwapBuffers ();
  16.         }
Announcements

Welcome to the PlayStation Mobile Developer Forums


This is a community for the discussion of technical topics with other developers and SCE engineers. Posting ideas/requests are also appreciated. Join the discussion!

PlayStation®Mobile開発者フォーラムでは世界中の開発者の皆様と一緒に、議論や情報交換が可能です。SCEも議論に参加し、皆様の開発をサポートします。アイデアやリクエストも大歓迎です。ぜひご参加ください。

PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.

フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと PSM DevPortalを一度ログアウトし、再度ログインしてください。






Labels