General

Reply

Getting Started Tutorial

[ Edited ]

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.

Please use plain text.

Re: Getting Started Tutorial

Part 2 is now up.

 

 

Hello World 2: Hello Harder.

 

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!

Please use plain text.

Member

Member
ayayabon
Posts: 1
Registered: ‎28-04-2012
Message 3 of 29 (4,477 Views)

Re: Getting Started Tutorial

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?

 

 

Please use plain text.

Member

Member
ImHHK
Posts: 3
Registered: ‎27-04-2012
Message 4 of 29 (4,473 Views)

Re: Getting Started Tutorial

Thanks , it's what i need now lol.
Please use plain text.

Re: Getting Started Tutorial

You can delete them.  When using GameEngine2D, those methods are handled slightly differently.

Please use plain text.

Re: Getting Started Tutorial

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.

Please use plain text.
MVP
jr2-d2
Posts: 10,665
Registered: ‎27-06-2010
Message 7 of 29 (4,259 Views)

Re: Getting Started Tutorial

Thanks TheRealSerapth. Found it really interesting! :Wink:

Please use plain text.

Re: Getting Started Tutorial

Nice work for beginners. Thank you.

artistsmeetprogrammers.com
Please use plain text.

Re: Getting Started Tutorial

I ahve added you tutorials to the Wiki: http://playstationsuite.wikia.com/wiki/Tutorials#GameEngine2D

 

BTW, great Tuts, they helped get me started. It's so similar to Cocos2D, its nice :smileyhappy:

Please use plain text.

Re: Getting Started Tutorial


finder39 wrote:

I ahve added you tutorials to the Wiki: http://playstationsuite.wikia.com/wiki/Tutorials#GameEngine2D

 

BTW, great Tuts, they helped get me started. It's so similar to Cocos2D, its nice :smileyhappy:


 

Nice thanks!
Please use plain text.
This widget could not be displayed.
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を一度ログアウトし、再度ログインしてください。






Recent News