Graphics

Reply

Member

Member
kruemel42
Posts: 1
Registered: ‎09-05-2012
Message 1 of 8 (409 Views)

2D scrolling - how to ?

I am looking for samples on how 2D scrolling. e.g. typcial side-scroller game is done.

Any hints?

 

Thanks

Please use plain text.

Re: 2D scrolling - how to ?

I do a bit of 2d scrolling in this project:

https://github.com/artwallace/PssFramework

Please use plain text.

Re: 2D scrolling - how to ?

Hi kruemel42

There are different ways that you can do this, some of which are documented here:
http://en.wikipedia.org/wiki/Side-scrolling_video_game

In addition to looking at YstadYakuza's link, you could also look at the ActionGameDemo that is in the GameEngine2D samples, as this implements some level of side scrolling (although not for very far).
PlayStation®Mobile Dev Team
Please use plain text.

Level 1

Level 1
asdfADRIAN
Posts: 36
Registered: ‎15-05-2012
Message 4 of 8 (299 Views)

Re: 2D scrolling - how to ?

How do I add the custom "PssFramework" as a reference to the Demo file? When I first open Demo, it said "Reference Ignored" and I cant run it because I dont know how to link a reference from the Demo project to the PssFramework project.

 

Please help!

Come join The Freenode IRC at Channel #pss-dev!

I am merely a graphics designer who wants to program, go figure.

Please use plain text.

Re: 2D scrolling - how to ?

Hmm... the code I provided should already have a reference in the Demo project to the PssFramework project. But if it doesn't, go the Demo project in MonoDevelop, right click on the "References" item and select "Edit References...". From there, go to the "Projects" tab and tick the "PssFramework" project.

Please use plain text.

Level 1

Level 1
asdfADRIAN
Posts: 36
Registered: ‎15-05-2012
Message 6 of 8 (283 Views)

Re: 2D scrolling - how to ?

Well I put the download zips onto my desktop. I dont know exactly where the "Projects" directory is. I even placed the PSSFramework into My Documents/Projects and it still doesnt show up.

 

What is the particular  folder directory? Because when I do edit References and go to Project, the selection is empty and I cant browse for the path directory.

 

Sorry, Im new to PS Suite / MonoDevelop

Come join The Freenode IRC at Channel #pss-dev!

I am merely a graphics designer who wants to program, go figure.

Please use plain text.

Re: 2D scrolling - how to ?

C# solutions are divided into projects. My solution has two projects, "Demo" and "PssFramework". The Demo project should already include a reference to PssFramework.

 

"PssFramework.sln" is the solution file that you should be opening. It will then open up the two included projects.

Please use plain text.

Level 1

Level 1
asdfADRIAN
Posts: 36
Registered: ‎15-05-2012
Message 8 of 8 (261 Views)

Re: 2D scrolling - how to ?

Oh how emberassing. I got it now, thank you!

Come join The Freenode IRC at Channel #pss-dev!

I am merely a graphics designer who wants to program, go figure.

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