on
25-04-2012
09:15 PM
- last edited on
08-06-2012
12:54 PM
by
EggUdon
PlayStation Studio SDK Tutorial 1: Hello World
PlayStation Mobile SDK Development content
This tutorial is the manditory Hello World tutorial, it covers ( with lots of detail )how to find your way around PSSuite, how to create a new solution, create the (required) app.cfg file, add references to your project and finally how to execute your game. If you just downloaded PS Studio and are trying to get up and running, this should be a good place to start.
The code itself simply creates a textured full screen sprite saying, you guessed it, "Hello World". This project makes use of GameEngine2D. After reading it you should be able to create, configure and run projects using PS Studio, as well as write the code that creates images, sprites and textures, as well as understanding the very basics of what GameEngine2D does.
Hope it proves helpful to some of you, and please let me know if you encounter an error or any sort of problem.
on 26-04-2012 10:55 PM
Part 2 is now up.
This tutorial builds on the first tutorial, and illustrates how to manually create your game loop and using the gamepad in various ways to rotate and scale your sprite.
![]()
Of course, if you have any questions or see any mistakes, please let me know!
on 28-04-2012 09:37 PM
Thanks for the tutorials! I do have a question for you.
In my AppMain.cs, there are some codes already in there that I didn't see in your example. It looks like below:
while (true) {
SystemEvents.CheckEvents ();
Update ();
Render ();
}
}
public static void Initialize ()
{
// Set up the graphics system
graphics = new GraphicsContext ();
}
public static void Update ()
{
// Query gamepad for current state
var gamePadData = GamePad.GetData (0);
}
public static void Render ()
{
// Clear the screen
graphics.SetClearColor (0.0f, 0.0f, 0.0f, 0.0f);
graphics.Clear ();
// Present the screen
graphics.SwapBuffers ();
}
}
}
Should I keep this code? Or can I delete them?
on 28-04-2012 09:43 PM
on 29-04-2012 12:39 AM
You can delete them. When using GameEngine2D, those methods are handled slightly differently.
on 30-04-2012 11:57 PM
I updated to have a single landing page for all tutorial content.
Also added another two part tutorial, mentioned in this thread, covering importing from Blender to PS Suite.
on 01-05-2012 02:01 PM
Thanks TheRealSerapth. Found it really interesting! ![]()
on 02-05-2012 12:04 AM
Nice work for beginners. Thank you.
on 03-05-2012 11:32 PM
I ahve added you tutorials to the Wiki: http://playstationsuite.wikia.com/wiki/Tutorials#G
BTW, great Tuts, they helped get me started. It's so similar to Cocos2D, its nice ![]()
on 06-05-2012 06:30 PM
finder39 wrote:I ahve added you tutorials to the Wiki: http://playstationsuite.wikia.com/wiki/Tutorials#G
ameEngine2D
BTW, great Tuts, they helped get me started. It's so similar to Cocos2D, its nice
Nice thanks!
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を一度ログアウトし、再度ログインしてください。


Website ©2013 Sony Computer Entertainment Europe
All content, game titles, trade names and/or trade dress, trademarks, artwork and associated imagery are trademarks and/or copyright material of their respective owners. All rights reserved. [more info]
%%http://community.eu.playstation.com/t5/Announcements/Beta-Trial-Information/td-p/11386362
best_shooter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_driver.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_performer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_footballer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_fighter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_creator.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_action_player.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
dev2.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Producer-and-Developer-Ranks/td-p/18407352
trophy.gif%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/The-Community-Awards-FAQ/td-p/18407096
PSlogoSM.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Online-Support-Coordinator-rank/td-p/18414870