Page 7 of 9

Re: Prince Of Persia.net written in C#

Posted: October 8th, 2014, 2:17 pm
by polipo
Dear,
i still finish some optimization into PoP.net use this preview link for download it

http://we.tl/t4smGkEeEs

Re: Prince Of Persia.net written in C#

Posted: October 9th, 2014, 11:21 am
by polipo
A start of a new project.....
I''m plan to start another project from the PoPnet source, it will be a platform game 2d like PoP with new resolution 1280x800 (X2 the original PoP res), the first release will be on Android in "free" payment, next i will think about some payment for gain day-life.
Question: But the PoP will be discontinued ??!? NO, the engine will be the same, i plan to release a free open source pc/linux version and hide the portable versions.
Already the PoPnet is playable on Android, i have tested the Samsung Galaxy tab 2, but i cannot publish for copyright laws: names, graphics taked by J.M. the only solution is.... change it.

The "Prince Of Non" now is only a name and some ideas, for this reason i have maked a new post,
see viewtopic.php?f=69&t=3558

Thanks
Andrea Falappi

Re: Prince Of Persia.net written in C#

Posted: October 9th, 2014, 1:53 pm
by David
polipo wrote:Dear,
i still finish some optimization into PoP.net use this preview link for download it

http://we.tl/t4smGkEeEs
Could you please make a version that does not require DirectX 11?
MonoGame has a version/option that uses OpenGL instead.
http://community.monogame.net/t/windows ... irectx/459

Re: Prince Of Persia.net written in C#

Posted: October 9th, 2014, 11:28 pm
by salvadorc17
Question: But the PoP will be discontinued ??!? NO, the engine will be the same, i plan to release a free open source pc/linux version and hide the portable versions.
Already the PoPnet is playable on Android, i have tested the Samsung Galaxy tab 2, but i cannot publish for copyright laws: names, graphics taked by J.M. the only solution is.... change it.

The "Prince Of Non" now is only a name and some ideas, for this reason i have maked a new post,
see viewtopic.php?f=69&t=3558
You have been asked about copyright laws???? becuase for example pop sld open source has not problems with that as far as i know, you want to start a new one also that means this one will not have code optimization and other stuff?

Re: Prince Of Persia.net written in C#

Posted: October 10th, 2014, 10:45 am
by polipo
Dear,
Prince Of Persia is copyrighted, i'm not an expert in copy laws but the trademark "Prince Of Persia" is under US copyright and i think all material graphics and sound.
You can pubblish into opensource world for Win and Linux BUT you can't on mobile devices.
Salvador dont worry, the engine will be the same for PoP an PoN all new feature will be on both game.
This is only a preface of starting the PoN, i must complete some missed feature's in PoP, for example some animation like jump and grab ...

My goal is to pubblish on mobile world, PoP net can be done, but PoN can.
Could you please make a version that does not require DirectX 11?
MonoGame has a version/option that uses OpenGL instead.
Initially i have used OpenGL (OpenTK library), after i moved on DirectX
Do you prefer OpenGL ? why ?

PS Make a copy of the project with OpenGL isnt a problem i must change only a reference for the Monogame.dll

Re: Prince Of Persia.net written in C#

Posted: October 10th, 2014, 12:19 pm
by David
polipo wrote:Do you prefer OpenGL ? why ?
Because I can't run the DirectX version on Windows XP.
It wants to load Direct3D11 even if the game does not use it.
Someone wrote about this here: http://community.monogame.net/t/framewo ... tions/1086
But if that page is right, then OpenGL also has problems.

Re: Prince Of Persia.net written in C#

Posted: October 13th, 2014, 10:32 am
by polipo
Yeah confirm all.
I will post today on codeplex the opengl and directX version see
https://princeofpersia.codeplex.com/

Re: Prince Of Persia.net written in C#

Posted: October 20th, 2014, 1:25 pm
by polipo
New XML format preview...

<?xml version="1.0" encoding="UTF-8"?>
<Level xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-

instance">

<levelName>dungeon_prison</levelName>
<description>bla bla</description>
<index>1</index>

<room number="1">

<Block>
<sprite Type="guard" direction="FlipHorizontally" skill="5" energy="3" color="00FF00">
<tile Type="floor">
</Block>

<Block>
<sprite Type="sword" direction="FlipHorizontally" color="000000"> <!--#000000 default-->
<tile Type="floor">
</Block>

<Block>
<sprite Type="kid" direction="FlipHorizontally">
<tile Type="floor" state="brick">
</Block>

<Block>
<tile Type="door" state="opened" switchButton="8">
</Block>


...

<links down="2" up="0" right="0" left="5"/>
</room>




</Level>

Re: Prince Of Persia.net written in C#

Posted: October 21st, 2014, 12:18 am
by salvadorc17
You are merging all rooms in the same level???

Also how do you deserialize this, the subitems from the element?

<sprite Type="guard" direction="FlipHorizontally" skill="5" energy="3" color="00FF00">

Re: Prince Of Persia.net written in C#

Posted: October 21st, 2014, 9:14 am
by polipo
Yes,
each level contains all room structure,
and the sprite and the other will have on same xml element some parameter.

Re: Prince Of Persia.net written in C#

Posted: October 28th, 2014, 8:50 pm
by salvadorc17
Some new fixes - Source updated
You have any news about this???

Re: Prince Of Persia.net written in C#

Posted: October 29th, 2014, 9:47 am
by polipo
See on my blog

Re: Prince Of Persia.net written in C#

Posted: October 31st, 2014, 11:17 pm
by salvadorc17
You have uploaded the source code with this new file format??
<room number="1">

<Block>
<sprite Type="guard" direction="FlipHorizontally" skill="5" energy="3" color="00FF00">
<tile Type="floor">
</Block>

...

<links down="2" up="0" right="0" left="5"/>
</room>
Also i want to suggest you add a leveltype property, that can be readed before loads level, to allow the program use different tileset for each level separately, (all tileset must be attached to the content)..

Re: Prince Of Persia.net written in C#

Posted: November 4th, 2014, 11:12 am
by polipo
Dear.
i think to upload the refreshed project today or tomorrow, (see on blog for latest news)
For the new file format, include the "levelType" require to include all tileset or spriteset,
it will be too big for the mobile devices like a phone, but i can implement for custumizations user.

The problem is the xna/monogame compress format, all asset are converted into "XNB" file,
you can use for avoid to recompile the Content this usefull program:

http://sourceforge.net/projects/xnbbuilder/

Bye

Re: Prince Of Persia.net written in C#

Posted: November 5th, 2014, 2:08 am
by salvadorc17
The problem is the xna/monogame compress format, all asset are converted into "XNB" file,
you can use for avoid to recompile the Content this usefull program:
I think youre missing something, users should be able to use at least 2 tileset types, that means at least it need to be those loaded, im not talking about custom, only defaults: dungeon and palace for pop 1...

Anyway good work for updating...