Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platformer 2d sample #1

Merged
merged 15 commits into from
Apr 14, 2014
Merged

Platformer 2d sample #1

merged 15 commits into from
Apr 14, 2014

Conversation

SimonDarksideJ
Copy link
Collaborator

Finally finished testing and polishing the Platformer 2D sample for the MonoGame 3.2 release.

Covers all currently supported (public) platforms, including:

  • Android (using MG 3.2 NuGet)
  • iOS (using MG 3.2 NuGet)
  • MacOS (using MG 3.2 NuGet)
  • Ouya (Using direct ref to source - update when testing)
  • PSM (Using direct ref to source - update when testing)
  • WindowsGL (using MG 3.2 NuGet)
  • Windows 8 (using MG 3.2 NuGet)
  • Windows Phone (using MG 3.2 NuGet)

All tested and working properly.

Windows 8 version working but has scaling issues
Windows Phone version working but has landscape issue (only in portrait) - Also had to use source and not 3.0.1 release
* Content moved under Sample
* Builder in head of project
Current builds updated with movement changes only
* WinPhone
* Win8
* WinGL
* Android
* Ouya
* Linux
* PSM

Don't have a way currently to add iOS and Mac projects so will need help with that.

Just need to finish testing each build before adding a pull but all builds at least compile and run.

2 builds though do require the source version of MonoGame (WP & PSM) so need to figure out where the samples will fit and how to reference source
Only remaining issue with with display scaling as some platforms do not auto scale and won't respond to "isFullScreen"

Pending - iOS and MacOS which will have to be hand crafted.  Will add once structure agreed
Need testing o those platforms

*ToDo - sort out scaling issue where game is not filling the screen on some platforms, probably add resolution independent render
*Note - Windows GL build is currently unable to run due to bug in Windows GL DLL, should be resolved with next NuGet update
Updated branding to all platforms for Platformer sample to MonoGame standard.

Just awaiting updated MonoGame 3.2 NuGet to finish testing and publish
…ackages

**Note, if not live then can be downloaded from http://1drv.ms/PYVJML and used in a Local NuGet repository

Otherwise they currently require the live MonoGame installer to get the references
@tomspilman
Copy link
Member

Looking thru the repo which is easier to review...

https://github.com/DDReaper/Samples/tree/Platformer2D-Sample

@SimonDarksideJ
Copy link
Collaborator Author

Yeah, the commits evolved over time. Should get easier as we add more samples.
This one is a basic smash and grab to launch the same project on all platforms.

Future samples should get more evolved and handle trickier scenarios, like files, web, more inputs, shaders, etc

@tomspilman
Copy link
Member

What is the Sample-Template for?

Also what is ContentBuilder?

@tomspilman
Copy link
Member

Should we make the samples use the MonoGame content pipeline instead of the XNA one? It would force us to fix any problems that arise. Dogfooding would be good for us.

@CartBlanche
Copy link
Contributor

To do you think it would be a good idea to make this a 2 step process? Accept this PR, then get a second PR with the MonoGame content pipeline change?

@SimonDarksideJ
Copy link
Collaborator Author

That sounds fair, then we have one checkpoint as it is and then an upgraded solution with the new pipeline.
plus I've not tried the new pipeline yet 😆

The sample template isn't crucial, I only had that to making new samples easier in the same structure.

If you want it taken out that's no worry

@tomspilman
Copy link
Member

To do you think it would be a good idea to make this a 2 step process?

Sure... the content work will take a little time to setup.

The sample template isn't crucial

Then lets remove it and i'll merge it.

@SimonDarksideJ
Copy link
Collaborator Author

Right, I'll sort that tonight

@SimonDarksideJ
Copy link
Collaborator Author

Done.

tomspilman added a commit that referenced this pull request Apr 14, 2014
@tomspilman tomspilman merged commit b5eb2d9 into MonoGame:master Apr 14, 2014
@SimonDarksideJ SimonDarksideJ deleted the Platformer2D-Sample branch April 27, 2014 17:45
@theZMan theZMan mentioned this pull request Apr 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants